Skip to content

Commit 7e27e5d

Browse files
committed
bus: ti-sysc: Tag sdio and wdt with legacy mode for suspend
Looks like these two device drivers don't yet behave properly for suspend unless configured with the legacy option. Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent d708bb1 commit 7e27e5d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎drivers/bus/ti-sysc.c‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,14 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
883883
/* Uarts on omap4 and later */
884884
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffffffff,
885885
SYSC_QUIRK_LEGACY_IDLE),
886+
887+
/* These devices don't yet suspend properly without legacy setting */
888+
SYSC_QUIRK("sdio", 0, 0, 0x10, -1, 0x40202301, 0xffffffff,
889+
SYSC_QUIRK_LEGACY_IDLE),
890+
SYSC_QUIRK("wdt", 0, 0, 0x10, 0x14, 0x502a0500, 0xffffffff,
891+
SYSC_QUIRK_LEGACY_IDLE),
892+
SYSC_QUIRK("wdt", 0, 0, 0x10, 0x14, 0x502a0d00, 0xffffffff,
893+
SYSC_QUIRK_LEGACY_IDLE),
886894
};
887895

888896
static void sysc_init_revision_quirks(struct sysc *ddata)

0 commit comments

Comments
 (0)