aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-04-22 11:22:21 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-30 12:26:55 -0400
commit1006ed7e1b258dac3e85c9fafe9d38b6020c917f (patch)
treee535eada02c7a282689e71e15b48afd72562954e /drivers/tty/serial
parent8d21f24416719198c860009210a5fa9b33487211 (diff)
serial: imx: Use generic uart-has-rtscts DT property
Convert the Freescale IMX UART driver from using the vendor-specific "fsl,uart-has-rtscts" to the generic "uart-has-rtscts" DT property, as documented by the Generic Serial DT Bindings. The old vendor-specific property is still recognized by the driver for backwards compatibility, but deprecated. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/imx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 4b38392f4bd6..0df2b1c091ae 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -1980,7 +1980,8 @@ static int serial_imx_probe_dt(struct imx_port *sport,
1980 } 1980 }
1981 sport->port.line = ret; 1981 sport->port.line = ret;
1982 1982
1983 if (of_get_property(np, "fsl,uart-has-rtscts", NULL)) 1983 if (of_get_property(np, "uart-has-rtscts", NULL) ||
1984 of_get_property(np, "fsl,uart-has-rtscts", NULL) /* deprecated */)
1984 sport->have_rtscts = 1; 1985 sport->have_rtscts = 1;
1985 1986
1986 if (of_get_property(np, "fsl,dte-mode", NULL)) 1987 if (of_get_property(np, "fsl,dte-mode", NULL))