]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf11c669d82f557faf2bc8a1175c5ead1b3a68e6a
tree5914b9738ba4a77dbbbb0b9905aa604e1490cd1d
parent5966c0a95644acee75b15f886f6575190c6d6039
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