summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/Makefile
diff options
context:
space:
mode:
authorMartin Sperl <kernel@martin.sperl.org>2016-01-17 12:15:30 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-06 23:13:30 -0800
commitbdc5f300958062a766518b81d5378f837149d5c1 (patch)
tree1ee51fc232c44c27788afbafdd1801e5a4b43dea /drivers/tty/serial/8250/Makefile
parent45d7e9a51c995b4732eeecc121f40798e2220bea (diff)
downloadtalos-obmc-linux-bdc5f300958062a766518b81d5378f837149d5c1.tar.gz
talos-obmc-linux-bdc5f300958062a766518b81d5378f837149d5c1.zip
serial: bcm2835: add driver for bcm2835-aux-uart
The bcm2835 SOC contains an auxiliary uart, which is very close to the ns16550 with some differences. The big difference is that the uart HW is not using an internal divider of 16 but 8, which results in an effictive baud-rate being twice the requested baud-rate. This driver handles this device correctly and handles the difference in the HW divider by scaling up the clock by a factor of 2. The approach to write a separate (wrapper) driver instead of using a multiplying clock and "ns16550" as compatibility in the device-tree has been recommended by Stephen Warren. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/Makefile')
-rw-r--r--drivers/tty/serial/8250/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile
index b9b9bca5b6c3..5c1869fdfd4c 100644
--- a/drivers/tty/serial/8250/Makefile
+++ b/drivers/tty/serial/8250/Makefile
@@ -12,6 +12,7 @@ obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o
obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o
obj-$(CONFIG_SERIAL_8250_CS) += serial_cs.o
obj-$(CONFIG_SERIAL_8250_ACORN) += 8250_acorn.o
+obj-$(CONFIG_SERIAL_8250_BCM2835AUX) += 8250_bcm2835aux.o
obj-$(CONFIG_SERIAL_8250_CONSOLE) += 8250_early.o
obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
OpenPOWER on IntegriCloud