File tree Expand file tree Collapse file tree
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree Original file line number Diff line number Diff line change 607607 };
608608
609609 gt1x: gt1x@14 {
610- compatible = "goodix,gt1x";
611- reg = <0x14>;
612- goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
613- goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>;
610+ compatible = "goodix,gt1x";
611+ reg = <0x14>;
612+ power-supply = <&vcc3v3_lcd>;
613+ goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
614+ goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>;
614615 };
615616
616617 sensor@4c {
Original file line number Diff line number Diff line change 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+ regulator-state-mem {
222+ regulator-off-in-suspend;
223+ };
224+ };
214225};
215226
216227&bus_apll {
233244 compatible = "sitronix,st7703", "simple-panel-dsi";
234245 reg = <0>;
235246 backlight = <&backlight>;
236- enable-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH >;
247+ power-supply = <&vcc18_lcd_n >;
237248 prepare-delay-ms = <2>;
238249 reset-delay-ms = <1>;
239250 init-delay-ms = <20>;
680691 };
681692
682693 gt1x: gt1x@14 {
683- compatible = "goodix,gt1x";
684- reg = <0x14>;
685- goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
686- goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>;
694+ compatible = "goodix,gt1x";
695+ reg = <0x14>;
696+ power-supply = <&vcc18_lcd_n>;
697+ goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
698+ goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>;
687699 };
688700
689701 sensor@4c {
You can’t perform that action at this time.
0 commit comments