OSDN Git Service

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 ae73bb0..7534d46 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 f8120c1..dea1eff 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 e7d6566..1468ec5 100644 (file)
@@ -2536,6 +2536,12 @@ static const struct of_device_id of_sci_match[] = {
                        .regtype = SCIx_HSCIF_REGTYPE,
                },
        }, {
+               .compatible = "renesas,sci",
+               .data = &(const struct sci_port_info) {
+                       .type = PORT_SCI,
+                       .regtype = SCIx_SCI_REGTYPE,
+               },
+       }, {
                /* Terminator */
        },
 };