1.add option "CONFIG_LCD_REVERT_180_DEGREE" which can revert screen

2.Only 1 touch point by limited TP driver
This commit is contained in:
2025-01-16 14:45:35 +08:00
parent ff70049e3c
commit 685a474c8d
8 changed files with 23 additions and 6 deletions

View File

@@ -1421,7 +1421,7 @@
ctp_twi_addr = <0x1a>;
ctp_screen_max_x = <0x2d0>;
ctp_screen_max_y = <0x500>;
ctp_revert_x_flag = <0x0>;
ctp_revert_x_flag = <0x0>; // ref to hynitron_core.h
ctp_revert_y_flag = <0x1>;
ctp_exchange_x_y_flag = <0x1>;
ctp_int_port = <&pio PE 8 6 1 3 0xffffffff>;
@@ -1432,7 +1432,7 @@
//<&pio PE 8 0 0 1 0>;
hynitron,reset-gpio = <&pio PE 9 1 1 3 0xffffffff>;
//<&pio PE 9 1 0 1 0>;
hynitron,max-touch-number = <5>;
hynitron,max-touch-number = <1>;
hynitron,display-coords = <720 1280>;
hynitron,have-key;

View File

@@ -2035,6 +2035,7 @@ CONFIG_LOGO_BACK=y
# CONFIG_LCD_SUPPORT_ICN6202 is not set
CONFIG_LCD_SUPPORT_ICN6202_2LANE=y
# CONFIG_LCD_SUPPORT_NT35510_MIPI is not set
# CONFIG_LCD_REVERT_180_DEGREE is not set
#
# Display engine feature select

View File

@@ -1436,7 +1436,7 @@
ctp_twi_addr = <0x5a>;
ctp_screen_max_x = <0x2d0>;
ctp_screen_max_y = <0x500>;
ctp_revert_x_flag = <0x0>;
ctp_revert_x_flag = <0x0>; // ref to hynitron_core.h
ctp_revert_y_flag = <0x1>;
ctp_exchange_x_y_flag = <0x1>;
ctp_int_port = <&pio PH 13 7 1 3 0xffffffff>;
@@ -1447,7 +1447,7 @@
//<&pio PH 13 0 0 1 0>;
hynitron,reset-gpio = <&pio PH 14 1 1 3 0xffffffff>;
//<&pio PH 14 1 0 1 0>;
hynitron,max-touch-number = <5>;
hynitron,max-touch-number = <1>;
hynitron,display-coords = <720 1280>;
hynitron,have-key;

View File

@@ -2153,6 +2153,7 @@ CONFIG_LCD_SUPPORT_T050K589=y
CONFIG_LCD_SUPPORT_ICN6202=y
CONFIG_LCD_SUPPORT_ICN6202_2LANE=y
# CONFIG_LCD_SUPPORT_NT35510_MIPI is not set
# CONFIG_LCD_REVERT_180_DEGREE is not set
#
# Display engine feature select