Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2253114pxp; Mon, 21 Mar 2022 15:03:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMmz6+Nl1tgz3R47GeTUeBW+BMoB7acMzaqjkxm80bfU5uQ0sfr0MTIzwIy5h7bvvwYFc7 X-Received: by 2002:a63:2212:0:b0:382:49c5:800a with SMTP id i18-20020a632212000000b0038249c5800amr10461635pgi.401.1647900203804; Mon, 21 Mar 2022 15:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647900203; cv=none; d=google.com; s=arc-20160816; b=q27DVjn5Ct/oSNMFwAkBH99Xo+XeEhZDe8wiCf0VmAyf1tLg4WqbNZ8UKB6ohMv5T3 +Dco8FdwMlcKBt2kTC1p98G8foLrUakOP+/p40zq5m20xFeD9oGAYL+9Aj2xDFfab9An bbyRgiYzBRYbRcejM/nIM+i/lfQnopV5Z6DSuSKgavO6pzODhvZiAzHr1f57biHRIxAM Tu8UvkMKaxEreeluAe15YLE3hkmqARup2nuXuicUc2D7UPeNG3iWBmo1CqiPHJzunEHt Bpr0MJ2COdTv8P5+dY/yZMLM+WDdwobbFnFcpNSte1Lh94ZFxsTH1eMNAAJxctU6VMUG cs6Q== 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=PkYVYmY9Le2aSokUPH4KG71aD16wj93RAHpPc0N5vfM=; b=VsidCvdCJFaLHM3legnVhuBnvG5k+ziFbkQAdIzrAMK76GBV4DqTeuFoJiVx62t9dA 3hdU2JDNjjgyL8tg2696MdMCgy1vtPMxkahu183Fadp3Pk8wQ475GrCzKBjqystF7ctg WMhEMvzE07YxkrRG/YhbBv+pNfirUAL5GxITEzq6CU97FfLXvaNRlSn23AkSFC0JkFtf 1qP3oC+CLrUqwMiXTnyTEIuLu4RKJWxEcm+GZ/0AQ1w+scINGhtWfFqLH8IGYlCUHkrM WDuwXkIhJzFacFqD9HdCQ8oi1WGoFWwoVMXuiv1uWSUM4J13U8JhmrpubE8HzAVl7IiQ fjrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=Hxc7aeJl; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e19-20020a630f13000000b003816043f155si14521187pgl.842.2022.03.21.15.03.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:03:23 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=Hxc7aeJl; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E958034FC00; Mon, 21 Mar 2022 14:26:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347950AbiCUNfp (ORCPT + 99 others); Mon, 21 Mar 2022 09:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347890AbiCUNfZ (ORCPT ); Mon, 21 Mar 2022 09:35:25 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C1B33C4BE for ; Mon, 21 Mar 2022 06:33:54 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id qa43so29763876ejc.12 for ; Mon, 21 Mar 2022 06:33:54 -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=PkYVYmY9Le2aSokUPH4KG71aD16wj93RAHpPc0N5vfM=; b=Hxc7aeJlYgvRRhGcrYyv1X44Sch6Tk7LZAeJVbWn9NZbCzimeNoWoV+WpFf8YK2q7G RuDIIPFD6orLxH1VxiCcJ8zP2BZd+4Ajkvps9HDF7bGg6uQrbi2LgB05HSTQw5kEcKhF MCbztYIHYG0Eh8hmo49sTgleoFm0kukmtXaLNgbS9u//wUtRHJDYo7oOtuevFf2maLLp f0PVk/gZ4oofN0O9AXcvnNtLDfr1OsnDWld5zUOFx4SHR1trOXKNjj5JIfOj57VSfIJV 0oRW+YK9nVqwzDSjbjrA8i0pqwndiMp809JB7mSNCG80o1X5jdHbws+wKUMFKNksyYWL buGA== 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=PkYVYmY9Le2aSokUPH4KG71aD16wj93RAHpPc0N5vfM=; b=o01/5S6I+BmGbzLjZR3VpZnMgAWcq1wRCBcHHbRmwVfJNoPWtXXj86/cnIJF/ZrCB+ 3rQBBmmlpEoh8XxZ7xvfvpIjur6AziutJq8X5Kc/aevtWF59wzzySDXwhPt05C1EM8Ps qj/oFtcme/FiN8OZXNj0IWkGMMwur4ODoDzn5rgSlWxahOZzf/A0d1JHi6rkHgtEyBfr rJ+KhLbmS6nZN/D1SOR9TuZFrEXOf5A8w8z94OXZ6g3H8KGCKpKsyWD4fjJ9r/yBGFIQ XO1lLkcvgWr+aHClLDYa+CPYFBMyFgS3SKwP6eKBntSGvlgIP6dhSov47rFna8BgX2/H s0pw== X-Gm-Message-State: AOAM531jK683pWtW8QwM1wjQP3j9Gycgc+eakU+OFU4Z3Kwkuaz/IZE2 NOPMxLZnfUP4NpDeX1JF8ZWHeTFNM6D5sQ== X-Received: by 2002:a17:907:96a1:b0:6df:c9e3:25e2 with SMTP id hd33-20020a17090796a100b006dfc9e325e2mr12664451ejc.138.1647869633415; Mon, 21 Mar 2022 06:33:53 -0700 (PDT) Received: from otso.arnhem.chello.nl (a246182.upc-a.chello.nl. [62.163.246.182]) by smtp.gmail.com with ESMTPSA id r22-20020a17090638d600b006d584aaa9c9sm6862154ejd.133.2022.03.21.06.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 06:33:53 -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 v2 4/6] pinctrl: qcom: sm6350: fix order of UFS & SDC pins Date: Mon, 21 Mar 2022 14:33:16 +0100 Message-Id: <20220321133318.99406-5-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220321133318.99406-1-luca.weiss@fairphone.com> References: <20220321133318.99406-1-luca.weiss@fairphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 --- Changes in v2: - nothing 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