Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp569137iog; Fri, 24 Jun 2022 09:23:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sVe8bMJgblud0EGu70t38w9fIBIruLYTuGStz2g3+m/qW5zblTMpDiHxoystUkt8DmbxEl X-Received: by 2002:a17:902:7486:b0:16a:cfc:7f49 with SMTP id h6-20020a170902748600b0016a0cfc7f49mr35522029pll.135.1656087800630; Fri, 24 Jun 2022 09:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656087800; cv=none; d=google.com; s=arc-20160816; b=RU+4CNnJiyBVrmY3aZbaN9wijj7lwXuO++YHu6HNXjttN0Z0oZ1fkDkijOXQktkxuv M4MDhruwGVo6DjPZBe5+Ur+sM0Ihx+s1a+/dP5nFwfxBWSKsJD/hkHXtiTwTQFR8Hp4Q Dm5XWWMWQ3V1J8jgs+le8ErcVSubKReGTUffHzAuLpTsuxcsdrFGdSB1fpcJaFIYjrwG lEhltOC0OwXVA6qq4xU2I567N+4xYG3tD62BLYOOV/YVCYLEccn5T5T0ruZFtcBhB6Ex c5fRlMlhzD8BWOBfZFHIWQ6QjPK0W+PeCPTRcMAtBJatqAkkXXMFw5icyVukyK6TKJNB utag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jZ0e+GQU1qsIMIpKzDT9nHI/YnFH5ImmjMa/GicDjGk=; b=asI8hYZf4g2BzsH2HjoRuKsQzvHP7u5YB47Gsh+KrCj4NRF7VpGrfq8U4BtdNV0dzs qxuF1VJm4FMlP5DsnlNpGHd6j5LygIGMP9w5blr6Qipp7mgq4W9Slimy0AjGLYfLN5Dt FN0VKMHNRLf/mLTs6gAVYDtpU9WONRRBkIZHh0WxQRoCEesGT//ISeDMv/9f6Utli3s7 9//rC3ltbnZv5qzU2IBqcv4FeP6Onv9QrfGpDaG6M+QvLW3M/a5Pt7N8ixdeLikcNiBi fKjsHsbKl1HRfJhmcZmdVPFEknuAaMxpl/kOK8ctvHDAgpmTxnOTGul47OWNHbypMi6+ htZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OJhEKwCx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a170902ea0700b0016a3a9d481csi4137295plg.373.2022.06.24.09.22.58; Fri, 24 Jun 2022 09:23:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OJhEKwCx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231162AbiFXQIY (ORCPT + 99 others); Fri, 24 Jun 2022 12:08:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbiFXQIV (ORCPT ); Fri, 24 Jun 2022 12:08:21 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9838929CA2; Fri, 24 Jun 2022 09:08:16 -0700 (PDT) Received: from notapiano (pool-98-113-53-228.nycmny.fios.verizon.net [98.113.53.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0780866017FA; Fri, 24 Jun 2022 17:08:13 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656086895; bh=KGOY/hKSjd6Fa8Gy3cPJe3LIX1aHDy62+SKTc+gQNls=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OJhEKwCxKH5CaQUTh954WJwlHVZYeXRtFfVXE2QIBRMmZ7N2GrutyjZCdOEGPRfM6 aHeFF1YHf8ADrGN+qK55wKTxMEno1UP3hpuVT01p/e2xg2O8GA1NRsJC33r7Efto3/ U7tp7icBQ4A2PSTnpKfODdpbHccrb7EdpnLQirrA+za60VqxGv19t+2mvz63GUq0zL qZE6BNBgJ5AbfC4R0baa62JmjqPu6MhczBVBN+p1Wa+V50F4VWwGsru8lnySjhaFfQ gtKxdP1rMIDyKJCYyTl+qlx3mjoIQ8tdz/R+vaZD5yglBziQ8METSLVenQu7fvMQTL bx1yGvPrmk2LA== Date: Fri, 24 Jun 2022 12:08:10 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Guodong Liu Cc: Linus Walleij , Rob Herring , Matthias Brugger , Sean Wang , Sean Wang , Zhiyong Tao , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v2 4/5] pinctrl: mediatek: dropping original advanced drive configuration function Message-ID: <20220624160810.alotw7iwvivp5zg6@notapiano> References: <20220624133700.15487-1-guodong.liu@mediatek.com> <20220624133700.15487-5-guodong.liu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220624133700.15487-5-guodong.liu@mediatek.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guodong, On Fri, Jun 24, 2022 at 09:36:59PM +0800, Guodong Liu wrote: > Function bias_combo getter/setters already handle all cases advanced drive > configuration, include drive for I2C related pins. This commit message could be improved. I suggest using the following commit message: The bias_combo getter/setter is already able to handle advanced drive configuration, which is the reason commit 353d2ef77f2b ("dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv") dropped the pull-up-adv and pull-down-adv properties from the binding. With those properties removed, there's no longer any use for the adv_pull callbacks, so drop them. > > Signed-off-by: Guodong Liu Reviewed-by: N?colas F. R. A. Prado Tested-by: N?colas F. R. A. Prado Thanks, N?colas