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>
This commit is contained in:
Jamie McCrae 2025-01-29 10:30:26 +00:00 committed by Benjamin Cabé
commit 560db8509a
10 changed files with 11 additions and 3 deletions

View file

@ -5,6 +5,7 @@
config CLOCK_CONTROL_RTS5912_SCCON
bool "Realtek RTS5912 system clock controller driver"
depends on SOC_SERIES_RTS5912
default y if DT_HAS_REALTEK_RTS5912_SCCON_ENABLED
help
Enable support for RTS5912 system clock controller driver

View file

@ -12,13 +12,13 @@ config ILI9XXX
config ILI9XXX_READ
bool "Allow display_read API with ILI9XXX"
depends on ILI9XXX
help
Support display_read API with ILI9XXX controllers. This API is opt-in,
because it adds code overhead and is not very performant due to
the requirement to bitshift data read from the ILI9XXX. Note the
API only supports RGB565 mode.
config ILI9340
bool "ILI9340 display driver"
default y

View file

@ -5,6 +5,7 @@
config GPIO_RTS5912
bool "Realtek embedded controller (EC) gpio driver"
depends on SOC_SERIES_RTS5912
default y if DT_HAS_REALTEK_RTS5912_GPIO_ENABLED
help
Enable support for Realtek GPIO controller.

View file

@ -3,6 +3,7 @@
config INTC_MTK_ADSP
bool "MediaTek Audio DSP Interrupt Controller"
depends on SOC_FAMILY_MTK
help
Very simple cascaded interrupt controller consisting of two
bitfield registers (status and enable) and one mask value

View file

@ -17,4 +17,5 @@ config MBOX_NRF_VEVIF_EVENT_TX
config MBOX_NRF_VEVIF_EVENT_USE_54L_ERRATA_16
bool "Apply errata 16 for nRF54L series"
default y if SOC_SERIES_NRF54LX
depends on SOC_SERIES_NRF54LX
default y

View file

@ -5,6 +5,7 @@
config PINCTRL_REALTEK_RTS5912
bool "Pin controller driver for REALTEK RTS MCUs"
depends on SOC_SERIES_RTS5912
default y if DT_HAS_REALTEK_RTS5912_PINCTRL_ENABLED
help
Enable pin controller driver for REALTEK RTS MCUs

View file

@ -6,7 +6,7 @@
#
# SPDX-License-Identifier: Apache-2.0
config TDK_APEX
bool "TDK APEX features"
bool
menuconfig ICM42670
bool "ICM42670-P/-S Six-Axis Motion Tracking Device"

View file

@ -5,6 +5,7 @@
config UART_RTS5912
bool "UART driver for Realtek RTS5912 EC"
depends on SOC_SERIES_RTS5912
default y if DT_HAS_REALTEK_RTS5912_UART_ENABLED
select PINCTRL
select CLOCK_CONTROL

View file

@ -3,6 +3,7 @@
config MTK_ADSP_TIMER
bool "MediaTek Audio DSP timer"
depends on SOC_FAMILY_MTK
select TICKLESS_CAPABLE
select TIMER_HAS_64BIT_CYCLE_COUNTER
select SYSTEM_CLOCK_LOCK_FREE_COUNT

View file

@ -5,6 +5,7 @@
config REALTEK_RTS5912_RTMR
bool "Realtek RTS5912 RTOS Timer"
depends on SOC_SERIES_RTS5912
default y if DT_HAS_REALTEK_RTS5912_RTMR_ENABLED
select TICKLESS_CAPABLE
select SYSTEM_TIMER_HAS_DISABLE_SUPPORT