]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8dd428bbc7cd702eeb1002fadec11a278d4b193
treeeffa518b4c6aa995e55a9dfe04c7ad56f73e6702
parent4db255598940597bf7bc094584203b9aadb358f7
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