lin
2025-03-21 c2c82c91f6acd44c57766034b6ced0c53c164a55
longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/lcd-lvds-7-1024-600.dtsi
....@@ -148,7 +148,7 @@
148148 lcd_used = <1>;
149149
150150 lcd_driver_name = "default_lcd";
151
- lcd_backlight = <100>;
151
+ lcd_backlight = <255>;
152152 lcd_if = <3>;
153153
154154 lcd_x = <1024>;
....@@ -194,3 +194,25 @@
194194 pinctrl-1 = <&lvds0_pins_b>;
195195 };
196196 };
197
+
198
+&twi0 {
199
+ ctp {
200
+ compatible = "gt9xx_ts";
201
+ ctp_used = <1>;
202
+ device_type = "ctp";
203
+ status = "okay";
204
+ ctp_twi_id = <0x0>;
205
+ ctp_name = "gt9xx";
206
+ reg = <0x5D>;
207
+ ctp_screen_max_x = <1024>;
208
+ ctp_screen_max_y = <600>;
209
+ ctp_revert_x_flag = <0x0>;
210
+ ctp_revert_y_flag = <0x0>;
211
+ ctp_exchange_x_y_flag = <0x0>;
212
+ ctp_int_port = <&pio PE 3 6 0xffffffff 0xffffffff 0>;
213
+ ctp_wakeup = <&pio PE 4 1 0xffffffff 0xffffffff 1>;
214
+ ctp_power_ldo = <3300>;
215
+ ctp_power_ldo_vol = <3300>;
216
+ ctp_power = <3300>;
217
+ };
218
+};