OSDN Git Service

ARM: OMAP2+: Add functions to allocate module data from device tree
authorTony Lindgren <tony@atomide.com>
Thu, 22 Feb 2018 22:04:56 +0000 (14:04 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 1 Mar 2018 00:32:09 +0000 (16:32 -0800)
commit8c87970543b17adfbd829ec1541c72a7da518acf
treea039c1e038902c3c527bec94275b27714950267c
parenta885f0fe209f262efa2c1cac9278a5774e5f7a80
ARM: OMAP2+: Add functions to allocate module data from device tree

We can have ti-sysc driver manage the interconnect target module via
platform data callback functions to hwmod code. This allows initializing
and idling the devices using dts data instead of the legacy static data
for interconnect target modules.

Let's add functions to configure the module sysconfig data with platform
callbacks from ti-sysc driver.

Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h