projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5062236
)
bus: ti-sysc: Detect omap4 type timers for quirk
author
Tony Lindgren
<tony@atomide.com>
Mon, 16 Apr 2018 17:25:15 +0000
(10:25 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 1 May 2018 13:54:17 +0000
(06:54 -0700)
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>
drivers/bus/ti-sysc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bus/ti-sysc.c
b/drivers/bus/ti-sysc.c
index 36c4c340c342dbaac6aa9b21e42d84e6719412e6..b7cf5cdc6891bcaaff48c5189367e5a29c813a92 100644
(file)
--- a/
drivers/bus/ti-sysc.c
+++ b/
drivers/bus/ti-sysc.c
@@
-875,6
+875,9
@@
static const struct sysc_revision_quirk sysc_revision_quirks[] = {
SYSC_QUIRK_LEGACY_IDLE),
SYSC_QUIRK("timer", 0, 0, 0x10, 0x14, 0x00000015, 0xffffffff,
SYSC_QUIRK_LEGACY_IDLE),
+ /* Some timers on omap4 and later */
+ SYSC_QUIRK("timer", 0, 0, 0x10, -1, 0x4fff1301, 0xffffffff,
+ SYSC_QUIRK_LEGACY_IDLE),
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff,
SYSC_QUIRK_LEGACY_IDLE),
};