diff options
author | Tony Lindgren <tony@atomide.com> | 2018-04-16 10:25:32 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-05-01 06:54:17 -0700 |
commit | d708bb14971ce797ac6d64aea19e2f8f41859f54 (patch) | |
tree | 664f35aa2215797a9004c6f37dac87792ff22547 | |
parent | 8cde5d5f7361fd152dd67df552596919d89ac404 (diff) | |
download | linux-d708bb14971ce797ac6d64aea19e2f8f41859f54.tar.gz linux-d708bb14971ce797ac6d64aea19e2f8f41859f54.tar.bz2 linux-d708bb14971ce797ac6d64aea19e2f8f41859f54.zip |
bus: ti-sysc: Detect UARTs for SYSC_QUIRK_LEGACY_IDLE quirk on omap4
Starting with omap4, UARTs have different revision register that we need to
detect to enable SYSC_QUIRK_LEGACY_IDLE. Otherwise UARTs won't idle properly.
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | drivers/bus/ti-sysc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index b7cf5cdc6891..2cb9dbb537e0 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -880,6 +880,9 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_LEGACY_IDLE), SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff, SYSC_QUIRK_LEGACY_IDLE), + /* Uarts on omap4 and later */ + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffffffff, + SYSC_QUIRK_LEGACY_IDLE), }; static void sysc_init_revision_quirks(struct sysc *ddata) |