]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3399-puma: Restore correct VDD_LOG supply.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Fri, 19 Feb 2021 00:29:48 +0000 (01:29 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 30 Mar 2021 08:53:00 +0000 (16:53 +0800)
A commit from last year re-imported the DTS files form the upstream kernel.
By doing so the VDD_LOG regulator in the board's DTS was dropped.
Let's restore this, but move it into the u-boot overlay to prevent this
issue in the future.

Fixes: 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi

index e7a1aea3a56fd0b18fc8986aa6d946352ed57738..e0476ab25c9d7963f8c3b5e39b4e4872678084c8 100644 (file)
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
        };
+
+       vdd_log: vdd-log {
+               compatible = "pwm-regulator";
+               pwms = <&pwm2 0 25000 1>;
+               regulator-name = "vdd_log";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <800000>;
+               regulator-max-microvolt = <1400000>;
+               regulator-init-microvolt = <950000>;
+               vin-supply = <&vcc5v0_sys>;
+       };
 };
 
 &gpio1 {