From patchwork Mon Oct 2 17:13:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Wolsieffer X-Patchwork-Id: 147481 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1705347vqb; Mon, 2 Oct 2023 14:39:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxAqU5LMXZ0h/ymFNSScWkS43+1uzGW+9dE+hf94qrXW4tt+3ESOXFisX+DZmUMGDLv2d5 X-Received: by 2002:a17:903:278f:b0:1c1:e7b2:27ad with SMTP id jw15-20020a170903278f00b001c1e7b227admr10143085plb.60.1696282741607; Mon, 02 Oct 2023 14:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696282741; cv=none; d=google.com; s=arc-20160816; b=A7pUtE/YbxfTzekU0H+1fUmt5At/yqb5xYGWJeqn4QCIb2WIqUxfpSAeAJlc8jdQya NPqzyWTRLPdEjzOd9rdOobTGsgy0SnnrnU7Yfuk5d1UVDZwcv/IuoDGD84ObuO+NWAP8 Xx5Cf+83HaCFem4lYCZboiMcrBhT8N3ibRm81f2Tno85lzvacT9Cp4ReF30LRZyWxxLG eIU59KeAsrDOyfNdTdKwCxiGCtwQTcS1So57gHfDDfHw4nX22vF4tgU1yRLGRZlByYiE VIbFu1ZApmhEJO4LSNvRDQvbhlIIzfulu12trn/+HeV1lr9aKRXTRcoFDPT0ctm7dlTS KtAQ== 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=VNHPyhjdF/EgT+ErFOTgdy7sUGT7qrL3KrhKOabumMM=; fh=FpCq7zh6jbkt70pEfW/LxaGWlTGlY6Sv788cLri+Ia8=; b=wZrmF23qhJ0weU2BvB1uNVJGGbYc5TuubsfOS8wvbE69GN0ND2JcO6FcWN+3tbec/q zEwaA9Cl3c3s5JKdFG+Dttci4VPRLo5ZQ9I5E760WwU3lAjXVpuxmRhqHQ04TAvYWQDZ G93790vpYZ+VtVDvlZx9N2CBxAOXFiBALmq6jfuATbsBC2M8ggPQeAgtTmOafqv0wsmY 0/0o1EpZqsRr2VnxoLrsRyufCD4UtOXR517eWyFNGbkPGWlXZlZfoOG463no1ipqO1eF 12/sw8MmLKslPIPc7smBAdPRy9feCXxj3DzBpjLZMgtQLP3CPv9qQmOoIoG86q+ShZ0R OtmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=3Q7p9Vs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p6-20020a170902780600b001bdc664cd69si26425661pll.153.2023.10.02.14.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 14:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=3Q7p9Vs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B2E8B80C110C; Mon, 2 Oct 2023 10:14:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238697AbjJBROT (ORCPT + 18 others); Mon, 2 Oct 2023 13:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238689AbjJBROQ (ORCPT ); Mon, 2 Oct 2023 13:14:16 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04AEB4 for ; Mon, 2 Oct 2023 10:14:12 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-7743448d88eso1678585a.2 for ; Mon, 02 Oct 2023 10:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hefring-com.20230601.gappssmtp.com; s=20230601; t=1696266852; x=1696871652; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VNHPyhjdF/EgT+ErFOTgdy7sUGT7qrL3KrhKOabumMM=; b=3Q7p9Vs6ZUAhXoLxBH4lY6C8TpXPwgB6/rLWkRUx1+uT6oD1C5uvWxOI26GF4jbKuP wY0WoaiapG7xc476R9laabv9BmPsjXF5CbCWAk11qexHyHWOmejzQJ+dmOntlCdcZxyp 3a7Fk7KWzT6K4hZkpNy+bDpIRwVtwYoVGIZsawEgwXM4N90cHGuskIDt9jch7dTRpjqY QAtEHJPC4q6ODZJYN2VrddL4J1tMUtv18IIhawSWddU88iJTxHN3bABsL6KcWXEK2XTH 12aiCNx660077jS9+gx733S+VOu67sSA7Q9EsY+dp0eAzMxaER9GJkpH5rGKim46Sed1 ePOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696266852; x=1696871652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VNHPyhjdF/EgT+ErFOTgdy7sUGT7qrL3KrhKOabumMM=; b=AXRt45O05rDV0l03neChim8dFRt9F/VUys7quGvJQbpRpoQvntzLu9zM5TTP0Onr3G WONq8JCu48dCW2GV0eAHFWj+XXpL6aC9hB7sMu3uk4ZKP5HtG3POGRt4JB99VAE3mDtJ i6bgvcPM7ufyHrDyMxe97OLapM0sQwIf7KEjoq9UX1Gmu2Tfj1wUISI7h/St7PUBU0pE 3bAQ3YQDGPCDN2iC6KJa5l9IBXPduJZhL5INbppxoRKBSbTMkZ4cafIiMQhSq43r7BpW lm2QmEKMZO+N3DJy6kjOSxcM5Xs14boSaOzy1+HzWJHhDtZcKHxmhdRZezqr2qbP5oIE 1bTA== X-Gm-Message-State: AOJu0YzuY5W9R3T+STW7/wNl6OITf1VnW+H+/hiXdq6pMfk7eqhc6trz P2G4s6GWiTz8fEwskh9DrWdC0Q== X-Received: by 2002:a05:620a:25ce:b0:76d:2f15:56a9 with SMTP id y14-20020a05620a25ce00b0076d2f1556a9mr12871693qko.31.1696266852065; Mon, 02 Oct 2023 10:14:12 -0700 (PDT) Received: from localhost.localdomain ([50.212.55.89]) by smtp.gmail.com with ESMTPSA id dy52-20020a05620a60f400b007678973eaa1sm9132660qkb.127.2023.10.02.10.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:14:11 -0700 (PDT) From: Ben Wolsieffer To: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Ben Wolsieffer Subject: [PATCH 2/2] ARM: dts: stm32: add SDIO pinctrl sleep support on stm32f7 boards Date: Mon, 2 Oct 2023 13:13:39 -0400 Message-ID: <20231002171339.1594470-3-ben.wolsieffer@hefring.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231002171339.1594470-1-ben.wolsieffer@hefring.com> References: <20231002171339.1594470-1-ben.wolsieffer@hefring.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 10:14:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778681372209494651 X-GMAIL-MSGID: 1778681372209494651 Use the new analog mode SDIO pin definitions on the STM32F7 boards. Signed-off-by: Ben Wolsieffer --- arch/arm/boot/dts/st/stm32746g-eval.dts | 3 ++- arch/arm/boot/dts/st/stm32f746-disco.dts | 3 ++- arch/arm/boot/dts/st/stm32f769-disco.dts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32746g-eval.dts b/arch/arm/boot/dts/st/stm32746g-eval.dts index a293e65141c6..e9ac37b6eca0 100644 --- a/arch/arm/boot/dts/st/stm32746g-eval.dts +++ b/arch/arm/boot/dts/st/stm32746g-eval.dts @@ -188,9 +188,10 @@ &sdio1 { status = "okay"; vmmc-supply = <&mmc_vcard>; broken-cd; - pinctrl-names = "default", "opendrain"; + pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdio_pins_a>; pinctrl-1 = <&sdio_pins_od_a>; + pinctrl-2 = <&sdio_pins_sleep_a>; bus-width = <4>; }; diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts index c11616ed5fc6..b50461d676a7 100644 --- a/arch/arm/boot/dts/st/stm32f746-disco.dts +++ b/arch/arm/boot/dts/st/stm32f746-disco.dts @@ -103,9 +103,10 @@ &sdio1 { status = "okay"; vmmc-supply = <&mmc_vcard>; cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; - pinctrl-names = "default", "opendrain"; + pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdio_pins_a>; pinctrl-1 = <&sdio_pins_od_a>; + pinctrl-2 = <&sdio_pins_sleep_a>; bus-width = <4>; }; diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts index b038d0ed39e8..5d12ae25b327 100644 --- a/arch/arm/boot/dts/st/stm32f769-disco.dts +++ b/arch/arm/boot/dts/st/stm32f769-disco.dts @@ -131,9 +131,10 @@ &sdio2 { vmmc-supply = <&mmc_vcard>; cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>; broken-cd; - pinctrl-names = "default", "opendrain"; + pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdio_pins_b>; pinctrl-1 = <&sdio_pins_od_b>; + pinctrl-2 = <&sdio_pins_sleep_b>; bus-width = <4>; };