From nobody Sun Feb 8 07:21:37 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF900EB64DA for ; Wed, 12 Jul 2023 14:25:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232113AbjGLOZ6 (ORCPT ); Wed, 12 Jul 2023 10:25:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232557AbjGLOZb (ORCPT ); Wed, 12 Jul 2023 10:25:31 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44A6E1BCC; Wed, 12 Jul 2023 07:25:19 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CB1Lf3022857; Wed, 12 Jul 2023 16:24:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=iaIV6DISVk6XJocT5Ewl4nk8vCv15IAYv5z0b1bNF4o=; b=mbr1pzIkllDOkU9VcfuMXYCKai2Ql+cYkVyYp+G7Fe8n657E+hfAncHI9xPFVMOg9crx XgBsq3Ye1GKjuVccbkMGo/e7sp0KRVmeQIpKYaqoxTQD4UPYxXMd4vFRCyE0j04aUYPi V53nd3C9saGRGxpMLltkFAQyFjnWM6ugq1KBAnEOVFtYpUaO2ItLLeldiAzfZpF52h5P 7fPYKBM+0RQLPsP+kJERjG6LLEKxfKWLuZ2gsBzd+Ihu2IeuRp4fCS8Pn7ADDXZXoDZv 7+wJwCMTCIKBPR43RTwi2Y5/UQLkiuET6oJ1RIu3cx6VhCo6S1/Ph5cTpVk/2hRiuITm IQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3rsr19b146-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 16:24:40 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 25F6510005E; Wed, 12 Jul 2023 16:24:39 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1E73E21BF65; Wed, 12 Jul 2023 16:24:39 +0200 (CEST) Received: from localhost (10.252.136.3) 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.21; Wed, 12 Jul 2023 16:24:36 +0200 From: To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Russell King , Liam Girdwood , Mark Brown , Arnd Bergmann , Claudiu Beznea , Greg Kroah-Hartman , Fabrice Gasnier , Alexander Stein , Geert Uytterhoeven , , , , CC: , Etienne Carriere Subject: [PATCH 1/4] dt-bindings: rcc: stm32: add STM32MP13 SCMI regulators IDs Date: Wed, 12 Jul 2023 16:24:29 +0200 Message-ID: <20230712142432.1885162-2-p.paillet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230712142432.1885162-1-p.paillet@foss.st.com> References: <20230712142432.1885162-1-p.paillet@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.252.136.3] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_09,2023-07-11_01,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Etienne Carriere Adds SCMI regulator identifiers for STM32MP13x family. Signed-off-by: Etienne Carriere Signed-off-by: Pascal Paillet Acked-by: Conor Dooley --- .../regulator/st,stm32mp13-regulator.h | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 include/dt-bindings/regulator/st,stm32mp13-regulator.h diff --git a/include/dt-bindings/regulator/st,stm32mp13-regulator.h b/inclu= de/dt-bindings/regulator/st,stm32mp13-regulator.h new file mode 100644 index 000000000000..b3a974dfc585 --- /dev/null +++ b/include/dt-bindings/regulator/st,stm32mp13-regulator.h @@ -0,0 +1,42 @@ +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ +/* + * Copyright (C) 2022, STMicroelectronics - All Rights Reserved + */ + +#ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H +#define __DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H + +/* SCMI voltage domains identifiers */ + +/* SOC Internal regulators */ +#define VOLTD_SCMI_REG11 0 +#define VOLTD_SCMI_REG18 1 +#define VOLTD_SCMI_USB33 2 +#define VOLTD_SCMI_SDMMC1_IO 3 +#define VOLTD_SCMI_SDMMC2_IO 4 +#define VOLTD_SCMI_VREFBUF 5 + +/* STPMIC1 regulators */ +#define VOLTD_SCMI_STPMIC1_BUCK1 6 +#define VOLTD_SCMI_STPMIC1_BUCK2 7 +#define VOLTD_SCMI_STPMIC1_BUCK3 8 +#define VOLTD_SCMI_STPMIC1_BUCK4 9 +#define VOLTD_SCMI_STPMIC1_LDO1 10 +#define VOLTD_SCMI_STPMIC1_LDO2 11 +#define VOLTD_SCMI_STPMIC1_LDO3 12 +#define VOLTD_SCMI_STPMIC1_LDO4 13 +#define VOLTD_SCMI_STPMIC1_LDO5 14 +#define VOLTD_SCMI_STPMIC1_LDO6 15 +#define VOLTD_SCMI_STPMIC1_VREFDDR 16 +#define VOLTD_SCMI_STPMIC1_BOOST 17 +#define VOLTD_SCMI_STPMIC1_PWR_SW1 18 +#define VOLTD_SCMI_STPMIC1_PWR_SW2 19 + +/* External regulators */ +#define VOLTD_SCMI_REGU0 20 +#define VOLTD_SCMI_REGU1 21 +#define VOLTD_SCMI_REGU2 22 +#define VOLTD_SCMI_REGU3 23 +#define VOLTD_SCMI_REGU4 24 + +#endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H */ --=20 2.25.1 From nobody Sun Feb 8 07:21:37 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02505EB64DA for ; Wed, 12 Jul 2023 14:25:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233082AbjGLOZm (ORCPT ); Wed, 12 Jul 2023 10:25:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231893AbjGLOZb (ORCPT ); Wed, 12 Jul 2023 10:25:31 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 409BA1BCB; Wed, 12 Jul 2023 07:25:19 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CAr7Cq022859; Wed, 12 Jul 2023 16:24:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=bnK9OMExY2xUPrMO6NdrFFXOkm8tCHUzxNMKfOVmGvI=; b=zfBYzISLPlRLVoL7pxfvP9QDoBhxRC7wxo9lGZLDfyeU/myWhlnSyj+uIf2w3TyABcBf g0RIDQlN57YuIn7yt2dPRusyc3WopXKxZr4JiZ6l7taajxy/o+Hpp6IZvgsE3wyUYadh CyGsE75X8CRKdISKgG603OLPkJ6rquqfeh7AeARSDM6+2Ja7kkM0ppmocuwtQ3MQDqU7 BXnl+XqZXVlyZeNy0fvJn4p2d64R3nCZgAEfamVkeFLLBj2jAc7qQawDWspvEh16/d/M Tzc5C6TZugEWOBGaIWPHVVQoNPeSUNtJtlw7DGN5zZvmdX3ZbYuQtWP41hJghuckoEib 5A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3rsr19b147-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 16:24:41 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 96029100064; Wed, 12 Jul 2023 16:24:39 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5A1EF21BF67; Wed, 12 Jul 2023 16:24:38 +0200 (CEST) Received: from localhost (10.252.136.3) 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.21; Wed, 12 Jul 2023 16:24:37 +0200 From: To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Russell King , Liam Girdwood , Mark Brown , Arnd Bergmann , Claudiu Beznea , Greg Kroah-Hartman , Fabrice Gasnier , Alexander Stein , Geert Uytterhoeven , , , , CC: , Etienne Carriere Subject: [PATCH 2/4] ARM: dts: stm32: STM32MP13x SoC exposes SCMI regulators Date: Wed, 12 Jul 2023 16:24:30 +0200 Message-ID: <20230712142432.1885162-3-p.paillet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230712142432.1885162-1-p.paillet@foss.st.com> References: <20230712142432.1885162-1-p.paillet@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.252.136.3] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_09,2023-07-11_01,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Etienne Carriere Updates STM32MP13x SoC DTSI file to define the SoC voltage regulators exposed by OP-TEE SCMI service and remove the fixed regulator abstraction previously used until OP-TEE OS firmware embeds the service which it does since its release tag 3.22.0. Signed-off-by: Etienne Carriere Signed-off-by: Pascal Paillet --- arch/arm/boot/dts/st/stm32mp131.dtsi | 50 ++++++++++++++-------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/st= m32mp131.dtsi index 672f3b7735a2..ac90fcbf0c09 100644 --- a/arch/arm/boot/dts/st/stm32mp131.dtsi +++ b/arch/arm/boot/dts/st/stm32mp131.dtsi @@ -52,6 +52,28 @@ scmi_reset: protocol@16 { reg =3D <0x16>; #reset-cells =3D <1>; }; + + scmi_voltd: protocol@17 { + reg =3D <0x17>; + + scmi_regu: regulators { + #address-cells =3D <1>; + #size-cells =3D <0>; + + scmi_reg11: regulator@0 { + reg =3D ; + regulator-name =3D "reg11"; + }; + scmi_reg18: regulator@1 { + reg =3D ; + regulator-name =3D "reg18"; + }; + scmi_usb33: regulator@2 { + reg =3D ; + regulator-name =3D "usb33"; + }; + }; + }; }; }; =20 @@ -78,28 +100,6 @@ timer { always-on; }; =20 - /* PWR 1v1, 1v8 and 3v3 regulators defined as fixed, waiting for SCMI */ - reg11: reg11 { - compatible =3D "regulator-fixed"; - regulator-name =3D "reg11"; - regulator-min-microvolt =3D <1100000>; - regulator-max-microvolt =3D <1100000>; - }; - - reg18: reg18 { - compatible =3D "regulator-fixed"; - regulator-name =3D "reg18"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - }; - - usb33: usb33 { - compatible =3D "regulator-fixed"; - regulator-name =3D "usb33"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - }; - soc { compatible =3D "simple-bus"; #address-cells =3D <1>; @@ -801,7 +801,7 @@ usbotg_hs: usb@49000000 { g-tx-fifo-size =3D <256 16 16 16 16 16 16 16>; dr_mode =3D "otg"; otg-rev =3D <0x200>; - usb33d-supply =3D <&usb33>; + usb33d-supply =3D <&scmi_usb33>; status =3D "disabled"; }; =20 @@ -1331,8 +1331,8 @@ usbphyc: usbphyc@5a006000 { reg =3D <0x5a006000 0x1000>; clocks =3D <&rcc USBPHY_K>; resets =3D <&rcc USBPHY_R>; - vdda1v1-supply =3D <®11>; - vdda1v8-supply =3D <®18>; + vdda1v1-supply =3D <&scmi_reg11>; + vdda1v8-supply =3D <&scmi_reg18>; status =3D "disabled"; =20 usbphyc_port0: usb-phy@0 { --=20 2.25.1 From nobody Sun Feb 8 07:21:37 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C09F8EB64D9 for ; Wed, 12 Jul 2023 14:25:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232165AbjGLOZx (ORCPT ); Wed, 12 Jul 2023 10:25:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232432AbjGLOZb (ORCPT ); Wed, 12 Jul 2023 10:25:31 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93FD71998; Wed, 12 Jul 2023 07:25:21 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CCt4ES013152; Wed, 12 Jul 2023 16:24:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=tf52zjVbeZ9FyRb7xOYnVur943iT9URER5nDBPNhnZM=; b=eMV3sUk9lrxX7s8pxd5xoEY9O0Gz34Zw6D4zWd6dKo6wyDZlLvERoctn9xHd1AQQ/CYL RIyv/Atfz0e2sSMjPBWuANfKadIDbtbQmHqUoS/gPl/ioQG1K6YwTsyZgMYTMHCYkQg6 Y78BHvg232myCIZ8AgafjLLfWfqCcAbBtH253/6Qmij1JFte+o7eoLyRAmKt9FV0NIYj rqbrUuMA7ux4G9csgynuYr/z7O77aFxpXbmQb1XRRRNm/Cx3pYkBlj4vIFRkA27qo6qG Uv1eMoHM1449I89l6Nw2mp/ZsjR0HxCQ5DFG0csdkXieT05FOPLZfR1n6CQdrt0RD3MQ tg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3rss5j28wv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 16:24:39 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 108B810005B; Wed, 12 Jul 2023 16:24:39 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 074B021BF65; Wed, 12 Jul 2023 16:24:39 +0200 (CEST) Received: from localhost (10.252.136.3) 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.21; Wed, 12 Jul 2023 16:24:38 +0200 From: To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Russell King , Liam Girdwood , Mark Brown , Arnd Bergmann , Claudiu Beznea , Greg Kroah-Hartman , Fabrice Gasnier , Alexander Stein , Geert Uytterhoeven , , , , CC: , Etienne Carriere Subject: [PATCH 3/4] ARM: dts: stm32: add SCMI PMIC regulators on stm32mp135f-dk board Date: Wed, 12 Jul 2023 16:24:31 +0200 Message-ID: <20230712142432.1885162-4-p.paillet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230712142432.1885162-1-p.paillet@foss.st.com> References: <20230712142432.1885162-1-p.paillet@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.252.136.3] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_09,2023-07-11_01,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Etienne Carriere Since OP-TEE release tag 3.22.0, OP-TEE SCMI service for STM32MP13x SoC family exposes PMIC voltage regulators. This change defines them in the platform DTS file and removes the fixed regulators that were previously defined to abstract them before OP-TEE firmware was ready. Signed-off-by: Etienne Carriere Signed-off-by: Pascal Paillet --- arch/arm/boot/dts/st/stm32mp135f-dk.dts | 68 +++++++++++-------------- 1 file changed, 30 insertions(+), 38 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st= /stm32mp135f-dk.dts index f0900ca672b5..eea740d097c7 100644 --- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts @@ -9,6 +9,7 @@ #include #include #include +#include #include "stm32mp135.dtsi" #include "stm32mp13xf.dtsi" #include "stm32mp13-pinctrl.dtsi" @@ -65,45 +66,13 @@ led-blue { default-state =3D "off"; }; }; - - v3v3_sw: v3v3-sw { - compatible =3D "regulator-fixed"; - regulator-name =3D "v3v3_sw"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - regulator-always-on; - }; - - vdd_adc: vdd-adc { - compatible =3D "regulator-fixed"; - regulator-name =3D "vdd_adc"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - regulator-always-on; - }; - - vdd_sd: vdd-sd { - compatible =3D "regulator-fixed"; - regulator-name =3D "vdd_sd"; - regulator-min-microvolt =3D <2900000>; - regulator-max-microvolt =3D <2900000>; - regulator-always-on; - }; - - vdd_usb: vdd-usb { - compatible =3D "regulator-fixed"; - regulator-name =3D "vdd_usb"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - regulator-always-on; - }; }; =20 &adc_1 { pinctrl-names =3D "default"; pinctrl-0 =3D <&adc1_usb_cc_pins_a>; - vdda-supply =3D <&vdd_adc>; - vref-supply =3D <&vdd_adc>; + vdda-supply =3D <&scmi_vdd_adc>; + vref-supply =3D <&scmi_vdd_adc>; status =3D "okay"; adc1: adc@0 { status =3D "okay"; @@ -195,6 +164,29 @@ &rtc { status =3D "okay"; }; =20 +&scmi_regu { + scmi_vdd_adc: regulator@10 { + reg =3D ; + regulator-name =3D "vdd_adc"; + }; + scmi_vdd_usb: regulator@13 { + reg =3D ; + regulator-name =3D "vdd_usb"; + }; + scmi_vdd_sd: regulator@14 { + reg =3D ; + regulator-name =3D "vdd_sd"; + }; + scmi_v1v8_periph: regulator@15 { + reg =3D ; + regulator-name =3D "v1v8_periph"; + }; + scmi_v3v3_sw: regulator@19 { + reg =3D ; + regulator-name =3D "v3v3_sw"; + }; +}; + &sdmmc1 { pinctrl-names =3D "default", "opendrain", "sleep"; pinctrl-0 =3D <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>; @@ -204,7 +196,7 @@ &sdmmc1 { disable-wp; st,neg-edge; bus-width =3D <4>; - vmmc-supply =3D <&vdd_sd>; + vmmc-supply =3D <&scmi_vdd_sd>; status =3D "okay"; }; =20 @@ -321,7 +313,7 @@ &usbh_ehci { hub@1 { compatible =3D "usb424,2514"; reg =3D <1>; - vdd-supply =3D <&v3v3_sw>; + vdd-supply =3D <&scmi_v3v3_sw>; }; }; =20 @@ -342,7 +334,7 @@ &usbphyc { }; =20 &usbphyc_port0 { - phy-supply =3D <&vdd_usb>; + phy-supply =3D <&scmi_vdd_usb>; st,current-boost-microamp =3D <1000>; st,decrease-hs-slew-rate; st,tune-hs-dc-level =3D <2>; @@ -356,7 +348,7 @@ &usbphyc_port0 { }; =20 &usbphyc_port1 { - phy-supply =3D <&vdd_usb>; + phy-supply =3D <&scmi_vdd_usb>; st,current-boost-microamp =3D <1000>; st,decrease-hs-slew-rate; st,tune-hs-dc-level =3D <2>; --=20 2.25.1 From nobody Sun Feb 8 07:21:37 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C4DFEB64DD for ; Wed, 12 Jul 2023 14:25:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231977AbjGLOZu (ORCPT ); Wed, 12 Jul 2023 10:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232580AbjGLOZb (ORCPT ); Wed, 12 Jul 2023 10:25:31 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 331D81995; Wed, 12 Jul 2023 07:25:21 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CAvLIq022875; Wed, 12 Jul 2023 16:24:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=IcqyTeLAeVhtdtveeoVoA1o7cESLgC6N68Fkz6p0bW8=; b=zhbjs4hJ7I/ZuuuXWi3pHlRgdZp2DGxPztjVyaP7DWMZ5vAdYmdDB3ze8mh4d/K+z9U0 b4e+ytgL6kK26y6O4OfnP9oMpdSS7d81EYJpSrS3N/pGpyYsCmMAKooa9+pvbzU8Irqa D4xLEb8QIOga565qnrw4vER9GtIHz6t1yzCt7y6386bum5ON4YHPLEdb89HNOA5kfcIn WqgtboE3Khss6DXtvkPGQUnWNAxImggNoFjk6h7L7Gm3tOVl3sGBX5ZD7xNvyuUB5GKQ iVcLj28xBqsl86fP1e0SE4+YRB7HNeThgsQOG7IjILqFEpRVjICabsQCVC5IGXxJ3muk 6A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3rsr19b145-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 16:24:40 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AC323100065; Wed, 12 Jul 2023 16:24:39 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A071D21BF68; Wed, 12 Jul 2023 16:24:39 +0200 (CEST) Received: from localhost (10.252.136.3) 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.21; Wed, 12 Jul 2023 16:24:38 +0200 From: To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Russell King , Liam Girdwood , Mark Brown , Arnd Bergmann , Claudiu Beznea , Greg Kroah-Hartman , Fabrice Gasnier , Alexander Stein , Geert Uytterhoeven , , , , CC: , Etienne Carriere Subject: [PATCH 4/4] ARM: multi_v7_defconfig: Add SCMI regulator support Date: Wed, 12 Jul 2023 16:24:32 +0200 Message-ID: <20230712142432.1885162-5-p.paillet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230712142432.1885162-1-p.paillet@foss.st.com> References: <20230712142432.1885162-1-p.paillet@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.252.136.3] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_09,2023-07-11_01,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Pascal Paillet Enable ARM SCMI regulator support. Signed-off-by: Pascal Paillet --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v= 7_defconfig index f0800f806b5f..524ca56f52d9 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -612,6 +612,7 @@ CONFIG_MFD_ACER_A500_EC=3Dm CONFIG_REGULATOR_ACT8865=3Dy CONFIG_REGULATOR_ACT8945A=3Dy CONFIG_REGULATOR_ANATOP=3Dy +CONFIG_REGULATOR_ARM_SCMI=3Dy CONFIG_REGULATOR_AB8500=3Dy CONFIG_REGULATOR_AS3711=3Dy CONFIG_REGULATOR_AS3722=3Dy --=20 2.25.1