]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sh-sci: Add h8300 SCI
authorYoshinori Sato <ysato@users.sourceforge.jp>
Tue, 27 Jan 2015 17:53:55 +0000 (02:53 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Tue, 23 Jun 2015 04:35:48 +0000 (13:35 +0900)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
drivers/tty/serial/Kconfig
drivers/tty/serial/sh-sci.c

index ae73bb0e9ad9e58b76c5d2976af09b3da56f3d4a..7534d46e9ad8438bdbf5363c5c7bc448791c2db1 100644 (file)
@@ -29,6 +29,7 @@ Required properties:
     - "renesas,scifa" for generic SCIFA compatible UART.
     - "renesas,scifb" for generic SCIFB compatible UART.
     - "renesas,hscif" for generic HSCIF compatible UART.
+    - "renesas,sci" for generic SCI compatible UART.
 
     When compatible with the generic version, nodes must list the
     SoC-specific version corresponding to the platform first followed by the
index f8120c1bde14760f306e425d4d0de2d23f26d0e2..dea1eff6a92c34426df5744501fdf01f806f878e 100644 (file)
@@ -728,7 +728,7 @@ config SERIAL_IP22_ZILOG_CONSOLE
 
 config SERIAL_SH_SCI
        tristate "SuperH SCI(F) serial port support"
-       depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
+       depends on SUPERH || ARCH_SHMOBILE || H8300 || COMPILE_TEST
        select SERIAL_CORE
 
 config SERIAL_SH_SCI_NR_UARTS
index e7d6566fafaf3da538788ef34260c6dd220dba5b..1468ec5047cc79d5e74fc44c5875fda986708207 100644 (file)
@@ -2535,6 +2535,12 @@ static const struct of_device_id of_sci_match[] = {
                        .type = PORT_HSCIF,
                        .regtype = SCIx_HSCIF_REGTYPE,
                },
+       }, {
+               .compatible = "renesas,sci",
+               .data = &(const struct sci_port_info) {
+                       .type = PORT_SCI,
+                       .regtype = SCIx_SCI_REGTYPE,
+               },
        }, {
                /* Terminator */
        },