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: 14830 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1734552vqb; Mon, 2 Oct 2023 15:50:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5kK+WLFXrXe9O5z0zSlbOiRfKKpScY8Xw/UBn2KH9ZtDwgN9tJzl864SnIPXGqDC8MoyZ X-Received: by 2002:a05:6870:1713:b0:1b0:1e3b:5c21 with SMTP id h19-20020a056870171300b001b01e3b5c21mr16079778oae.1.1696287010393; Mon, 02 Oct 2023 15:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696287010; cv=none; d=google.com; s=arc-20160816; b=NIONG6oMQ4nNJNVLKnhbl8qDG4cLeZzVNpiadx2u2/cgCy8cJERAiYl7Ggme99EURm 5T4mmJf+DcBBe2QYkduur+W2ZchYCblENOmC/SpQkSmBoa+CegZx+ftVL8hgmeh3bgUs a6mSEMpZayVgzCy4isaFsAe2dFAFfSehIdT5jIB+bZDL/h9PGShzoxZffn7K+B9B/Jej Cywh0mf7ZJFgdtza3gPVtRVNQkyXgIXi7/FTt8PjRd8e957BGERAvFSI88MXZUopiITe XAtYnQK5pIN6udNy+PgxohLKms1nIPzVM2esD2d9bxakdbNx3UbnhyXrpE60XNhiB00L AHnA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=2vIApzqx7RSqfv9G4qO6eh847tMk8NOWVGPEc61q9ek=; fh=FpCq7zh6jbkt70pEfW/LxaGWlTGlY6Sv788cLri+Ia8=; b=PvHrFCwzqz7Ttw8ijjcqRmARNAmpkneuZCLICM/+6FQjTg2wd5uyoXUHFVIUjWYjIg UA+sXhWVXGr8AXwKWpHakxhCXskqyJb2GzZRoKnakP7VdpYa/W2tb20ubjWn5ZUZzalZ 7sqs3+pkCmH1/Z7ypDrHTukBcG2AVC8zNLEgAgtCLqpo8uARUpbV/OWz/tRljwWP56mC LYizEnDO1g6Z9T9nWThSxJtW+j+S41rtFK+/UW83iTaECd96Fana2cNcVoEHwKoH7QYT qjuDgUmtBDSKJ8SceybyI1ZIHPJFcjjOuWYMybsmTa6Cn1xe66wgAJgJz/wSwjirqhEL ytvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=hyHGKvKu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id r3-20020a632b03000000b0056fc3ceaba4si27658348pgr.432.2023.10.02.15.50.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 15:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=hyHGKvKu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 75985802F44F; Mon, 2 Oct 2023 10:14:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238683AbjJBROO (ORCPT + 18 others); Mon, 2 Oct 2023 13:14:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjJBRON (ORCPT ); Mon, 2 Oct 2023 13:14:13 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4227A4 for ; Mon, 2 Oct 2023 10:14:10 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-7741b18a06aso2528485a.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=vger.kernel.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=hyHGKvKu0WUl0mYMLep4im3oeXdVijVjlL/T3dd3whaKcDs121krpwqDDXLTTGEtP7 Tw99tkUqHTS3ruXr5JfD40ZeLD8RRMCXgt2OBbhl39GR3YkwkhdDew1SOmzQyEs705N+ LO2pHT7pFcb51hgcfkxeFWVUw05eq75GeZvu/KGYp2Vok7mevg+VzCA9fP2PlMHyH4z/ zzxr0s43W0C6lwgiPz6E119N7QKXVrfe0ZjCoWC8za92UDGucobPeIxLn8hcRr1T11ES pxbTP8FYmg7vvi42nfBij87HHI4bXK3nvZ3CLd6AnPjrD4eYfVMjHoFZmAI+OAWe7uB8 UR+Q== 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=a+d3EA/QwAtLOhoHqdQzm98vKc7cE7/gsDGCmtrboZP8aaWVOrNeL/nS2WRrBA1HgI f9K2m/UdhTuMiMY7pm7pJJMKstF95b2RaB+/ZOtAu2VVQ0RAvHV4R91lLjYv2NnDVnhH mlkpLST6m4SvZrYMnISC9KohKxTj6qj91NuVi0t3Jhbx/dPg0mlBvQ76TcHKLXRHw1O+ cq80AbcWfpoDP4K4Mb0OfYPM+Jz0g3amIaiycJ8Bsp+grWE8mfibSDqdEbmUnPVY3lWy o66qYsp0JO+c7s156Yxe0lS5VgXG2BAT1tTwif1oxkSFrkpti5GrHfoP3eOsZsNg3XyN +MtA== X-Gm-Message-State: AOJu0Yzn2frzeZikjUhc5g9+H+LBsPe/GWRLkrOFHqsPGvRCQtkCAPhi tLQyQdR7s7rEqdhpDiqHmf4J/g== 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-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Mon, 02 Oct 2023 10:14:27 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778685848223232423 X-GMAIL-MSGID: 1778685848223232423 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(-)