From patchwork Mon Oct 2 17:13:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Wolsieffer X-Patchwork-Id: 147404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1590791vqb; Mon, 2 Oct 2023 10:49:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEO3u+SmCCX5vgnmkpyC2elOjl0Uw2zvOOYWhq4OjdKwlATVJwXzwnLgToKsUy+l2h8Co+O X-Received: by 2002:a05:6358:418c:b0:139:a45c:32b2 with SMTP id w12-20020a056358418c00b00139a45c32b2mr14523591rwc.11.1696268970495; Mon, 02 Oct 2023 10:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696268970; cv=none; d=google.com; s=arc-20160816; b=U+aCeqEnH1Yi9tQkL2ndiK6s0z7gwPtKDg4syBwahNpsM+XVOiwK+aHpiQCvKAQ2aO 1D2nC1kALSeZapYd/JyT3tPy4/StMnu7JKw5BjjbPQzM/0a9Km7i1KKjaSZq7L2u9Ph8 nTBVCRtKfNDS1mit0sMny3FRS6BPpDR8Wkc7AFW80041Otppa4tNMFFBPilmQvZFi9lz W/keRbzIZYSNmgqQyZw3njK+zaQ2xgubIreoJqwopqgG0xaRtL1NODx6JlGfz05KIjko Gyd6Na5rcGVfQDI2cQfkdRbbz8fNvA48y/U2bEbzFZUuUyZNwdK8ML4YtLAT0hcGqGW3 5n8Q== 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=+Mtj4NCPRxZ6VOa3hAfKfXCzeZnGQjZkkPegFeXl3ak=; fh=FpCq7zh6jbkt70pEfW/LxaGWlTGlY6Sv788cLri+Ia8=; b=qzWcpK/lMI62a8swicKCfFnh/C397PmVgHR/ofWpkNDcKe+3sPirFXDHhTaSOWqzQJ 0xm4geVE1utaQEKhc6FDSjYEHp4qr83LSBd6FWaQ7Tcv38na6j6aQl1yhj1gPalxR3mh haX2bDGh4fXr8o3E6+6Dv5mekGsnMXr4MpgxlGmVxuItuSAyLNuvJVlzV5bHeR28+1sq AlBUiuwgM7pXHqEAPpcGrkVI3t9LwDOaJ+Fe8yXkC1/yRu928wgKW1mi52WZ3MeuxL5A yFHU+Va7rVYGcl5u9dJyI+7iZetcrbEMx8q7TSn3A6TI19SNKrDftURmyoFq/mxP293n oCTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=dcBt5dq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w29-20020a63161d000000b005702257f32csi27126572pgl.840.2023.10.02.10.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=dcBt5dq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 5711F8031C42; Mon, 2 Oct 2023 10:14:17 -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 S238692AbjJBROR (ORCPT + 18 others); Mon, 2 Oct 2023 13:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238688AbjJBROP (ORCPT ); Mon, 2 Oct 2023 13:14:15 -0400 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17A5FAD for ; Mon, 2 Oct 2023 10:14:12 -0700 (PDT) Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-4542d7e9bcfso11776137.3 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=1696266851; x=1696871651; 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=+Mtj4NCPRxZ6VOa3hAfKfXCzeZnGQjZkkPegFeXl3ak=; b=dcBt5dq4PmXpgwCWCtvzziGiKdoAEkVeOXd9VspMbpP8IkbsSSzzu2iHhiTEnrrdVv +pEJ5lZG0BbWwwAqA/8hjVy3mgvLUVvuTQyxlC1KM6ha8mUVopN9WHev8H1s6JGORj8V gstip1+CgTy6eIxNp9cQ7gTpzxzFa81RHyfMaC4GM7mThKJGFztUhG7RH6JO8xrAAhxN /TP1eSfxO9WXkJND5KtHW4VZLv9CZ8Ovnj9ga35Svm6DX5FBIONpJdd/8VMviasTGqIi Qz7VoQjn3El8RTPnyOHtIU4hVS73cCislSYskBuCLPBtexiG1wUNrcEmnIgCWeUAH3a/ yuLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696266851; x=1696871651; 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=+Mtj4NCPRxZ6VOa3hAfKfXCzeZnGQjZkkPegFeXl3ak=; b=YMGskO30q9cm1fDkz51tYfrIw97blpJ4TBxLl7kscGNKBXmS4QIN44e2rVdDfI/WOv SPK47HrQ5qkcXLutXGINzskKbh6/TM+RB4q+UpJZPtvoFJHfqvIspJS61b3P/fkrVt42 eOMdcGJKRBB8+NQpPSQmYumRa0TRJYrXzq9sVk4eUEfiDnv5DkafPvN7nTf6SiYr9/qd dEKISiMxH4iy1KKzo7iGRfjSgkOjW7FGBUBLgfi4QJDfYtGb/YwyI0E0ghZdjQ3TVhGn AajmqlOhJExmoXoOWcHzCbN2a4ez5AfOe1IdZ65TNmdIHR5aoQgylI3Y3cOvIHbq82r9 faQg== X-Gm-Message-State: AOJu0YySKKCQ64rO9OrdxVdD6fwmiOfo8uKEngQtTxsISf4/0EVB50Jy VlWlHeHGsUCMcx4X5I2rL07f4A== X-Received: by 2002:a67:e8d0:0:b0:452:8717:1fa3 with SMTP id y16-20020a67e8d0000000b0045287171fa3mr10481368vsn.3.1696266850932; Mon, 02 Oct 2023 10:14:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:14:10 -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 1/2] ARM: dts: stm32: add stm32f7 SDIO sleep pins Date: Mon, 2 Oct 2023 13:13:38 -0400 Message-ID: <20231002171339.1594470-2-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:18 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778666931748347959 X-GMAIL-MSGID: 1778666931748347959 Add SDIO sleep pin definitions that place the pins in analog mode to save power. Signed-off-by: Ben Wolsieffer --- arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi index 9f65403295ca..26f91ca0d458 100644 --- a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi @@ -253,6 +253,17 @@ pins2 { }; }; + sdio_pins_sleep_a: sdio-pins-sleep-a-0 { + pins { + pinmux = , /* SDMMC1 D0 */ + , /* SDMMC1 D1 */ + , /* SDMMC1 D2 */ + , /* SDMMC1 D3 */ + , /* SDMMC1 CLK */ + ; /* SDMMC1 CMD */ + }; + }; + sdio_pins_b: sdio-pins-b-0 { pins { pinmux = , /* SDMMC2 D0 */ @@ -284,6 +295,17 @@ pins2 { }; }; + sdio_pins_sleep_b: sdio-pins-sleep-b-0 { + pins { + pinmux = , /* SDMMC2 D0 */ + , /* SDMMC2 D1 */ + , /* SDMMC2 D2 */ + , /* SDMMC2 D3 */ + , /* SDMMC2 CLK */ + ; /* SDMMC2 CMD */ + }; + }; + can1_pins_a: can1-0 { pins1 { pinmux = ; /* CAN1_TX */