Skip to content

Commit 63769bd

Browse files
galakcarlescufi
authored andcommitted
drivers: display: Remove unnecessary Kconfig settings
Have the display enabled in devicetree will now get the driver enabled by default when CONFIG_DISPLAY=y is set. So we can remove setting driver enabling Kconfig values in various .conf and defconfig files. Signed-off-by: Kumar Gala <[email protected]>
1 parent 902f42f commit 63769bd

File tree

23 files changed

+4
-120
lines changed

23 files changed

+4
-120
lines changed

boards/arm/bl5340_dvk/Kconfig.defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ DT_COMPAT_TI_TCA9538 := ti,tca9538
9393
config I2C
9494
default $(dt_compat_on_bus,$(DT_COMPAT_TI_TCA9538),i2c)
9595

96-
# enable SPI when enabling display drivers (for ILI9341)
97-
config SPI
98-
default y if DISPLAY
99-
10096
endif # BOARD_BL5340_DVK_CPUAPP || BOARD_BL5340_DVK_CPUAPP_NS
10197

10298
config BOARD

boards/arm/pinetime_devkit0/Kconfig.defconfig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@ config BOARD
1111
config BT_CTLR
1212
default BT
1313

14-
if DISPLAY
15-
16-
config SPI
17-
default y
18-
19-
config ST7789V
20-
default y
21-
22-
endif # DISPLAY
23-
2414
if FLASH
2515

2616
config SPI

boards/arm/reel_board/Kconfig.defconfig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ endchoice
2424

2525
endif # FXOS8700
2626

27-
if DISPLAY
28-
29-
config SSD16XX
30-
default y
31-
32-
config SPI
33-
default y
34-
35-
endif # DISPLAY
36-
3727
if LVGL
3828

3929
choice LV_COLOR_DEPTH

boards/arm/stm32f429i_disc1/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ if BOARD_STM32F429I_DISC1
88
config BOARD
99
default "stm32f429i_disc1"
1010

11-
config SPI
12-
default y if DISPLAY
13-
1411
config MEMC
1512
default y if DISPLAY
1613

boards/posix/native_posix/Kconfig.defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ config UART_CONSOLE
5454

5555
endif # CONSOLE
5656

57-
config SDL_DISPLAY
58-
default y
59-
depends on DISPLAY
60-
6157
config KSCAN_SDL
6258
default y
6359
depends on KSCAN

boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ config GPIO
88

99
if DISPLAY
1010

11-
config SPI
12-
default y
13-
1411
if KSCAN
1512

1613
config I2C

boards/shields/buydisplay_2_8_tft_touch_arduino/Kconfig.defconfig

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

66
if DISPLAY
77

8-
config SPI
9-
default y
10-
118
if KSCAN
129

1310
config I2C

boards/shields/buydisplay_3_5_tft_touch_arduino/Kconfig.defconfig

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

66
if DISPLAY
77

8-
config SPI
9-
default y
10-
118
if KSCAN
129

1310
config I2C

boards/shields/ls0xx_generic/Kconfig.defconfig

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

66
if DISPLAY
77

8-
config SPI
9-
default y
10-
11-
config LS0XX
12-
default y
13-
148
if LVGL
159

1610
config LV_Z_VDB_SIZE

boards/shields/max7219/Kconfig.defconfig

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)