Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp2419919lfu; Fri, 25 Mar 2022 00:27:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuRjMKnI65J+7WwPyISHyLsmtvlvwftNTnEjwQpI35AJUEX0uInTRdkgHoCr0XkKtrkjBt X-Received: by 2002:a17:903:32c9:b0:154:3a2d:fa89 with SMTP id i9-20020a17090332c900b001543a2dfa89mr10075256plr.3.1648193270037; Fri, 25 Mar 2022 00:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648193270; cv=none; d=google.com; s=arc-20160816; b=F6ArAiJIEIDyUNNkZ2HF84L35chZTXolV6xpGm3XWtL1QZq92M9ZMoIkSZB759MD77 sXLDwMAZT3+XMOizE+VlbcJpW94M570KGC32/wkp2o0INpWtfKTeWj04GfycGI9xpyeS NNMk+TUHlKsMqgKvNAXuV4fW3QJIvvMzdS34U8l2CEn4rPKi6/raO2c6H8FsIW5I4Nq2 eXGzfWlSW9vifqrtmnyDO/TB5NYdIZAp864Q+It0+AGkQkkbj7L9FecSThtpmJ2g8RIi 9QgAjNUgLjfcZkAv8DJ7HaruD2NV3cYwUT7R8jqzKX9kQss34OL69XtN8eoMaNbgvVv5 IWAw== 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; bh=MtW9VqaQfjkMYuoB9ODDJUCuYi7C5joOOleEQOjsFjY=; b=rZgQW/QwFKES8HflqK2zQAAgcXHxP4/paobAGu7FS3i3FoKit/vS0wzmprrwDpUvPW NCBeDrbVRgAkzZv9cKkg1htY98nwLfFNkPIMdkynl7HXKKPvb0vNQF1n/4xzo/h4CMqJ IPD/tYzjfwmfeFC7w2G6TQp5PERkZvr3UGQf3ldGwfsICdKNs1evH0tPk69md0Hjwf9F ovAbpxIn351YTWlBizf4Cg55/ExtBBQoxVsLdt9zpNYyuElu3S0twZLE80zRbVtDu0+n a6K9G252csGmtShhnhWnFpcv2v9Z1V+BZ9BLdt2f09FcSt1CySR28258emsZuqQl3/cV aBXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f38-20020a631026000000b003816043ee3esi1535168pgl.51.2022.03.25.00.27.37; Fri, 25 Mar 2022 00:27:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344132AbiCXP7z (ORCPT + 99 others); Thu, 24 Mar 2022 11:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351522AbiCXP7c (ORCPT ); Thu, 24 Mar 2022 11:59:32 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9E0BADD7A; Thu, 24 Mar 2022 08:57:44 -0700 (PDT) Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1N0WTY-1oIcbr2d1A-00wVDS; Thu, 24 Mar 2022 16:57:28 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marcel Ziswiler , Andrejs Cainikovs , Arnd Bergmann , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , NXP Linux Team , Olof Johansson , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 10/10] arm64: dts: imx8mm-verdin: add sd1 sleep pinctrl Date: Thu, 24 Mar 2022 16:56:49 +0100 Message-Id: <20220324155649.285924-11-marcel@ziswiler.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220324155649.285924-1-marcel@ziswiler.com> References: <20220324155649.285924-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:WIrHfN3/v5DuBXh1t3yffOL9Tw5KZ5XlFYczKupNGYPAq+n7WrD DANHRumWHhXIDVaf5JkUfT73VjmJ3TxuLZLkvYoo+whWoIpDQDlfGTZkKXwNSlX6QrvCWRN JSwyuxdjOSsQnE7ioFOyD3AP4IqtET8rzkithDHYiNVUDifnkxX8xFv2MgIN68tCuxTTbHO FpUEyqMuarciUkQLdUIUA== X-UI-Out-Filterresults: notjunk:1;V03:K0:jTvlto+j76Q=:H8J00gum5WgD7Mb3KULfw8 x5bhjAs6fgiFIVkMO+yilqNZUYUfRk4FzUllQQGohPGBRq1mI/fnylRIHXoEVxKYUezhamNje 8SC9L6FGlKwCCtUJtncClymECLE4QfY1NiSEoaoA7Uvq3DAFC00fS/3s9Ff8CGxGWU6EsVR99 lQx0/5TQB9OsIkbyU7VRXK0KwN10wen31Plupp4JNA2/+rrjomCTshNzMJWIrlRowlhhkuOKe +GUCZmVrGBcM8jKfUGvzk9jrmNBVu12HujwXfLUyvtDDcS0kbcz2oc1M2AIRhnfnEq+dTgCWO mcJHg0IaMeKFo6LB+WkCGY7tDstDH9llnAARQO0PO1SG4FXYsMDy6ICc3SpMrMBg8mv95fUVY rKFbM3iplHc3IoqK1X5MFRNSkxFxDdAoe4tCbtpVYbUvpJiiNIV4ZKGfQ+h2iK//kdj9blf/2 n+07MaVOBzmY/l6jErS3w1G4nMzyOHUqpRQ/Bt9BDkGXQfoYy9j73TtJxpYI2CpJqV87Lex56 0Dj/3tsTSceyeqiu5IgENy1baytJNmpOE/8djt5kYa1kNZ7fv/1oFrQ4c+QiPUJApvjwLuLqe 2GYzaX6H9BS8wmvHBETqadgirPnyiLNSMyQzb7BxMivs7oM+WEE4c5SN6HOmD9p/kSVaY6/ei ngVGJZPb/D6yxdTX13Uoq+DExZd58ngmIvK2O19uoBuApOfsI87p6FegtTpqhEp5ykWKGTL6t 6BsX+JWnkwjW5eAw X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Marcel Ziswiler Add SD1 sleep pinctrl to avoid backfeeding during sleep. Signed-off-by: Marcel Ziswiler --- .../boot/dts/freescale/imx8mm-verdin.dtsi | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi index 97dd7a00d63b..eafa88d980b3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -757,10 +757,11 @@ &usdhc2 { bus-width = <4>; cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; disable-wp; - pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_cd>; pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>; pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>; + pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_cd_sleep>; vmmc-supply = <®_usdhc2_vmmc>; }; @@ -1174,6 +1175,11 @@ pinctrl_usdhc2_cd: usdhc2cdgrp { ; /* SODIMM 84 */ }; + pinctrl_usdhc2_cd_sleep: usdhc2cdslpgrp { + fsl,pins = + ; /* SODIMM 84 */ + }; + pinctrl_usdhc2_pwr_en: usdhc2pwrengrp { fsl,pins = ; /* SODIMM 76 */ @@ -1216,6 +1222,18 @@ pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { ; }; + /* Avoid backfeeding with removed card power */ + pinctrl_usdhc2_sleep: usdhc2slpgrp { + fsl,pins = + , + , + , + , + , + , + ; + }; + /* * On-module Wi-Fi/BT or type specific SDHC interface * (e.g. on X52 extension slot of Verdin Development Board) -- 2.34.1