From patchwork Wed Jun 19 08:36:01 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pascal Paillet
X-Patchwork-Id: 13703535
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 9CD3AC27C53
for ;
Wed, 19 Jun 2024 08:37:49 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help
:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:
Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Owner;
bh=KZgWttku0OrDv1E5xjjSYd/Hd42fWLcFhwhUgXT4EB4=; b=0Fmko0qH+22AE0OL1ZLZ6hrZZx
ksie30jGSmjnPanvwdG54DoVPr6EG8VuguWOiVJfO6E1/thfMis9icUASz6WWV/QIZWpZkSlXCk9M
d56VHMocsCfNkB218V9PJRbOBqe3C/F1Gk1Hyl4MD3hXxU579IN48FweyBmob5qbGCz9Y6UDuxHlW
Y4o9JGjZd5lUESxeubTg2Aqeaiweky1nBY8qjdQeDFxuF4wY8zl4iiX0Dbs5BHbNSrt13xu0EmsEY
gkANas6mZYOpQjYeK0nyiziEhv/8ZlduaezV9OCnnmdnLZ+X2pBs4cUSvCmfcRjCfvdit1mqkMwDM
5CVziVYA==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux))
id 1sJqoz-00000000Q0o-3WO2;
Wed, 19 Jun 2024 08:37:37 +0000
Received: from mx07-00178001.pphosted.com ([185.132.182.106])
by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux))
id 1sJqof-00000000Ps7-3o3I
for linux-arm-kernel@lists.infradead.org;
Wed, 19 Jun 2024 08:37:19 +0000
Received: from pps.filterd (m0241204.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id
45J7K3mP024133;
Wed, 19 Jun 2024 10:37:04 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=selector1; bh=
KZgWttku0OrDv1E5xjjSYd/Hd42fWLcFhwhUgXT4EB4=; b=EdVWQYzE58jbs3eY
mhWhlVnXlT4cXbWtBWFaRSIi0qWJaArKvjGY8iWUE8eNWXnwi+Fv00fmQudYqIXs
HWqB4bxluUNG3aIBIndNXD6vLK0+SU/YodE96Cmi7N205Pni0L28ogT0JRR3NiM/
3Jk3faKpAgd1BKe2qySBfF+lS5oUQ/4BsFCNltdO6XQoBg8hWbgwrN6EzL5zxD1Q
CMT0Mq1xCS2D+PL61JZLVlAMkOp40w6pB+49fYEHfQsP2mR8zjtDtUVuYIDheSI7
t4m8/G7e9GZuN8kRyZx6BlaAkciMecmacl7TDNDUmNOZNMtDo3zQ+90Eq4R3k7zz
LFtvPA==
Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35])
by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3yuj9n23xm-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Wed, 19 Jun 2024 10:37:03 +0200 (MEST)
Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20])
by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 6FC9A4004A;
Wed, 19 Jun 2024 10:36:54 +0200 (CEST)
Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70])
by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 6344E210590;
Wed, 19 Jun 2024 10:36:12 +0200 (CEST)
Received: from localhost (10.48.86.232) by SHFDAG1NODE2.st.com (10.75.129.70)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 19 Jun
2024 10:36:12 +0200
From: Pascal Paillet
To: Catalin Marinas , Will Deacon ,
Rob Herring ,
Krzysztof Kozlowski ,
Conor Dooley ,
Maxime Coquelin
,
Alexandre Torgue ,
Liam Girdwood , Mark Brown ,
,
,
,
CC: , Etienne Carriere
Subject: [PATCH 3/4] arm64: dts: st: describe power supplies for
stm32mp257f-ev1 board
Date: Wed, 19 Jun 2024 10:36:01 +0200
Message-ID: <20240619083602.33007-4-p.paillet@foss.st.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20240619083602.33007-1-p.paillet@foss.st.com>
References: <20240619083602.33007-1-p.paillet@foss.st.com>
MIME-Version: 1.0
X-Originating-IP: [10.48.86.232]
X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE2.st.com
(10.75.129.70)
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16
definitions=2024-06-19_02,2024-06-17_01,2024-05-17_01
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20240619_013718_257105_1091AF5E
X-CRM114-Status: GOOD ( 11.87 )
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
Describe power supplies for stm32mp257f-ev1 board.
Signed-off-by: Pascal Paillet
---
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 43 +++++++++++++++++-----
1 file changed, 34 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index 18c6266532b2..979847e0ea05 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -7,6 +7,7 @@
/dts-v1/;
#include
+#include
#include "stm32mp257.dtsi"
#include "stm32mp25xf.dtsi"
#include "stm32mp25-pinctrl.dtsi"
@@ -41,14 +42,6 @@ fw@80000000 {
no-map;
};
};
-
- vdd_sdcard: vdd-sdcard {
- compatible = "regulator-fixed";
- regulator-name = "vdd_sdcard";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
};
&arm_wdt {
@@ -56,6 +49,37 @@ &arm_wdt {
status = "okay";
};
+&scmi_regu {
+ scmi_vddio1: regulator@0 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ };
+ scmi_vddcore: regulator@11 {
+ reg = ;
+ regulator-name = "vddcore";
+ };
+ scmi_v1v8: regulator@14 {
+ reg = ;
+ regulator-name = "v1v8";
+ };
+ scmi_v3v3: regulator@16 {
+ reg = ;
+ regulator-name = "v3v3";
+ };
+ scmi_vdd_emmc: regulator@18 {
+ reg = ;
+ regulator-name = "vdd_emmc";
+ };
+ scmi_vdd3v3_usb: regulator@20 {
+ reg = ;
+ regulator-name = "vdd3v3_usb";
+ };
+ scmi_vdd_sdcard: regulator@23 {
+ reg = ;
+ regulator-name = "vdd_sdcard";
+ };
+};
+
&i2c2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c2_pins_a>;
@@ -85,7 +109,8 @@ &sdmmc1 {
disable-wp;
st,neg-edge;
bus-width = <4>;
- vmmc-supply = <&vdd_sdcard>;
+ vmmc-supply = <&scmi_vdd_sdcard>;
+ vqmmc-supply = <&scmi_vddio1>;
status = "okay";
};