2019-11-01 20:45:29 +08:00
|
|
|
# Atmel SAM SPI
|
|
|
|
|
2019-11-21 07:01:35 +08:00
|
|
|
# Copyright (c) 2019 Gerson Fernando Budke
|
2018-10-09 11:28:30 +08:00
|
|
|
# Copyright (c) 2018 qianfan Zhao
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-01-04 04:34:27 +08:00
|
|
|
# Workaround for not being able to have commas in macro arguments
|
|
|
|
DT_COMPAT_ATMEL_SAM_SPI := atmel,sam-spi
|
|
|
|
|
2020-04-23 20:06:55 +08:00
|
|
|
config SPI_SAM
|
2018-10-09 11:28:30 +08:00
|
|
|
bool "Atmel SAM series SPI driver"
|
2022-01-04 04:34:27 +08:00
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_ATMEL_SAM_SPI))
|
2018-10-09 11:28:30 +08:00
|
|
|
depends on SOC_FAMILY_SAM
|
2022-01-04 04:34:27 +08:00
|
|
|
depends on SPI
|
|
|
|
select GPIO
|
2018-10-09 11:28:30 +08:00
|
|
|
help
|
|
|
|
Enable support for the SAM SPI driver.
|