diff mbox series

arm64: dts: rockchip: Add regulators for pcie on rk3399-roc-pc

Message ID 8fa0c3da-b64d-f47f-a9eb-b3456a3fd073@fivetechno.de (mailing list archive)
State Mainlined
Commit ec5b0af7da34fc1f62fdb93d6f7dad52369f6509
Headers show
Series arm64: dts: rockchip: Add regulators for pcie on rk3399-roc-pc | expand

Commit Message

Markus Reichl Nov. 11, 2019, 2:21 p.m. UTC
Add regulators to pcie node from schematics.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
 .../boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts      |  2 ++
 arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi        | 10 ++++++++++
 2 files changed, 12 insertions(+)

Comments

Heiko Stuebner Nov. 14, 2019, 9:37 a.m. UTC | #1
Hi Markus,

Am Montag, 11. November 2019, 15:21:39 CET schrieb Markus Reichl:
> Add regulators to pcie node from schematics.
> 
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>

applied for 5.6 (probably).

"git am", really didn't like your multipart/mime message though
and I had to fix it up to apply. Please check your mail settings.

Thanks
Heiko
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts
index d6b3042cffa9..2c9c13a0fca9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts
@@ -50,6 +50,8 @@ 
 	pinctrl-names = "default";
 	pinctrl-0 = <&pcie_perst>;
 	vpcie3v3-supply = <&vcc3v3_pcie>;
+	vpcie1v8-supply = <&vcc1v8_pmu>;
+	vpcie0v9-supply = <&vcca_0v9>;
 	status = "okay";
 };
 
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
index 287f97488f65..2ef8ee2eae02 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
@@ -145,6 +145,16 @@ 
 		vin-supply = <&dc_12v>;
 	};
 
+	vcca_0v9: vcca-0v9 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcca_0v9";
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <900000>;
+		regulator-max-microvolt = <900000>;
+		vin-supply = <&vcc3v3_sys>;
+	};
+
 	/* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
 	vcc5v0_host: vcc5v0-host-regulator {
 		compatible = "regulator-fixed";