]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
serial: 8250: Add OF support for Xscale variant
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 27 Jan 2019 01:04:04 +0000 (02:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2019 08:31:30 +0000 (09:31 +0100)
This adds support for device tree probing for the Intel
Xscale 8250 variant needed to support device tree on
the Intel IXP4xx platforms.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/8250.txt
drivers/tty/serial/8250/8250_of.c

index da50321da34ddaf789f9e57456c3494215d56b9d..3cba12f855b783b6d672e5935362b5a54080bcad 100644 (file)
@@ -21,6 +21,7 @@ Required properties:
        - "altr,16550-FIFO128"
        - "fsl,16550-FIFO64"
        - "fsl,ns16550"
+       - "intel,xscale-uart"
        - "ti,da830-uart"
        - "aspeed,ast2400-vuart"
        - "aspeed,ast2500-vuart"
index a1a85805d0104d17d22d2265645a9212d23e91a0..17da8af36aa1a674b3d5a680540c3b2c5057c5de 100644 (file)
@@ -327,6 +327,7 @@ static const struct of_device_id of_platform_serial_table[] = {
        { .compatible = "nvidia,tegra20-uart", .data = (void *)PORT_TEGRA, },
        { .compatible = "nxp,lpc3220-uart", .data = (void *)PORT_LPC3220, },
        { .compatible = "ralink,rt2880-uart", .data = (void *)PORT_RT2880, },
+       { .compatible = "intel,xscale-uart", .data = (void *)PORT_XSCALE, },
        { .compatible = "altr,16550-FIFO32",
                .data = (void *)PORT_ALTR_16550_F32, },
        { .compatible = "altr,16550-FIFO64",