summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-03-05 12:47:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 20:01:19 +0100
commitf597fbce38d230af95384f4a04e0a13a1d0ad45d (patch)
tree0c92aa8862321fcde7d69aec0bb0035472f909d4 /include
parentserial: mxs-auart: disable clks of Alphascale ASM9260 (diff)
downloadlinux-f597fbce38d230af95384f4a04e0a13a1d0ad45d.tar.xz
linux-f597fbce38d230af95384f4a04e0a13a1d0ad45d.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>
Diffstat (limited to 'include')
-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 1c8413f93e3d..dce5f9dae121 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
+
/* Intel EG20 */
#define PORT_PCH_8LINE 44
#define PORT_PCH_2LINE 45