Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1340696rdb; Fri, 1 Dec 2023 13:33:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0a7PHH9jvgnNkr4/KuDAMheWZDqoJvKBdTPki8t4t5GchHKB6b2dJ2WYX/WfIduAeXKYJ X-Received: by 2002:a17:902:7798:b0:1d0:1562:7791 with SMTP id o24-20020a170902779800b001d015627791mr236761pll.11.1701466406155; Fri, 01 Dec 2023 13:33:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701466406; cv=none; d=google.com; s=arc-20160816; b=X30J6mbQ/1mFt+dcvnhnVtdeDUhBqwkcqnY6UEKLjWkeWMej+jC6ZZWaT0S5FoCdyN wkk4MBxet8/wA87y2dMoG97FryN9qSKAcLc0is5fwfJTn//j162ZzlNU9VdYZIuvITPx YO1BWnC3/OmAxpaLZ4IFbdSZEhS32B3OOREi8oRlNmRWht6/xrE8slmQYF97x7XsK937 I6GfJI1nVgQnVcvSUVhY5ZiYiUtotSNC7PzW6fBOexANn1zZRMYa6zrP3nk3aMILna6n fkPRsMGcHU6zlmyCl25gkOyzDAEQxzoMUfoGus19vGXdrrsnkI/UTT+pOHFhzgb5vU4V XEoA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cwzNcPJ5glR8xo40q4qUAYZ4VaNBm1FhrPOYcjsmALM=; fh=4uXvJ2pq7pjevIUittD3QgixXQgbaQ6SoM7EZZPt/Rk=; b=sOBmqPV5OuWMC7N5u1iZAhcMCR4dIQKMj9oz39mCJa8UM4HC1Ctyb6oFD31tE1n4SP Y7QKXqKYRHcDRlA+gnBrCu9nkn4c7+RmoWHN5hS4cDkKprq7PDhnoM5MtXfebYrYQGmD ZNlsi9bSIIXupXraIm2u5POTDF7Acoaj+SQSZM0kzg3WRwOBnY3DZ6bb8taYyiQ4NTNB 7+HmXPPBDiNH5rf+7zongtzbvUic/DvfAJcokeR0/RMk340plpmi11tG+zXlVk3yoB3d 2bTOPNDdB5uUZUrpig7prOil+oDEBl6v/in/NaH73s5LTcxnrtIZwMiYiBTOjUqPO1HR LCtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F31NF7i8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i18-20020a17090332d200b001cfec9dcd7fsi48294plr.408.2023.12.01.13.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 13:33:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F31NF7i8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CE89E812F473; Fri, 1 Dec 2023 13:33:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230492AbjLAVdP (ORCPT + 99 others); Fri, 1 Dec 2023 16:33:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbjLAVdO (ORCPT ); Fri, 1 Dec 2023 16:33:14 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAF5F10E5 for ; Fri, 1 Dec 2023 13:33:20 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCFC9C433C7; Fri, 1 Dec 2023 21:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701466400; bh=YtF+HG7uyHGCB80zMWlxTQc+O5fEWTNNEjS+VJTvaKs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F31NF7i8Qcu+arEuEbKWIVU5oWYsZGlTsBZSWkUo98N8FkrCPbmUOg5rOclyakcJ0 3LnY8ogh/k+x5iIATms0MN/IFMsaD6p0WE6zCIkpyYS0Zu6iibcaVGXmXU7F5WOqOh Bj5/DrPK2aUb7aWZiKvSfIHmzc4bAseovq8gQn2CPbaCrI0CTA/tT0nyQAjFEVfWg6 ZjAlQApmm1dN0GHUngQAFkbx69l0pGr1L4PAclJw6nIk++qAfKx8DhthObiN65kqrB Xk/82YE2Ctd3qRfMWarz8krvjuYStXuxNE9pgcm9vnDQyGhACJgP2siU8Bs2KPAPj7 94WVkZcZfBoEg== Date: Fri, 1 Dec 2023 13:36:47 -0800 From: Bjorn Andersson To: Tengfei Fan Cc: agross@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com Subject: Re: [PATCH v5 4/4] pinctrl: qcom: sm4450: correct incorrect address offset Message-ID: References: <20231130024046.25938-1-quic_tengfan@quicinc.com> <20231130024046.25938-5-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231130024046.25938-5-quic_tengfan@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 13:33:25 -0800 (PST) On Thu, Nov 30, 2023 at 10:40:46AM +0800, Tengfei Fan wrote: > The address offset of 0x100000 is already provided in SM4450 DTSI, so > subtract 0x100000 from the offset which used by ufs and sdc. > As Konrad points out, please fix the broken patch, don't add a separate fix in the same series. > Suggested-by: Can Guo We unfortunately don't have a way to give credit to those providing review feedback, so omit this when fixing patch #2. Regards, Bjorn > Signed-off-by: Tengfei Fan > --- > drivers/pinctrl/qcom/pinctrl-sm4450.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-sm4450.c b/drivers/pinctrl/qcom/pinctrl-sm4450.c > index 49e2e3a7a9cb..5496f955ed2a 100644 > --- a/drivers/pinctrl/qcom/pinctrl-sm4450.c > +++ b/drivers/pinctrl/qcom/pinctrl-sm4450.c > @@ -936,14 +936,14 @@ static const struct msm_pingroup sm4450_groups[] = { > [133] = PINGROUP(133, _, phase_flag, _, _, _, _, _, _, _), > [134] = PINGROUP(134, tsense_pwm1_out, tsense_pwm2_out, _, _, _, _, _, _, _), > [135] = PINGROUP(135, _, phase_flag, _, _, _, _, _, _, _), > - [136] = UFS_RESET(ufs_reset, 0x197000), > - [137] = SDC_QDSD_PINGROUP(sdc1_rclk, 0x18c004, 0, 0), > - [138] = SDC_QDSD_PINGROUP(sdc1_clk, 0x18c000, 13, 6), > - [139] = SDC_QDSD_PINGROUP(sdc1_cmd, 0x18c000, 11, 3), > - [140] = SDC_QDSD_PINGROUP(sdc1_data, 0x18c000, 9, 0), > - [141] = SDC_QDSD_PINGROUP(sdc2_clk, 0x18f000, 14, 6), > - [142] = SDC_QDSD_PINGROUP(sdc2_cmd, 0x18f000, 11, 3), > - [143] = SDC_QDSD_PINGROUP(sdc2_data, 0x18f000, 9, 0), > + [136] = UFS_RESET(ufs_reset, 0x97000), > + [137] = SDC_QDSD_PINGROUP(sdc1_rclk, 0x8c004, 0, 0), > + [138] = SDC_QDSD_PINGROUP(sdc1_clk, 0x8c000, 13, 6), > + [139] = SDC_QDSD_PINGROUP(sdc1_cmd, 0x8c000, 11, 3), > + [140] = SDC_QDSD_PINGROUP(sdc1_data, 0x8c000, 9, 0), > + [141] = SDC_QDSD_PINGROUP(sdc2_clk, 0x8f000, 14, 6), > + [142] = SDC_QDSD_PINGROUP(sdc2_cmd, 0x8f000, 11, 3), > + [143] = SDC_QDSD_PINGROUP(sdc2_data, 0x8f000, 9, 0), > }; > > static const struct msm_gpio_wakeirq_map sm4450_pdc_map[] = { > -- > 2.17.1 >