1# Atmel SAM SERCOM configuration options
2
3# Copyright (c) 2017 Google LLC.
4# SPDX-License-Identifier: Apache-2.0
5
6config UART_SAM0
7	bool "Atmel SAM0 series SERCOM USART driver"
8	default y
9	depends on DT_HAS_ATMEL_SAM0_UART_ENABLED
10	select PINCTRL
11	select SERIAL_HAS_DRIVER
12	select SERIAL_SUPPORT_INTERRUPT
13	select SERIAL_SUPPORT_ASYNC if DT_HAS_ATMEL_SAM0_DMAC_ENABLED
14	help
15	  This option enables the SERCOMx USART driver for Atmel SAM0 MCUs.
16
17config UART_SAM0_ASYNC
18	bool "Async UART support for Atmel SAM0 series."
19	depends on DMA_SAM0
20	depends on UART_SAM0
21	depends on UART_ASYNC_API
22