drivers: serial: Kconfig.nrfx: Filter out options unsupported on nRF54H20

On nRF54H20, only the new shim can be used and the enhanced poll out
cannot be enabled since there is no DPPI support for this SoC yet.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2024-01-31 15:20:20 +01:00 committed by Carles Cufí
commit 784688a511
2 changed files with 2 additions and 2 deletions

View file

@ -31,8 +31,7 @@ config UART_NRFX_UARTE
config UART_NRFX_UARTE_LEGACY_SHIM
bool "Legacy UARTE shim"
depends on UART_NRFX_UARTE
# NRF54L15 need new UARTE driver
depends on !SOC_SERIES_NRF54LX
depends on !SOC_SERIES_NRF54LX && !SOC_SERIES_NRF54HX
# New shim takes more ROM. Until it is fixed use legacy shim.
default y

View file

@ -23,6 +23,7 @@ config UART_$(nrfx_uart_num)_ENHANCED_POLL_OUT
depends on !SOC_SERIES_NRF54LX
default y
depends on HAS_HW_NRF_UARTE$(nrfx_uart_num)
depends on HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC
select NRFX_PPI if HAS_HW_NRF_PPI
select NRFX_DPPI if HAS_HW_NRF_DPPIC
help