bus: ti-sysc: Detect uarts also on omap34xx
authorTony Lindgren <tony@atomide.com>
Mon, 27 May 2019 11:51:57 +0000 (04:51 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 28 May 2019 12:19:17 +0000 (05:19 -0700)
commitb6a53c4c872ab6870eb455d10a6f7ff0d99b1b1f
treec80e10369a210e2d49b50c19231df37e08f16237
parentea5a2e4d54675b06991ef3452e8e51ce6519a8db
bus: ti-sysc: Detect uarts also on omap34xx

Looks like we currently only detect UART on omap36xx, let's also
add support for omap34xx. And let's also fix the SWSUP mode, it should
be SWSUP_SIDLE for omap3, not SWSUP_SIDLE_ACT like for omap4 and later.

Note that we are still booting omap3 for most part without ti-sysc,
so no need to treat this change as a fix.

Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c