arm64: dts: rockchip: fix supplies for pwm regulators
authorHeiko Stuebner <heiko@sntech.de>
Mon, 27 Dec 2021 23:45:29 +0000 (00:45 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 18 Feb 2022 23:14:03 +0000 (00:14 +0100)
The supply-name for pwm-regualators is "pwm", so the property
needs to be pwm-supply, not vin-supply as in a number of boards.

In all cases changed here, the supplying regulator is always
an always-on fixed-regulator, so there will be no functional
change and only a change in the regulator hirarchy, as can be seen
for example in the regulator-summary.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20211227234529.1970281-2-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dts
arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi

index 65d659d560412bffa36cf6442d7cb90a475735f4..19683f1dbf931adafab0e78190e163106fddab28 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc_sys>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <430000>;
                regulator-max-microvolt = <1400000>;
-               vin-supply = <&vcc_sys>;
        };
 };
 
index f1fcc6b5b402c7e95f72bf2571587951bdedfe2e..7ba3ed24084b8465b8cd1adf30ed9f24cee64fda 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vsys_3v3>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
-               vin-supply = <&vsys_3v3>;
        };
 
        vsys: vsys {
index e890166e7fd43701c0c5febe1d78acce77ccf354..5bbe74bed0eaf5829dbf9a8cc9da122a998e8ccd 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc5v0_sys>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
-               vin-supply = <&vcc5v0_sys>;
        };
 };
 
index 04b54abea3cc070511fd082e7a2f26e06e97338b..9d3a718f66f62937ab04a857b0c706980520fb9a 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc_sys>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
-               vin-supply = <&vcc_sys>;
        };
 };
 
index c2f021a1a18f05ebb14234528748b95a534143d6..8a048ddc9505892a7c72497b7b0cc858b1dd358f 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc_sysin>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
-               vin-supply = <&vcc_sysin>;
 
                regulator-state-mem {
                        regulator-on-in-suspend;
index 92acf6ea299b2a404b9ad52f132fc366477cd7f6..401e1ae9d94432c19b5c271fec9329c3a695cd05 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc5v0_sys>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
-               vin-supply = <&vcc5v0_sys>;
        };
 };
 
index 83db4ca6733497f5f58ead361da7a94c247dfbe6..45e77f86d3294067dd47adbc955af280658198bb 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc5v0_sys>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1700000>;
-               vin-supply = <&vcc5v0_sys>;
        };
 };
 
index 46b0f97a0b1c323b9ff2d9f95234c04680abe127..2aa0fad8f893f402b45ab82bb057e2fd6ed40005 100644 (file)
        vdd_log: vdd-log {
                compatible = "pwm-regulator";
                pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc_sys>;
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
-               vin-supply = <&vcc_sys>;
        };
 };