diff options
author | Alexander Graf <agraf@suse.de> | 2018-01-25 12:05:55 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-28 12:27:36 -0500 |
commit | 6001985f92e4a99504343485bfe2c18940a41011 (patch) | |
tree | 49cd40e00fef73d73f5b4544336f098f74aa4ad6 /drivers/serial/Kconfig | |
parent | 958d55f26ce4cde87a0f7cc5d5379b193a90d816 (diff) |
bcm2835_pl011_serial: Add BCM2835 specific serial driver
On bcm2835 we need to ensure we only access serial devices that are
muxed to the serial output pins of the pin header. To achieve this
for the pl011 device, add a bcm2835 specific pl011 wrapper device
that does this check but otherwise behaves like a pl011 device.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 72281a7b64..3ffedba525 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -395,6 +395,15 @@ config BCM283X_MU_SERIAL help Select this to enable Mini-UART support on BCM283X family of SoCs. +config BCM283X_PL011_SERIAL + bool "Support for BCM283x PL011 UART" + depends on PL01X_SERIAL && ARCH_BCM283X + default y + help + Select this to enable an overriding PL011 driver for BCM283X SoCs + that supports automatic disable, so that it only gets used when + the UART is actually muxed. + config BCM6345_SERIAL bool "Support for BCM6345 UART" depends on DM_SERIAL && ARCH_BMIPS |