arm64: dts: rockchip: fix supplies for pwm regulators

A patch from ťarm64: dts: rockchip: define vdd_log on rk3399-pumaŤ in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Tue, 28 Dec 2021 00:38:02 +0100

Commit-Message

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@...>

Patch-Comment

arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)

Statistics

  • 8 lines added
  • 8 lines removed

Changes

--------------- arch/arm64/boot/dts/rockchip/rk3399-firefly.dts ----------------
index c4dd2a6b4836..097b2488fb14 100644
@@ -245,12 +245,12 @@ vcc_sys: vcc-sys {
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>;
};
};
------------- arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi -------------
index f1fcc6b5b402..7ba3ed24084b 100644
@@ -80,12 +80,12 @@ vcc5v0_host: vcc5v0-host-regulator {
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 {
-------------- arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dts ---------------
index e890166e7fd4..5bbe74bed0ea 100644
@@ -102,12 +102,12 @@ vcc5v0_sys: vcc5v0-sys {
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>;
};
};
--------------- arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts ---------------
index 04b54abea3cc..9d3a718f66f6 100644
@@ -166,12 +166,12 @@ vcc_sys: vcc-sys {
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>;
};
};
------------- arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts -------------
index c2f021a1a18f..8a048ddc9505 100644
@@ -243,12 +243,12 @@ regulator-state-mem {
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;
-------------- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi --------------
index 92acf6ea299b..401e1ae9d944 100644
@@ -144,12 +144,12 @@ vcc_lan: vcc3v3-phy-regulator {
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>;
};
};
-------------- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi --------------
index 83db4ca67334..45e77f86d329 100644
@@ -213,12 +213,12 @@ vcc5v0_usb: vcc5v0-usb {
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>;
};
};
-------------- arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi ---------------
index 46b0f97a0b1c..2aa0fad8f893 100644
@@ -133,12 +133,12 @@ vcc_sys: vcc-sys {
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>;
};
};
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...