ARM: OMAP2+: hwmod: AM335x/AM43x: move common data
authorAfzal Mohammed <afzal@ti.com>
Sat, 12 Oct 2013 10:14:46 +0000 (15:44 +0530)
committerPaul Walmsley <paul@pwsan.com>
Mon, 14 Oct 2013 04:47:39 +0000 (22:47 -0600)
commit26649467ad089fdf66f7f95017132788b2c0af35
tree27f7da7bff0abcdf220140e92c745f79a2f074cf
parentd3f5d551df68f3b1135f212ce61eaad21fe7b42d
ARM: OMAP2+: hwmod: AM335x/AM43x: move common data

AM335x and AM43x have most of the IP's and interconnect's similar.
Instead of adding redundant hwmod data, move interconnects and hwmod
similar between AM335x and AM43x to a common location. This helps in
reuse on AM43x.

AM335x interconnects that has difference and not present in AM43x are
not moved. ocp clock of those in l4_wkup is fed from a different source
for AM43x. Also pruss interconnect is different.

AM335x hwmod's that has difference other than prcm register offsets
(difference is in clocks of wkup_m3, control, gpio0, debugss and clock
domain of l4_hs, adc_tsc as compared to AM43x) and those that are not
present in AM43x are not moved.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Acked-by: Rajendra Nayak <rnayak@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_common_data.h [new file with mode: 0644]
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c [new file with mode: 0644]
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c [new file with mode: 0644]
arch/arm/mach-omap2/omap_hwmod_33xx_data.c