Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1887990pxb; Thu, 4 Nov 2021 10:09:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXx2AX63gpcuPLtu2+4dZfGUjj3x06ri0iTd/X0NxUfJ/zRJLB2STgSDaRQCFoWpKLP3nw X-Received: by 2002:a17:906:3d62:: with SMTP id r2mr63540363ejf.174.1636045786639; Thu, 04 Nov 2021 10:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636045786; cv=none; d=google.com; s=arc-20160816; b=06QrViDiR2CZzhZa+OR1plxQU3qOw3WMH8T5tFR8HQV/uhaXuKy/WaXXhAfkLTCKCu UCHkLWLhHoVBUns53k4OI4EgkIwJO3YhY/NsIputgOQMSRsV4PhkTQiX7tcpknNTsI+i 4FpBZGley+TLC8EYqhILRtE0onCy4nHXuY3KoZk8BQGewudbFvvkHr6e9Zebi9JU/M2z ICx02JofdkX1+zHgKphTGf8CmzY//vVeNUTKHGvJftFwBSofkJcYNeJCpSuujD4EH0Qq 7YFoTu3rdcAb1a+QaE/LnUp8nK7VOrEAXXARyap8AuqnJsogpIz8eMictWHygyjWV5Uf 40/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AkqChPnPSN5fMwuIQ2K/rgJWrknzWBl6gBTKcahDpRA=; b=GbdtNOYZDaZzGDMrkBMGp22DjOtSUn9ldlgWksy1RcuLI+2IqG1VL+axMELdR6nj1I H9eofd+rIGC+aGMtic1bxd0AlVgL1uW93GiRfmR83brknmHBbcMkZ4azabDwg1WJ9Xar gCdwVpL7/K4Ums09CPPmPg4pvHKCj1zdO3I2DS1clrx/4Hjt0FSSC2ysHwXS/eDIpy3d ofAzXHTXhz9vIP2iQHp4duM7aUQkBB6+mS1M41wRtDS6oswZCxp52IZEQcHTDat33k12 0m0HcpRf404ji8KWJILY0+XlxTIsP1HOCJiBdW6AcIE0Nrqf6LSimA915BueZ5upQOtE IDiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u+MUCDDy; 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 ds11si6381427ejc.465.2021.11.04.10.09.22; Thu, 04 Nov 2021 10:09:46 -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=u+MUCDDy; 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 S231804AbhKDRJe (ORCPT + 99 others); Thu, 4 Nov 2021 13:09:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231751AbhKDRJd (ORCPT ); Thu, 4 Nov 2021 13:09:33 -0400 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95095C061205 for ; Thu, 4 Nov 2021 10:06:55 -0700 (PDT) Received: by mail-ot1-x32f.google.com with SMTP id c26-20020a9d615a000000b0055bf6efab46so935311otk.6 for ; Thu, 04 Nov 2021 10:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AkqChPnPSN5fMwuIQ2K/rgJWrknzWBl6gBTKcahDpRA=; b=u+MUCDDyyPAhhA2xzCjx0U7d40hPHusdXM2+k05ohsbQVaetcv+aj534n8xMdgSdZa zEVlpRl9UXRwI0a3ZX13/j0yygzHkuGvp3JABsiNnb/l/Abeaj9oJaAEjKu/awJPhz25 ULJhlNtJBkt3cVhUrs21pIq+7P+7qUvlT1f8WXRsaqIuYT7gQb0Nyj/RGD90N/KptRSD YaUyDEaRRAW2lnWrPyMwMiWmCmePxWqHjg8ZpoE44Gw6R1cY8IAIGdOuwWWdrbcsYt0K OZtFLojc6wPQt72R7y+9UM699sRTKupO/bSVtKRIMoJQ2rNBAUDzjfmTHOkcB9UhjSzL l7iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AkqChPnPSN5fMwuIQ2K/rgJWrknzWBl6gBTKcahDpRA=; b=Mtyp/CnE3wOjHAGhdHseqbiAKG/Z6syTsOm5Xq9nGUbEG97jnUNX7bTxJyRHqgxLmK OC6aCIXcboyEMhyTsJdoMBsEk0BJv4XC+BmVsp/uCKuQtHsMiwt5rDphe0rpXMJE2/OY 1gMbtkMe1RoeGJiVl07RLBusP1vuzeAzvmEATX4yyqWmaSMsE2BkOb4qm4oE1Wq1cXqT qOaao5/GUphEiLlKUMYZT/DO8UKuK8Rj99lBwyAZ+SiI6kcKwjHaDwKVKg5Ve0mWg/t9 ISwjwO1CK1LBmax1ZI2iSVbOtjaPYdXotxvATB8kFi/3XDSDZdovwlgv+SrcwiHmM23i Q/Rw== X-Gm-Message-State: AOAM533BgU64y9kIa9mFSKlVWRCbnc7gqvqD3onDbR5XiJdLkuEBbm1S 725+D9kmBxCxAZCdDxhGEktH4En57v0ePg== X-Received: by 2002:a05:6830:448e:: with SMTP id r14mr27861890otv.171.1636045614922; Thu, 04 Nov 2021 10:06:54 -0700 (PDT) Received: from ripper.. (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id q5sm1490236otc.79.2021.11.04.10.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 10:06:54 -0700 (PDT) From: Bjorn Andersson To: Linus Walleij , Vinod Koul Cc: vladimir.zapolskiy@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: qcom: sm8350: Correct UFS and SDC offsets Date: Thu, 4 Nov 2021 10:08:35 -0700 Message-Id: <20211104170835.1993686-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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[] = { -- 2.33.1