summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2015-07-14 13:32:08 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-23 15:24:11 -0700
commit27c93af7e7d9ccdfa28e26767c09106bf0721998 (patch)
tree64c81e5525d0e76f7f97390ed876e88f518f61fb /drivers/tty/serial
parentcdb929e4452a8dab15daccc88e43d0f7e73b5500 (diff)
downloadop-kernel-dev-27c93af7e7d9ccdfa28e26767c09106bf0721998.zip
op-kernel-dev-27c93af7e7d9ccdfa28e26767c09106bf0721998.tar.gz
serial: 8250_omap: workaround module disable errata on dra7x SoCs
Due to Advisory 21 as documented in AM437x errata document, UART module cannot be disabled once DMA is used. The only workaround is to softreset the module before disabling it. DRA7x UARTs are compatible to AM437x UARTs in terms of this errata and prescribed workaround. Enable usage of workaround for this errata on DRA7x SoCs. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/8250/8250_omap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c
index a2ee75d..d9a3719 100644
--- a/drivers/tty/serial/8250/8250_omap.c
+++ b/drivers/tty/serial/8250/8250_omap.c
@@ -1082,6 +1082,7 @@ static const struct of_device_id omap8250_dt_ids[] = {
{ .compatible = "ti,omap4-uart" },
{ .compatible = "ti,am3352-uart", .data = &am3352_habit, },
{ .compatible = "ti,am4372-uart", .data = &am4372_habit, },
+ { .compatible = "ti,dra742-uart", .data = &am4372_habit, },
{},
};
MODULE_DEVICE_TABLE(of, omap8250_dt_ids);
OpenPOWER on IntegriCloud