Skip to content

Commit 8a67524

Browse files
JeffyCNCaesar-github
authored andcommitted
arm64: dts: rockchip: Add gt1x's power-supply for rk3326 linux evb board
Change-Id: I1c42b6bf1b07d0a5bab8a0d0e8637a9b3270aa6c Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
1 parent fadcf87 commit 8a67524

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3326-evb-linux-lp3-v10.dts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@
211211
BT,wake_host_irq = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
212212
status = "okay";
213213
};
214+
215+
vcc18_lcd_n: vcc18-lcd-n {
216+
compatible = "regulator-fixed";
217+
regulator-name = "vcc18_lcd_n";
218+
regulator-boot-on;
219+
gpio = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
220+
enable-active-high;
221+
};
214222
};
215223

216224
&bus_apll {
@@ -233,7 +241,7 @@
233241
compatible = "sitronix,st7703", "simple-panel-dsi";
234242
reg = <0>;
235243
backlight = <&backlight>;
236-
enable-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
244+
power-supply = <&vcc18_lcd_n>;
237245
prepare-delay-ms = <2>;
238246
reset-delay-ms = <1>;
239247
init-delay-ms = <20>;
@@ -682,6 +690,7 @@
682690
gt1x: gt1x@14 {
683691
compatible = "goodix,gt1x";
684692
reg = <0x14>;
693+
power-supply = <&vcc18_lcd_n>;
685694
goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
686695
goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>;
687696
};

0 commit comments

Comments
 (0)