mfd: omap-usb-host: Get clocks based on hardware revision
authorRoger Quadros <rogerq@ti.com>
Thu, 27 Feb 2014 14:18:23 +0000 (16:18 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 13 Mar 2014 22:23:51 +0000 (22:23 +0000)
commit3aca446acf32243029f5c83810b50aad3c32b6bf
treef9ad108f999d0466efe17fc3c347565cdb8a3586
parent61b7025f6d6cebc9a8ebbe020c4de5a76a536c90
mfd: omap-usb-host: Get clocks based on hardware revision

Not all revisions have all the clocks so get the necessary clocks
based on hardware revision.

This should avoid un-necessary clk_get failure messages that were
observed earlier.

Also remove the dummy USB host clocks from the OMAP3 clock data.
These are no longer expected by the driver.

Acked-by: Mike Turquette <mturquette@linaro.org> [OMAP3 CLK data]
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-omap2/cclock3xxx_data.c
drivers/clk/ti/clk-3xxx.c
drivers/mfd/omap-usb-host.c