]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: add vcc3v3-lcd-s0 regulator to roc-rk3576-pc
authorHeiko Stuebner <heiko@sntech.de>
Mon, 7 Jul 2025 16:49:05 +0000 (18:49 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 22 Aug 2025 21:20:59 +0000 (23:20 +0200)
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 <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250707164906.1445288-13-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts

index d4e437ea6cd8606f8d06639cb16d7257dc623aaf..d0ab1d1e0e119551e16b24f0c7d05aa1e376c13f 100644 (file)
                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;
        };
 
        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>;
                };