Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1945381pxp; Mon, 21 Mar 2022 08:10:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkILRhnOUzng1kC8Bp98rGlJAtqN81KBMTiw+XeKgjDffrkNghC86475Qj30BLYzit7ahi X-Received: by 2002:a17:907:3e0b:b0:6df:cc38:ffeb with SMTP id hp11-20020a1709073e0b00b006dfcc38ffebmr9804872ejc.263.1647875451900; Mon, 21 Mar 2022 08:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647875451; cv=none; d=google.com; s=arc-20160816; b=VKFHVeJ/j412aHOHk5nzLLDC8GbdsJdmS9csnRXCdsySgX8uyDXAG3YF3mW5bM014l nN7X6RgpGjHspzcVnu+Z68G17JhgP+R7DdWWQvtHdo5ZmbDYYSdjPpx8IN7qosivf31W OGJlOUifuERqvuKJuaw8IKxqomOgok56RpS2gAjPTVwNxaWFFocfozkmahbr/bDy2LeY NAE0QVsVpNM6nNUmEpRsl6UR2rWvw5hmbL14EguhpDfmw4CNN/4U1RI55ycDXReI9SHu 0IBpCeEecWintI1fq9rhRqKkr7B22tgONknisuBL2TXiVFueRqXhKe6mOfg9+mXcUQEs mAag== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZwBNxv31ujNSLTrPdhNM0458fsf06VpnyNFy23XaEkM=; b=wgwbVgARqhZaJdesKPZhUtTInistwZhySS1tcAxJQBwdCzT/0q7bcZFRGLXcGwL3GB WOv3PghSj8oWvRj0vW6S5Yk98HW93fM7+YIUouNHk/C5CqWh/2eVdUUwH4nWA+WIQmx0 nm+yICIat7/JSesg7qWONz+i0rOkY2O2KlzGocGFmZucE8SjOoTK11W6svp6r4AvusQV yhg4oI+e+/6Kgq/oxucjgRBTYSgOOyd7rc/IAjJwCvCopu3grU3d3qfCo93Lgahdw8Wv YiSNZi08txkzYVOKnOvRZ50x8WfL5H+vdHUNMqpqC7LFEF1Quy/75BcpkxZQixASVHLX tPqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=3HyLPt3A; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f21-20020a170906139500b006df76385f04si6636267ejc.932.2022.03.21.08.10.23; Mon, 21 Mar 2022 08:10:51 -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=@fairphone.com header.s=fair header.b=3HyLPt3A; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238876AbiCRSlF (ORCPT + 99 others); Fri, 18 Mar 2022 14:41:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235469AbiCRSlD (ORCPT ); Fri, 18 Mar 2022 14:41:03 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3F061C945F for ; Fri, 18 Mar 2022 11:39:44 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a8so18677330ejc.8 for ; Fri, 18 Mar 2022 11:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZwBNxv31ujNSLTrPdhNM0458fsf06VpnyNFy23XaEkM=; b=3HyLPt3AUi5oYad0n4/hc+3xmHTgicSDQtnED6a8HMjpRI7fS7w3PoqInaxxMs3fTt 6ymRR8UbBGNsXBe0UwK7sFigl+vWjptdZqYJBYGCI1ACOCyzjfa8Z9Pg9NFOw3mUvXff pNvBk+DkP7v/MTX0pU9MQ2EeQHA+fdHfU9YH6p0uu25D23uUda0GBESVwJh3aEp0KJCs xmnxDt/tpQU33XuOCIDDZ7g6gGzBhPaKokrXxLVyV+RBGnv7pnSIzKRe/dJFb1G/tFuU uoVcSaSEnP+3zyLmpjKx3m65qWoDGPupfzgkAYvxHqoYd+wfCS6JUa6DVr0LhJY40rO4 AHxA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZwBNxv31ujNSLTrPdhNM0458fsf06VpnyNFy23XaEkM=; b=4WS0ofg99xAz5EHUhOu4zumBrJaeU8AijUAMVNBh5kJjlSF5p2DXxvmkv9i87X7U0v scTvb2ua3mXuJ+t0spEkQH+QH1S0/14MOLI2VSdsmYrNaoKk0TqKrSJb1a/Cu/fL/B2M UuwRjTf2tdZThg/Dvn8rq0MIsbqa2caHYPBW8wVHEvFda8FU2DzTJObC/Lkk2CtPy2P0 A0uEALry7idoza11Yigm5sMoXqdkZAppz17kBsq0/WnqS4c1nDnjI79s3h/xnWma+bOm dAfTZLEuRURq/ktHEL7yRvZzs3Ed0Sf01s8I4e7RHbZOe9LkxUTPyY2uDmycnmczpmb+ hfgQ== X-Gm-Message-State: AOAM5328FLWd9pExBlq5YMvoXCwwu6tBt7OSWzuKLAfjocrpuVZe0NRF +WFWb8XxvIVC6fVP3fXwXR44/HUeifJdiw== X-Received: by 2002:a05:6402:278f:b0:416:a887:9853 with SMTP id b15-20020a056402278f00b00416a8879853mr10909101ede.44.1647628229756; Fri, 18 Mar 2022 11:30:29 -0700 (PDT) Received: from otso.arnhem.chello.nl (a246182.upc-a.chello.nl. [62.163.246.182]) by smtp.gmail.com with ESMTPSA id y8-20020a50eb08000000b00418b114469csm4567551edp.52.2022.03.18.11.30.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Mar 2022 11:30:29 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Linus Walleij , AngeloGioacchino Del Regno , Konrad Dybcio , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/6] pinctrl: qcom: sm6350: fix order of UFS & SDC pins Date: Fri, 18 Mar 2022 19:30:02 +0100 Message-Id: <20220318183004.858707-5-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220318183004.858707-1-luca.weiss@fairphone.com> References: <20220318183004.858707-1-luca.weiss@fairphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 In other places the SDC and UFS pins have been swapped but this was missed in the PINCTRL_PIN definitions. Fix that. Fixes: 7d74b55afd27 ("pinctrl: qcom: Add SM6350 pinctrl driver") Signed-off-by: Luca Weiss --- drivers/pinctrl/qcom/pinctrl-sm6350.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-sm6350.c b/drivers/pinctrl/qcom/pinctrl-sm6350.c index 4d37b817b232..a91a86628f2f 100644 --- a/drivers/pinctrl/qcom/pinctrl-sm6350.c +++ b/drivers/pinctrl/qcom/pinctrl-sm6350.c @@ -264,14 +264,14 @@ static const struct pinctrl_pin_desc sm6350_pins[] = { PINCTRL_PIN(153, "GPIO_153"), PINCTRL_PIN(154, "GPIO_154"), PINCTRL_PIN(155, "GPIO_155"), - PINCTRL_PIN(156, "SDC1_RCLK"), - PINCTRL_PIN(157, "SDC1_CLK"), - PINCTRL_PIN(158, "SDC1_CMD"), - PINCTRL_PIN(159, "SDC1_DATA"), - PINCTRL_PIN(160, "SDC2_CLK"), - PINCTRL_PIN(161, "SDC2_CMD"), - PINCTRL_PIN(162, "SDC2_DATA"), - PINCTRL_PIN(163, "UFS_RESET"), + PINCTRL_PIN(156, "UFS_RESET"), + PINCTRL_PIN(157, "SDC1_RCLK"), + PINCTRL_PIN(158, "SDC1_CLK"), + PINCTRL_PIN(159, "SDC1_CMD"), + PINCTRL_PIN(160, "SDC1_DATA"), + PINCTRL_PIN(161, "SDC2_CLK"), + PINCTRL_PIN(162, "SDC2_CMD"), + PINCTRL_PIN(163, "SDC2_DATA"), }; #define DECLARE_MSM_GPIO_PINS(pin) \ -- 2.35.1