Skip to content

Commit ecefb5d

Browse files
soburikartben
authored andcommitted
drivers: input: ft5336: Enable interrupts in conjunction with DT config
Enabling `CONFIG_INPUT_FT5336_INTERRUPT` if the ft5336 node in DT has `int-gpios` property. As a result of this change, some boards can eliminate lines that explicitly configure `CONFIG_INPUT_FT5336_INTERRUPT`. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 5d23996 commit ecefb5d

File tree

14 files changed

+1
-63
lines changed

14 files changed

+1
-63
lines changed

boards/ezurio/bl5340_dvk/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ config BT_HCI_VS
7272
# https://www.buydisplay.com/2-8-inch-tft-touch-shield-for-arduino-w-capacitive-touch-screen-module
7373
if DISPLAY
7474

75-
config INPUT_FT5336_INTERRUPT
76-
default y
77-
7875
if LVGL
7976

8077
config LV_Z_VDB_SIZE

boards/m5stack/m5stack_core2/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ config GPIO_AXP192_INIT_PRIORITY
2323
config REGULATOR_FIXED_INIT_PRIORITY
2424
default 75
2525

26-
config INPUT_FT5336_INTERRUPT
27-
default y if INPUT
28-
2926
config INPUT
3027
default y
3128

boards/m5stack/m5stack_cores3/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
if BOARD_M5STACK_CORES3_ESP32S3_PROCPU || BOARD_M5STACK_CORES3_ESP32S3_PROCPU_SE
77

8-
config INPUT_FT5336_INTERRUPT
9-
default y if INPUT
10-
118
config INPUT
129
default y
1310

boards/nxp/rd_rw612_bga/Kconfig.defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ config LV_Z_FLUSH_THREAD
3030

3131
endif # LVGL
3232

33-
# Enable interrupt support when using FT5336 driver
34-
config INPUT_FT5336_INTERRUPT
35-
default y if INPUT
36-
3733
if DT_HAS_NXP_ENET_MAC_ENABLED && NETWORKING
3834

3935
config NET_L2_ETHERNET

boards/renesas/da1469x_dk_pro/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ endif # LVGL
2929

3030
if INPUT
3131

32-
config INPUT_FT5336_INTERRUPT
33-
default y
34-
3532
config LV_Z_POINTER_INPUT_MSGQ_COUNT
3633
default 70
3734

boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ if SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2 || SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2_NANO
55

66
if DISPLAY
77

8-
if INPUT
9-
10-
# NOTE: Enable if IRQ line is available (requires to solder jumper)
11-
config INPUT_FT5336_INTERRUPT
12-
default n
13-
14-
endif # INPUT
15-
168
if LVGL
179

1810
config LV_Z_VDB_SIZE

boards/shields/buydisplay_2_8_tft_touch_arduino/Kconfig.defconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ if SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO
55

66
if DISPLAY
77

8-
if INPUT
9-
10-
# NOTE: Enable if IRQ line is available (requires to solder jumper)
11-
config INPUT_FT5336_INTERRUPT
12-
default n
13-
14-
endif # INPUT
15-
168
if LVGL
179

1810
config LV_Z_VDB_SIZE

boards/shields/buydisplay_3_5_tft_touch_arduino/Kconfig.defconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ if SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO
55

66
if DISPLAY
77

8-
if INPUT
9-
10-
# NOTE: Enable if IRQ line is available (requires to solder jumper)
11-
config INPUT_FT5336_INTERRUPT
12-
default n
13-
14-
endif # INPUT
15-
168
if LVGL
179

1810
config LV_Z_VDB_SIZE

boards/shields/g1120b0mipi/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if LVGL
88
config INPUT
99
default y
1010

11-
config INPUT_FT5336_INTERRUPT
12-
default y
13-
1411
if MIPI_DSI_MCUX_2L
1512
# Enable color swap in driver
1613

boards/shields/rk043fn02h_ct/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if LVGL
88
config INPUT
99
default y
1010

11-
config INPUT_FT5336_INTERRUPT
12-
default y
13-
1411
# LVGL should allocate buffers equal to size of display
1512
config LV_Z_VDB_SIZE
1613
default 100

0 commit comments

Comments
 (0)