Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp34894pxh; Tue, 9 Nov 2021 06:59:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbWSs1Fz/qgvk1laqh05p4S1WOWMnIlMJSXwbCQKe7ym/tOHS9qlUOD6LmLHcwN03qhdwz X-Received: by 2002:a05:6e02:df1:: with SMTP id m17mr5359468ilj.125.1636469996135; Tue, 09 Nov 2021 06:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636469996; cv=none; d=google.com; s=arc-20160816; b=kprg7no6aRQkIbgaj3hOfJ1II3bhRIMQSXpwul8If/dAH83GAzZDQj3mAnn3VVZJFK w1viWDODzyW6d8oh1f57dvO5zI2qvZDNTDTqgUEjUq+340R8FMbyPR6PEnbrbI3DLqf5 bJAcHtNxckjx7RCwTxfvZxAd1ckAOjhq0mAmCFlgPzquKyf9CNRY+x86+4nrT/RvhscB OUj+fWqRwGw0P5O1tAsFvSQfEgTxS1IA36ibxlv8QyvJFAwyP+UDu6nUHtYuIEjhicbj tD7uV+PJsMpMKbD46QyhYO7IRoGBWt0/vbT5d4f6rKabz5UmlOyAp63bq1Qgn37KVs9G lDOQ== 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=0HdNpmKDhZp/hAp07h31en8BE3YB5mS1DcdIYmhKKrE=; b=efzUTowmDKdwPBwJlOpmtVeVU9Pc32YmoTzVyh5+Iwk1rEOsGJKk9/CCjN7lnjjCSl XP/B5qku8Yg6q69FhaDbADK2rFH3doacD1LSOI7k1iTPfdJgOSm6HC20zUEkD/m9x95g UrmkZcHZ6sWNCfs63uEnN80fWKQwCSJNJZmto2qKVtjW7HxHmNkgZymZXFlDH//K62JP hFcrG2vcve7v/Hye2bTBKlF2WrhUvXf4ot0+uHDVbqF/SCAck1KkyJX4hQ46ziBVCN6n ni0W4EauxlkZhUOaxjWhEwcyayGLOArYheOyz45irZ1GomRF5kk6hWnbRXodwRqOyeGH 5QwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xsj6EPQk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si40456430ilv.20.2021.11.09.06.59.42; Tue, 09 Nov 2021 06:59:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xsj6EPQk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243525AbhKIHPQ (ORCPT + 99 others); Tue, 9 Nov 2021 02:15:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:38690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232967AbhKIHPO (ORCPT ); Tue, 9 Nov 2021 02:15:14 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F1D7C610E9; Tue, 9 Nov 2021 07:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636441948; bh=udyIJkoMexBQwHTVUjWMyXWIufVEo9X/f0669e6IQFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xsj6EPQkGBUOvQGSS3FTBM+jn6dLfZbayn29DUJYyUfVezWbkSnhYN/+AniPGbdTr aoh9cJTRYGm6G05HiCRtLB4mjo+wq11ewlTWHXZgEpKDR8yiXY65iqHOHlz4zHkKow Andu8ShpgjFE5Pbc2KnAw80xgLNGrwRTiC/jouk+DKG+Mnum5dnr5Vvyzs36Id84nj 4mWg+/kVjWX2tO+kCfZik4PJZdqZYo2Mw1R3MVkGZeRZ+zawIPCGfgUPeJYgUa7m5e Mo4isDmAX7uJQW10XJ22eFaqUZbLXmsspUGCBb8GVsJ95nLKM5Hp8jmkonBXjqyS+H VoV426O/auLMw== Date: Tue, 9 Nov 2021 12:42:24 +0530 From: Vinod Koul To: Bjorn Andersson Cc: Linus Walleij , vladimir.zapolskiy@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: qcom: sm8350: Correct UFS and SDC offsets Message-ID: References: <20211104170835.1993686-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211104170835.1993686-1-bjorn.andersson@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04-11-21, 10:08, Bjorn Andersson wrote: > The downstream TLMM binding covers a group of TLMM-related hardware > blocks, but the upstream binding only captures the particular block > related to controlling the TLMM pins from an OS. In the translation of > the driver from downstream, the offset of 0x100000 was lost for the UFS > and SDC pingroups. > > Fixes: d5d348a3271f ("pinctrl: qcom: Add SM8350 pinctrl driver") > Signed-off-by: Bjorn Andersson > --- > drivers/pinctrl/qcom/pinctrl-sm8350.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-sm8350.c b/drivers/pinctrl/qcom/pinctrl-sm8350.c > index 4d8f8636c2b3..1c042d39380c 100644 > --- a/drivers/pinctrl/qcom/pinctrl-sm8350.c > +++ b/drivers/pinctrl/qcom/pinctrl-sm8350.c > @@ -1597,10 +1597,10 @@ static const struct msm_pingroup sm8350_groups[] = { > [200] = PINGROUP(200, qdss_gpio, _, _, _, _, _, _, _, _), > [201] = PINGROUP(201, _, _, _, _, _, _, _, _, _), > [202] = PINGROUP(202, _, _, _, _, _, _, _, _, _), > - [203] = UFS_RESET(ufs_reset, 0x1d8000), > - [204] = SDC_PINGROUP(sdc2_clk, 0x1cf000, 14, 6), > - [205] = SDC_PINGROUP(sdc2_cmd, 0x1cf000, 11, 3), > - [206] = SDC_PINGROUP(sdc2_data, 0x1cf000, 9, 0), > + [203] = UFS_RESET(ufs_reset, 0xd8000), > + [204] = SDC_PINGROUP(sdc2_clk, 0xcf000, 14, 6), > + [205] = SDC_PINGROUP(sdc2_cmd, 0xcf000, 11, 3), > + [206] = SDC_PINGROUP(sdc2_data, 0xcf000, 9, 0), Right, these are the offsets defined in the the documentation, sorry to have missed updating here Reviewed-by: Vinod Koul -- ~Vinod