]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Use "regulator-fixed" for btreg on px30-engicam for vcc3v3...
authorRob Herring (Arm) <robh@kernel.org>
Wed, 9 Apr 2025 20:50:46 +0000 (15:50 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 10 Apr 2025 08:58:11 +0000 (10:58 +0200)
The vcc3v3-btreg regulator only has 1 state and no state gpios defined,
so "regulator-gpio" is not the correct binding to use. "regulator-fixed"
is the correct binding to use. It supports an enable GPIO which is
needed in this case.

Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://lore.kernel.org/r/20250409205047.1522943-1-robh@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi
arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi
arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-edimm2.2.dts

index 1edfd643b25ae81ea538a6328fae645b5027ad60..a334ef0629d1bb8bd0d36c03245f7e970da7cabe 100644 (file)
@@ -31,7 +31,7 @@
        };
 
        vcc3v3_btreg: vcc3v3-btreg {
-               compatible = "regulator-gpio";
+               compatible = "regulator-fixed";
                enable-active-high;
                pinctrl-names = "default";
                pinctrl-0 = <&bt_enable_h>;
@@ -39,7 +39,6 @@
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
-               states = <3300000 0x0>;
        };
 
        vcc3v3_rf_aux_mod: regulator-vcc3v3-rf-aux-mod {
index 80db778c9684833c1d5b69ad55817d746facffae..b60e68faa83aa93bec04b11992b02c8ffbcbb405 100644 (file)
@@ -26,5 +26,5 @@
 };
 
 &vcc3v3_btreg {
-       enable-gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_HIGH>;
+       gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_HIGH>;
 };
index 165d09ccb942448c0b92bc7b148032238b4caa0b..5886b802c5202b79939794d182651c89adb1f57d 100644 (file)
@@ -39,5 +39,5 @@
 };
 
 &vcc3v3_btreg {
-       enable-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;
+       gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;
 };