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>
30 lines
716 B
Text
30 lines
716 B
Text
# Copyright (c) 2024, Yishai Jaffe
|
|
# Copyright (c) 2025, Silicon Laboratories Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_SILABS_EUSART
|
|
bool "Silabs EUSART UART driver"
|
|
default y
|
|
depends on DT_HAS_SILABS_EUSART_UART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
select SILABS_SISDK_EUSART
|
|
select SERIAL_SUPPORT_ASYNC \
|
|
if DT_HAS_SILABS_LDMA_ENABLED
|
|
select DMA if UART_ASYNC_API
|
|
select PINCTRL
|
|
select CLOCK_CONTROL
|
|
help
|
|
Enable the eusart uart driver.
|
|
|
|
if UART_SILABS_EUSART
|
|
|
|
config UART_SILABS_EUSART_ASYNC
|
|
bool
|
|
depends on DMA_SILABS_LDMA
|
|
depends on UART_ASYNC_API
|
|
default y
|
|
help
|
|
If 'y', Silabs eusart driver will compile with support for UART async API.
|
|
|
|
endif
|