Skip to content

Commit d708bb1

Browse files
committed
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>
1 parent 8cde5d5 commit d708bb1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/bus/ti-sysc.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,9 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
880880
SYSC_QUIRK_LEGACY_IDLE),
881881
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff,
882882
SYSC_QUIRK_LEGACY_IDLE),
883+
/* Uarts on omap4 and later */
884+
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffffffff,
885+
SYSC_QUIRK_LEGACY_IDLE),
883886
};
884887

885888
static void sysc_init_revision_quirks(struct sysc *ddata)

0 commit comments

Comments
 (0)