Skip to content

Commit 560db85

Browse files
nordicjmkartben
authored andcommitted
drivers: kconfig: Fix bleeding options
Fixes a multitude of Kconfigs that wrongly appear on devices where support is literally impossible Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 0ef3801 commit 560db85

File tree

10 files changed

+11
-3
lines changed

10 files changed

+11
-3
lines changed

drivers/clock_control/Kconfig.rts5912

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
config CLOCK_CONTROL_RTS5912_SCCON
77
bool "Realtek RTS5912 system clock controller driver"
8+
depends on SOC_SERIES_RTS5912
89
default y if DT_HAS_REALTEK_RTS5912_SCCON_ENABLED
910
help
1011
Enable support for RTS5912 system clock controller driver

drivers/display/Kconfig.ili9xxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ config ILI9XXX
1212

1313
config ILI9XXX_READ
1414
bool "Allow display_read API with ILI9XXX"
15+
depends on ILI9XXX
1516
help
1617
Support display_read API with ILI9XXX controllers. This API is opt-in,
1718
because it adds code overhead and is not very performant due to
1819
the requirement to bitshift data read from the ILI9XXX. Note the
1920
API only supports RGB565 mode.
2021

21-
2222
config ILI9340
2323
bool "ILI9340 display driver"
2424
default y

drivers/gpio/Kconfig.rts5912

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
config GPIO_RTS5912
77
bool "Realtek embedded controller (EC) gpio driver"
8+
depends on SOC_SERIES_RTS5912
89
default y if DT_HAS_REALTEK_RTS5912_GPIO_ENABLED
910
help
1011
Enable support for Realtek GPIO controller.

drivers/interrupt_controller/Kconfig.mtk_adsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
config INTC_MTK_ADSP
55
bool "MediaTek Audio DSP Interrupt Controller"
6+
depends on SOC_FAMILY_MTK
67
help
78
Very simple cascaded interrupt controller consisting of two
89
bitfield registers (status and enable) and one mask value

drivers/mbox/Kconfig.nrf_vevif_event

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ config MBOX_NRF_VEVIF_EVENT_TX
1717

1818
config MBOX_NRF_VEVIF_EVENT_USE_54L_ERRATA_16
1919
bool "Apply errata 16 for nRF54L series"
20-
default y if SOC_SERIES_NRF54LX
20+
depends on SOC_SERIES_NRF54LX
21+
default y

drivers/pinctrl/Kconfig.realtek_rts5912

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
config PINCTRL_REALTEK_RTS5912
77
bool "Pin controller driver for REALTEK RTS MCUs"
8+
depends on SOC_SERIES_RTS5912
89
default y if DT_HAS_REALTEK_RTS5912_PINCTRL_ENABLED
910
help
1011
Enable pin controller driver for REALTEK RTS MCUs

drivers/sensor/tdk/icm42670/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
# SPDX-License-Identifier: Apache-2.0
88
config TDK_APEX
9-
bool "TDK APEX features"
9+
bool
1010

1111
menuconfig ICM42670
1212
bool "ICM42670-P/-S Six-Axis Motion Tracking Device"

drivers/serial/Kconfig.realtek_rts5912

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
config UART_RTS5912
77
bool "UART driver for Realtek RTS5912 EC"
8+
depends on SOC_SERIES_RTS5912
89
default y if DT_HAS_REALTEK_RTS5912_UART_ENABLED
910
select PINCTRL
1011
select CLOCK_CONTROL

drivers/timer/Kconfig.mtk_adsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
config MTK_ADSP_TIMER
55
bool "MediaTek Audio DSP timer"
6+
depends on SOC_FAMILY_MTK
67
select TICKLESS_CAPABLE
78
select TIMER_HAS_64BIT_CYCLE_COUNTER
89
select SYSTEM_CLOCK_LOCK_FREE_COUNT

drivers/timer/Kconfig.realtek_rts5912_rtmr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
config REALTEK_RTS5912_RTMR
77
bool "Realtek RTS5912 RTOS Timer"
8+
depends on SOC_SERIES_RTS5912
89
default y if DT_HAS_REALTEK_RTS5912_RTMR_ENABLED
910
select TICKLESS_CAPABLE
1011
select SYSTEM_TIMER_HAS_DISABLE_SUPPORT

0 commit comments

Comments
 (0)