# Atmel SAM SPI | |
# Copyright (c) 2019 Gerson Fernando Budke | |
# Copyright (c) 2018 qianfan Zhao | |
# SPDX-License-Identifier: Apache-2.0 | |
# Workaround for not being able to have commas in macro arguments | |
DT_COMPAT_ATMEL_SAM_SPI := atmel,sam-spi | |
config SPI_SAM | |
bool "Atmel SAM series SPI driver" | |
default $(dt_compat_enabled,$(DT_COMPAT_ATMEL_SAM_SPI)) | |
depends on SOC_FAMILY_SAM | |
depends on SPI | |
select GPIO | |
help | |
Enable support for the SAM SPI driver. |