mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 14:32:23 +00:00
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>
This commit is contained in:
parent
8cde5d5f73
commit
d708bb1497
@ -880,6 +880,9 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
|
|||||||
SYSC_QUIRK_LEGACY_IDLE),
|
SYSC_QUIRK_LEGACY_IDLE),
|
||||||
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff,
|
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff,
|
||||||
SYSC_QUIRK_LEGACY_IDLE),
|
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)
|
static void sysc_init_revision_quirks(struct sysc *ddata)
|
||||||
|
Loading…
Reference in New Issue
Block a user