summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-03-05 22:17:38 +1030
committerJoel Stanley <joel@jms.id.au>2018-04-11 13:12:46 +0930
commit5060ddd57d303d07178b0d98035e8fb3499c823b (patch)
tree1a5e8a809ef9f4069914d9cd5c0c4df973aa9fbf /include/uapi/linux
parent1901c5ec54cacb0def9f30e6e4fc0d80a1863211 (diff)
downloadtalos-obmc-linux-5060ddd57d303d07178b0d98035e8fb3499c823b.tar.gz
talos-obmc-linux-5060ddd57d303d07178b0d98035e8fb3499c823b.zip
serial: 8250: Add Nuvoton NPCM UART
The Nuvoton UART is almost compatible with the 8250 driver when probed via the 8250_of driver, however it requires some extra configuration at startup. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit f597fbce38d230af95384f4a04e0a13a1d0ad45d) Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/serial_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/serial_core.h b/include/uapi/linux/serial_core.h
index c34a2a3eeff5..ae23b3e22048 100644
--- a/include/uapi/linux/serial_core.h
+++ b/include/uapi/linux/serial_core.h
@@ -76,6 +76,9 @@
#define PORT_SUNZILOG 38
#define PORT_SUNSAB 39
+/* Nuvoton UART */
+#define PORT_NPCM 40
+
/* DEC */
#define PORT_DZ 46
#define PORT_ZS 47
OpenPOWER on IntegriCloud