]> git.karo-electronics.de Git - mv-sheeva.git/commit
OMAP hwmod: convert hwmod to use hardware clock names rather than clkdev dev+con
authorPaul Walmsley <paul@pwsan.com>
Tue, 23 Feb 2010 05:09:31 +0000 (22:09 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 24 Feb 2010 19:29:44 +0000 (12:29 -0700)
commit50ebdac2ec9fb2de9c271cb2e0e13aae3b454166
tree0d3787446804696a8f048925bce19e3147bd8691
parent74be8427431b4bbff4a6506f64fb30bb61e781a7
OMAP hwmod: convert hwmod to use hardware clock names rather than clkdev dev+con

The OMAP hwmod core code is intended to use SoC IP block description
structures that are autogenerated from TI's OMAP hardware database.
Currently the hwmod code uses clkdev device + connection addressing to
identify clocks.  This causes problems in the hwmod autogeneration
process, since the TI hardware database doesn't use platform_device or
clkdev addressing; it uses a single clock signal name string, which
tends to bear some resemblance to what is used in the OMAP TRMs.  This
patch converts the hwmod code and existing data to use omap_clk_get_by_name(),
introduced in the previous patch.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod_2420.h
arch/arm/mach-omap2/omap_hwmod_2430.h
arch/arm/mach-omap2/omap_hwmod_34xx.h
arch/arm/plat-omap/include/plat/omap_hwmod.h