Skip to content

Commit 8cde5d5

Browse files
committed
bus: ti-sysc: Detect omap4 type timers for quirk
Starting with omap4 some timers have different sysc registers (type2) compared to the omap2 timers (type1). We need to detect these to enable the quirk for SYSC_QUIRK_LEGACY_IDLE, otherwise these won't be idling properly. Siganed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 5062236 commit 8cde5d5

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
@@ -875,6 +875,9 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
875875
SYSC_QUIRK_LEGACY_IDLE),
876876
SYSC_QUIRK("timer", 0, 0, 0x10, 0x14, 0x00000015, 0xffffffff,
877877
SYSC_QUIRK_LEGACY_IDLE),
878+
/* Some timers on omap4 and later */
879+
SYSC_QUIRK("timer", 0, 0, 0x10, -1, 0x4fff1301, 0xffffffff,
880+
SYSC_QUIRK_LEGACY_IDLE),
878881
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff,
879882
SYSC_QUIRK_LEGACY_IDLE),
880883
};

0 commit comments

Comments
 (0)