ARM: OMAP4+: PRM: determine prm_device_inst based on DT compatibility
authorTero Kristo <t-kristo@ti.com>
Mon, 8 Sep 2014 08:29:43 +0000 (11:29 +0300)
committerTero Kristo <t-kristo@ti.com>
Tue, 31 Mar 2015 18:26:44 +0000 (21:26 +0300)
commit48e0c1148d18de677f1b2aec179f36fb7c1e3839
treea99f48711d42fe91fd81ef55d5ced8352c4bdc2f
parentab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d
ARM: OMAP4+: PRM: determine prm_device_inst based on DT compatibility

PRM device instance offset is now provided through the prm_init_data.
This gets rid of some cpu_is_X / soc_is_X calls from PRM core code,
preparing for PRM to be its own separate driver.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/prcm-common.h
arch/arm/mach-omap2/prm44xx.c
arch/arm/mach-omap2/prm_common.c
arch/arm/mach-omap2/prminst44xx.c
arch/arm/mach-omap2/prminst44xx.h