]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP3+: hwmod: Add AM33XX HWMOD data
authorVaibhav Hiremath <hvaibhav@ti.com>
Wed, 25 Jul 2012 19:51:13 +0000 (13:51 -0600)
committerPaul Walmsley <paul@pwsan.com>
Tue, 11 Sep 2012 23:18:58 +0000 (17:18 -0600)
commita2cfc509bc4eeef9f5c4607b1203f17f22ea2a36
tree4f11e673f6b24915d3cf2d09e48a00f2b35889ce
parent1688bf19b8daaa2eb4e861c33a6396ca85b890c3
ARM: OMAP3+: hwmod: Add AM33XX HWMOD data

This patch adds HWMOD data for all the peripherals of
AM335X device and also hooks up to the existing OMAP framework.

hwmod data has been already been cleaned up for the recent
changes in clocktree, where all leaf nodes have been removed,
since with modulemode based control, both clock and hwmod
interface does same thing. This reduces the code size to large
extent and also avoids duplication of same control.
So instead of specifying module's leaf node as a main_clk,
now we are relying on parent clock of module's functional clock.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
[paul@pwsan.com: removed period in hwmod device names; changed mmc2 main_clk
 to mmc_clk at Vaibhav's request; added trailing commas to structure
 records at Tony's request to deal with some rmk parsing issues; added
 OMAP_INTC_START to facilitate sparse-IRQ conversion]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap_hwmod_33xx_data.c [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap_hwmod.h