zephyr/drivers/serial/Kconfig.silabs_usart
Aksel Skauge Mellbye 440755bd9e soc: silabs: Move Kconfig symbols for HAL selection to HAL
The Kconfig symbols for selecting HAL content should be part
of the HAL module integration, not defined by the SoC. Split the
symbols between the Series 0/1 Gecko HAL and Series 2 SiSDK HAL
when moving them.

For now, the Series 0/1 HAL symbols retain their name, while new
names consistent with the symbols already defined in the module
integration layer are used for the Series 2 HAL.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00

29 lines
681 B
Text

# Copyright (c) 2025, Silicon Laboratories Inc.
# SPDX-License-Identifier: Apache-2.0
config UART_SILABS_USART
bool "Silabs USART UART driver"
default y
depends on DT_HAS_SILABS_USART_UART_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select SILABS_SISDK_USART
select SERIAL_SUPPORT_ASYNC \
if DT_HAS_SILABS_LDMA_ENABLED
select DMA if UART_ASYNC_API
select PINCTRL
select CLOCK_CONTROL
help
Enable the Silicon Labs usart driver.
if UART_SILABS_USART
config UART_SILABS_USART_ASYNC
bool
default y
depends on DMA_SILABS_LDMA
depends on UART_ASYNC_API
help
If 'y', Silabs usart driver will compile with support for UART async API.
endif