This fixed regulator is described by the schematics as being part of the
baseboard and its output supply is then routed to the 30pin DSI connector
on the board.

Signed-off-by: Heiko Stuebner <he...@sntech.de>
---
 arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts 
b/arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts
index d4e437ea6cd8..d0ab1d1e0e11 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts
@@ -107,6 +107,18 @@ vcc1v8_ufs_vccq2_s0: regulator-vcc1v8-ufs-vccq2-s0 {
                vin-supply = <&vcc_1v8_s3>;
        };
 
+       vcc3v3_lcd_s0: regulator-vcc3v3-lcd-s0 {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&lcd_pwren_h>;
+               regulator-name = "vcc3v3-lcd-s0";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               vin-supply = <&vcc_3v3_s3>;
+       };
+
        vcc3v3_pcie: regulator-vcc3v3-pcie {
                compatible = "regulator-fixed";
                enable-active-high;
@@ -715,6 +727,10 @@ rtc_int_l: rtc-int-l {
        };
 
        power {
+               lcd_pwren_h: lcd-pwren-h {
+                       rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+
                vcc5vd_en: vcc5vd-en {
                        rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
                };
-- 
2.47.2

Reply via email to