-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: spi: gecko: add new driver for SPI communication via EUSART
Added a new driver to support SPI communication via EUSART. Since the Silabs EFR32MG24 family SoCs have only one USART, EUSART support is necessary for implementing SPI functionality. Signed-off-by: Teresa Zepeda Ventura <[email protected]>
- Loading branch information
Showing
10 changed files
with
424 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Gecko SPI configuration option | ||
|
||
# Copyright (c) 2024 Daikin Comfort Technologies North America, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config SPI_GECKO_EUSART | ||
bool "Gecko EUSART SPI controller driver" | ||
default y | ||
depends on DT_HAS_SILABS_GECKO_SPI_EUSART_ENABLED | ||
depends on GPIO | ||
select SOC_GECKO_EUSART | ||
help | ||
Enable the EUSART SPI peripherals on Gecko |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# Copyright (c) 2019 Christian Taedcke <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config SPI_GECKO | ||
config SPI_GECKO_USART | ||
bool "Gecko SPI controller driver" | ||
default y | ||
depends on DT_HAS_SILABS_GECKO_SPI_USART_ENABLED | ||
|
Oops, something went wrong.