bus: ti-sysc: Add support for platform data callbacks
authorTony Lindgren <tony@atomide.com>
Thu, 22 Feb 2018 22:00:25 +0000 (14:00 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 26 Feb 2018 22:16:11 +0000 (14:16 -0800)
commitef70b0bdeaf893dd6d9c3a8d05d9b65d395506c0
treeeffa518b4c6aa995e55a9dfe04c7ad56f73e6702
parentdd57ac1e5c1c6dac90564c69e57d5ba4a132969e
bus: ti-sysc: Add support for platform data callbacks

We want to pass the device tree configuration for interconnect target
modules from ti-sysc driver to the existing platform hwmod code.

This allows us to first validate the dts data against the existing
platform data before we start dropping the platform data in favor of
device tree data.

To do this, let's add platform data callbacks for PM runtime functions
to call for the interconnect target modules if platform data is
available.

Note that as ti-sysc driver can rebind, omap_auxdata_lookup and related
functions can no longer be __init.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n8x0.c
arch/arm/mach-omap2/pdata-quirks.c
drivers/bus/ti-sysc.c
include/linux/platform_data/ti-sysc.h