mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-23 12:56:08 +00:00
Switch the SoC device tree to define a single entry per SERCOM instead of one per mode. Define a Device Tree binding for the SAM0 SPI and use it instead of Kconfig for enabling / disabaling instances Switch the Arduino Zero, Adafruit Feather M0 Basic Proto, and Trinket M0 to use the new defintion. Add the APA102 LED that's on the Trinket as a test. Signed-off-by: Michael Hope <mlhx@google.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
13 lines
287 B
Plaintext
13 lines
287 B
Plaintext
# Kconfig - Atmel SAM0 SERCOM SPI
|
|
#
|
|
# Copyright (c) 2017 Google LLC.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig SPI_SAM0
|
|
bool "Atmel SAM0 series SERCOM SPI driver"
|
|
depends on SOC_FAMILY_SAM0
|
|
select HAS_DTS_SPI
|
|
default n
|
|
help
|
|
Enable support for the SAM0 SERCOM SPI driver.
|