bus: ti-sysc: Check for no-reset and no-idle flags at the child level
authorTony Lindgren <tony@atomide.com>
Mon, 10 Dec 2018 22:11:26 +0000 (14:11 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Dec 2018 22:11:26 +0000 (14:11 -0800)
commit4014c08ba39476a18af546186da625a6833a1529
tree5914b9738ba4a77dbbbb0b9905aa604e1490cd1d
parent4f2122473363b569db652dc09029715ad808e1a6
bus: ti-sysc: Check for no-reset and no-idle flags at the child level

With ti-sysc, we need to now have the device tree properties for
ti,no-reset-on-init and ti,no-idle-on-init at the module level instead
of the child device level.

Let's check for these properties at the child device level to enable
quirks, and warn about moving the properties to the module level.

Otherwise am335x-evm based boards tagging gpio1 with ti,no-reset-on-init
will have their DDR power disabled if wired up in such a tricky way.

Note that this should not be an issue for earlier kernels as we don't
rely on this until the dts files have been updated to probe with ti-sysc
interconnect target driver.

Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c