diff mbox series

[1/2] arm64: dts: rockchip: define vdd_log on rk3399-puma

Message ID 20211227234529.1970281-1-heiko@sntech.de (mailing list archive)
State New
Headers show
Series [1/2] arm64: dts: rockchip: define vdd_log on rk3399-puma | expand

Commit Message

Heiko Stübner Dec. 27, 2021, 11:45 p.m. UTC
vdd_log supplied a lot of the logic parts of the soc and is
supplied through pwm2.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Heiko Stübner Feb. 19, 2022, 12:04 a.m. UTC | #1
On Tue, 28 Dec 2021 00:45:28 +0100, Heiko Stuebner wrote:
> vdd_log supplied a lot of the logic parts of the soc and is
> supplied through pwm2.

Applied, thanks!

[1/2] arm64: dts: rockchip: define vdd_log on rk3399-puma
      commit: e6bbf0d53ae1060ee6403bafcc4d1fd25d088e40
[2/2] arm64: dts: rockchip: fix supplies for pwm regulators
      commit: dc570e8e1a7036eaaeede71b55e14739710ea0a4

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
index fb67db4619ea..b91fb0b078b9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
@@ -71,6 +71,17 @@  vcc5v0_sys: vcc5v0-sys {
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
 	};
+
+	vdd_log: vdd-log {
+		compatible = "pwm-regulator";
+		pwms = <&pwm2 0 25000 1>;
+		pwm-supply = <&vcc5v0_sys>;
+		regulator-name = "vdd_log";
+		regulator-min-microvolt = <800000>;
+		regulator-max-microvolt = <1400000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
 };
 
 &cpu_b0 {