bus: ti-sysc: Detect omap4 type timers for quirk
authorTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2018 17:25:15 +0000 (10:25 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 1 May 2018 13:54:17 +0000 (06:54 -0700)
commit8cde5d5f7361fd152dd67df552596919d89ac404
treeb3de2fb485b57979a7c20794d6106b1635f4f3c6
parent5062236ec458768f61efc6d0a5198c395e55d097
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>
drivers/bus/ti-sysc.c