forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: serial: psoc6: Rework to support pinctrl
The current serial driver uses hard code configuration. Rework driver to use pinctrl and enable full configuration from device tree. Signed-off-by: Gerson Fernando Budke <[email protected]>
- Loading branch information
Showing
7 changed files
with
152 additions
and
88 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
# Cypress UART configuration | ||
# Cypress SCB[UART] configuration | ||
|
||
# Copyright (c) 2018 Cypress | ||
# Copyright (c) 2020 ATL Electronics | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
menuconfig UART_PSOC6 | ||
bool "PSoC6 MCU serial driver" | ||
select SERIAL_HAS_DRIVER | ||
config UART_PSOC6 | ||
bool "PSoC-6 MCU SCB serial driver" | ||
depends on SOC_FAMILY_PSOC6 | ||
select SERIAL_HAS_DRIVER | ||
help | ||
This option enables the UART driver for PSoC6 family of processors. | ||
|
||
config UART_PSOC6_UART_5 | ||
bool "Enable PSOC6 SCB6 as UART_5 on Port 5" | ||
depends on UART_PSOC6 | ||
help | ||
Enable support for UART_5 on port 5 in the driver. | ||
|
||
config UART_PSOC6_UART_6 | ||
bool "Enable PSOC6 SCB6 as UART_6 on Port 12" | ||
depends on UART_PSOC6 | ||
help | ||
Enable support for UART_6 on port 12 in the driver. | ||
This option enables the SCB[UART] driver for PSoC-6 SoC family. |
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