soc: sam0: Enable generic peripheral selection

Make sure that when e.g. CONFIG_SERIAL is set, CONFIG_UART_SAM0 is
selected automatically when the sam0 SoC family is used.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
This commit is contained in:
Benjamin Valentin 2019-03-22 16:23:04 +01:00 committed by Kumar Gala
commit 4d9486fc22
9 changed files with 9 additions and 0 deletions

View file

@ -7,6 +7,7 @@ if SOC_FAMILY_SAM
menuconfig SOC_FLASH_SAM
bool "Atmel SAM flash driver"
default y
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
help

View file

@ -7,6 +7,7 @@ if SOC_FAMILY_SAM0
menuconfig SOC_FLASH_SAM0
bool "Atmel SAM0 flash driver"
default y
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
help

View file

@ -5,6 +5,7 @@
menuconfig GPIO_SAM
bool "Atmel SAM GPIO (PORT) driver"
default y
depends on SOC_FAMILY_SAM
select HAS_DTS_GPIO
help

View file

@ -5,6 +5,7 @@
menuconfig GPIO_SAM0
bool "Atmel SAM0 GPIO (PORT) driver"
default y
depends on SOC_FAMILY_SAM0
select HAS_DTS_GPIO
help

View file

@ -5,6 +5,7 @@
menuconfig PINMUX_SAM0
bool "Atmel SAM0 pin multiplexer driver"
default y
depends on SOC_FAMILY_SAM0
help
Enable support for the Atmel SAM0 PORT pin multiplexer.

View file

@ -5,6 +5,7 @@
menuconfig UART_SAM0
bool "Atmel SAM0 series SERCOM USART driver"
default y
depends on SOC_FAMILY_SAM0
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT

View file

@ -5,6 +5,7 @@
menuconfig SPI_SAM
bool "Atmel SAM series SPI driver"
default y
depends on SOC_FAMILY_SAM
help
Enable support for the SAM SPI driver.

View file

@ -5,6 +5,7 @@
menuconfig SPI_SAM0
bool "Atmel SAM0 series SERCOM SPI driver"
default y
depends on SOC_FAMILY_SAM0
help
Enable support for the SAM0 SERCOM SPI driver.

View file

@ -43,6 +43,7 @@ config USB_DC_STM32
config USB_DC_SAM0
bool "SAM0 series USB Device Controller driver"
default y
depends on SOC_FAMILY_SAM0
select USB_DEVICE_DRIVER
help