]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
riscv: dts: spacemit: adapt regulator node name to preferred form
authorYixun Lan <dlan@kernel.org>
Thu, 26 Feb 2026 09:35:00 +0000 (09:35 +0000)
committerYixun Lan <dlan@kernel.org>
Mon, 2 Mar 2026 11:43:40 +0000 (11:43 +0000)
The preferred node name for fixed-regulators has changed to pattern [1]:
 '^regulator(-[0-9]+v[0-9]+|-[0-9a-z-]+)?$'

Adjust all SpacemiT DT regulator node names to fix this.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20240426215147.3138211-1-robh@kernel.org
Link: https://lore.kernel.org/r/20260226-02-k1-regulator-names-v1-1-e87695d50159@kernel.org
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts

index ed88507b84e98d1454824a71ea01d50aac5350b3..404b69c47b91f8c37d74a3031dbad0d94a28d1b4 100644 (file)
@@ -33,7 +33,7 @@
                };
        };
 
-       pcie_vcc_3v3: pcie-vcc3v3 {
+       pcie_vcc_3v3: regulator-pcie-vcc3v3 {
                compatible = "regulator-fixed";
                regulator-name = "PCIE_VCC3V3";
                regulator-min-microvolt = <3300000>;
@@ -41,7 +41,7 @@
                regulator-always-on;
        };
 
-       reg_dc_in: dc-in-12v {
+       reg_dc_in: regulator-dc-in-12v {
                compatible = "regulator-fixed";
                regulator-name = "dc_in_12v";
                regulator-min-microvolt = <12000000>;
@@ -50,7 +50,7 @@
                regulator-always-on;
        };
 
-       reg_vcc_4v: vcc-4v {
+       reg_vcc_4v: regulator-vcc-4v {
                compatible = "regulator-fixed";
                regulator-name = "vcc_4v";
                regulator-min-microvolt = <4000000>;
@@ -60,7 +60,7 @@
                vin-supply = <&reg_dc_in>;
        };
 
-       usb3-vbus-5v {
+       regulator-usb3-vbus-5v {
                compatible = "regulator-fixed";
                regulator-name = "USB30_VBUS";
                regulator-min-microvolt = <5000000>;
@@ -70,7 +70,7 @@
                enable-active-high;
        };
 
-       usb3_hub_5v: usb3-hub-5v {
+       usb3_hub_5v: regulator-usb3-hub-5v {
                compatible = "regulator-fixed";
                regulator-name = "USB30_HUB";
                regulator-min-microvolt = <5000000>;
index e2702a781734beffb331982907a12b20009e37db..9959c8023ece076b6b2fcfc0c844bc5dba23dcc5 100644 (file)
@@ -21,7 +21,7 @@
                stdout-path = "serial0";
        };
 
-       reg_dc_in: dc-in-12v {
+       reg_dc_in: regulator-dc-in-12v {
                compatible = "regulator-fixed";
                regulator-name = "dc_in_12v";
                regulator-min-microvolt = <12000000>;
@@ -30,7 +30,7 @@
                regulator-always-on;
        };
 
-       reg_vcc_4v: vcc-4v {
+       reg_vcc_4v: regulator-vcc-4v {
                compatible = "regulator-fixed";
                regulator-name = "vcc_4v";
                regulator-min-microvolt = <4000000>;