Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4501843pxb; Sat, 6 Nov 2021 15:32:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWeiATCEyzKwDPafEjF1If6d/X5Z0BmynZL1MtTnfH++KLYeQhJteRCkNyv5hxRJ5A4DhO X-Received: by 2002:a17:906:2b82:: with SMTP id m2mr84237998ejg.122.1636237931429; Sat, 06 Nov 2021 15:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636237931; cv=none; d=google.com; s=arc-20160816; b=gWgsbTLc3rKWwOu8TXtRu9/dBTc0pcKPDcv70nGyB+/llprT+RIa8Gbt63KU+3TA67 IbWE+gOs/BqQ3dNdbXxKPC91/7bHqCBBFTxg+aOqEK+HEr9bZeyb7eJYYIJYJIQJQ1sv 3HLBf7ZSLsdp0UPuLI78+4ca+171oA0rCgqgl/Xy/lGB+wA3ywVtQ6cTo0MVZxjcZ6Hk FH+qLSOgabBsptu7Ph2mVBTR7ekxxibmzcEKeEe/JACknLU6DYrjo+RkiuKPL7LMQHaI ol35nJeEryJvCQGsWPlhmz3ifZfJVAy71w8TH3lxBGcDG0jkoWJwEXnzxfJaApx+kc08 MGqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Ra1BXH1mMvzlfwLf58YXxvKpl4xCKYL2+7bQMH4f4Ic=; b=fMrJmyRzS3NzBHwdoAW5OY5eIoZxQ4kDy3015u71T5X8VBSWnf/KlWlb06zk/FgFr4 4MX0/NxLT26+LoW5F1lOcob7f44X7SOrWeWxGIMMrKQWt4Y0ciZSztt3XFnGLst0lzh5 MlAyORTAVw1mBInk3/3qErmgJFAH26ypx2SvIfsDsRutN422GoBjOI4NLOiTW70hQIB/ ckHwDmsgXztMrikK297So5MZCVCKxO+uYNY+q00IaZe2Jw+S8f9vUVwT+XHlDDw1xc0C 5fvDUuDMHhj2TNZvVLDK57EAo/31Kvfimf3RF9KM1qoIjrqLbFxkp1wpR+RwOvATDE5T f6hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hWfhd4Wq; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 2si18115580ejw.30.2021.11.06.15.31.28; Sat, 06 Nov 2021 15:32:11 -0700 (PDT) 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=@linaro.org header.s=google header.b=hWfhd4Wq; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234646AbhKFRLT (ORCPT + 99 others); Sat, 6 Nov 2021 13:11:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234651AbhKFRLS (ORCPT ); Sat, 6 Nov 2021 13:11:18 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82C50C06120B for ; Sat, 6 Nov 2021 10:08:36 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id s24so20527067lji.12 for ; Sat, 06 Nov 2021 10:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Ra1BXH1mMvzlfwLf58YXxvKpl4xCKYL2+7bQMH4f4Ic=; b=hWfhd4WqhxVia6qAP5I/BmZbVOUE4pK+zqJjZHKsaLaUfg5wRZf7VAOYoW/DeaPqAA gc68u2rfPx+J1au61skDN471TEkBm39v0Sp01b1mrfY7jDE2u3eDqoc37e02iaf3qrVN BIZjwVIDunb9dZnZ8y+JhLR+fGnd7J0o13cd7FT14GsIIwXWB38mzTaWSKtKJnc2Wjff AqHvCsPwNEDWma0kf6/quSSzd5pCCVvBCBOzQsQZ3jE2r+H25jsXmbgPXeCArRwwh9RL QcG2HfR0NqNDcCq7gz1iNCUqdiB1yoiiRAvYaihkFnPEU0W9g34okj6Znl+VtRoJ7r0t fmLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ra1BXH1mMvzlfwLf58YXxvKpl4xCKYL2+7bQMH4f4Ic=; b=bsXPPuABMxzWYyfNo/NbMEeHs0oVxhoBR231IublnaAaJ8k9FP9FB/fRWu2PdlgP+G dF9n1vn/Lc4Ulpm/kxwglGqZmpbp2I0Zrs3fmVLZE0QZEj1oiH1AyjuY0BqU4kICH7kh LjiE/abptBewCfLAjYe6xHiUl3gKJEslEIMejLIkJHxcVWahWLfvOrbbrJ8J8/abPN5I BMqjkgRMGA48+QFWtnJ/VAtl7GeFPHUeYCYjHdlWr0el5/XRYkd61L0KHOiqJUrKHZHD poiotwbsdS5lX5jgc8ACSQS4Xcf7nhToG5uvuafvtf6XRnp/fiXjDSMMyFBZAxP543XE pmkQ== X-Gm-Message-State: AOAM533areXJG7rkCB8M2YlnJLVQveKmg3+UcLmH/ArWrRKisCWMoVhA +svZMBVsxnxT2H4kZeWTS5Wf1MlF4Lwu4NUD X-Received: by 2002:a2e:91d4:: with SMTP id u20mr3210304ljg.92.1636218514622; Sat, 06 Nov 2021 10:08:34 -0700 (PDT) Received: from [192.168.1.102] (62-248-207-242.elisa-laajakaista.fi. [62.248.207.242]) by smtp.gmail.com with ESMTPSA id u9sm1212394lfo.87.2021.11.06.10.08.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Nov 2021 10:08:34 -0700 (PDT) Subject: Re: [PATCH] pinctrl: qcom: sm8350: Correct UFS and SDC offsets To: Bjorn Andersson , Linus Walleij , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211104170835.1993686-1-bjorn.andersson@linaro.org> From: Vladimir Zapolskiy Message-ID: <51217da2-958d-124e-c84d-27b1432e0f37@linaro.org> Date: Sat, 6 Nov 2021 19:08:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20211104170835.1993686-1-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/4/21 7:08 PM, 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), > }; > > static const struct msm_gpio_wakeirq_map sm8350_pdc_map[] = { > Reviewed-by: Vladimir Zapolskiy -- Best wishes, Vladimir