From patchwork Mon Oct 2 17:13:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Wolsieffer X-Patchwork-Id: 13406487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9DC98E748FC for ; Mon, 2 Oct 2023 17:14:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WJOTbangDbFkPUGcLqF4YRaKJUrbMhtdI3Zq1p8eSUM=; b=kLPQiHuM2rqC2l S+IrjioOviD/F4YeWFaPiLQ2c03adHBKZYQLyPHhD2ctdAqjzAtSwq4X2tT3KxWraCqNiRFiUMUVj AyGtXMdVMYwx5RcEbM+OgI8rTXI3EjZwdNcqoDi+fHZ0oabp3fWeqUWYUkzo8hVFBr1pzEdoK7ETf NrOlviPiUd+IlOmLL9S1NjjlkYR9fIZ3qew8tRTAOpcrcB1L8PXgyg3fbqwcqye6TGarJMW5piwcI dyr24k5nkv2zHL32731oPc+qv//Ul4aeK8vldCjYMyw25kRCIURfbP/IPJr9I4XK/Yl28IVg4lkk1 sIE7Mz896DekcNp7/uTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qnMUo-00D85o-0l; Mon, 02 Oct 2023 17:14:14 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qnMUl-00D84q-2k for linux-arm-kernel@lists.infradead.org; Mon, 02 Oct 2023 17:14:13 +0000 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7741b18a06aso2528585a.1 for ; Mon, 02 Oct 2023 10:14:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hefring-com.20230601.gappssmtp.com; s=20230601; t=1696266850; x=1696871650; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2vIApzqx7RSqfv9G4qO6eh847tMk8NOWVGPEc61q9ek=; b=MnKrch6/FMhvXDFtrmPAdxLA5mUHlgRdusZYci8m6LTeTU16a/WG5MXcRO/TsOH0C3 JtsEJOSX7bBnp8QSq8lw1e7MbuBuFfsKr1Ny6YMX4NPq+xLUd6a2pEpITnkfI0G38D7k +5k5QX4X7iw4Q+Ui5BPfKrS9NDfF/sTzhyZQmcWON8B95/VpzkfsBmmiqZQCseSjL+iw 4JxoLyEFZ9kKjeJ5d4gndhPwL/ljwQ9AmIT3y3BfxTOLXk4tioUjVtYenfsOSqbVO8tr Lig9yBMqL/Z9rys8mx4KYX33oJ+4ICduV9838Ugaa/YU1ueNIqU/vJRchQ6pyczeNlXD k5eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696266850; x=1696871650; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2vIApzqx7RSqfv9G4qO6eh847tMk8NOWVGPEc61q9ek=; b=IV3oP/Aj/fjdHtRkRj/zMsM6JEhrcwu07uyOTsHllzVRn/R7K6j2dAFems3L0g6xqA Stx2SUOJI1++Y0ndAHLyPR5+Lfang2KHVJNrEcwdkE2/8fNy7EiigbryLwz8UmE5k6nH yG3GtOHWJgvanNV0hce3MLkPuWlrINLrvjR6Iagw7xXX8XrLYqWzd3PES94QbbpbC32o L+gxgZFxxNq2Q72KOuN26Rp54LeFQMmlCcQ8v0cMoytAJ3T1B2PPXnPqKy/TpPwgzfYy GwhhOd1Q30sMKZMlA4bfNIKyE5kZSqnhSk8bHF9Uw+NUmAmbtG1OYblyc/BQgIAuU0HK Mh9Q== X-Gm-Message-State: AOJu0YyGvAEFH6/ub/5l1pQ47lPUGx4jqJkKKfhtnKhSV3XshwFevbol AfKa1BVVdwSK4R/Lk+t0KfZ+0g== X-Google-Smtp-Source: AGHT+IFZurT7JngeQirwA2jtLYPng4babEnnQLl5D2Ptls5BdYYfh6ahjHWl685659a+Wn7KA9QJDA== X-Received: by 2002:a05:620a:31a5:b0:775:8040:ede6 with SMTP id bi37-20020a05620a31a500b007758040ede6mr14551196qkb.21.1696266849865; Mon, 02 Oct 2023 10:14:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:14:09 -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 0/2] ARM: dts: stm32: add SDIO pinctrl sleep support on stm32f7 Date: Mon, 2 Oct 2023 13:13:37 -0400 Message-ID: <20231002171339.1594470-1-ben.wolsieffer@hefring.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231002_101412_199771_3355F8E8 X-CRM114-Status: GOOD ( 12.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for switching the SDIO pins on the STM32F7 series to analog mode when not in use to save power. I don't have any of the disco/eval boards to test, but I have tested this on an Emcraft STM32F746 SOM with a UCL-SOM-BSB carrier (using an out-of-tree DT) and our custom carrier board. Ben Wolsieffer (2): ARM: dts: stm32: add stm32f7 SDIO sleep pins ARM: dts: stm32: add SDIO pinctrl sleep support on stm32f7 boards arch/arm/boot/dts/st/stm32746g-eval.dts | 3 ++- arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 22 ++++++++++++++++++++++ arch/arm/boot/dts/st/stm32f746-disco.dts | 3 ++- arch/arm/boot/dts/st/stm32f769-disco.dts | 3 ++- 4 files changed, 28 insertions(+), 3 deletions(-)