summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/vp.c
diff options
context:
space:
mode:
authorJean Pihet <j-pihet@ti.com>2012-10-04 16:47:11 (GMT)
committerKevin Hilman <khilman@ti.com>2012-10-15 22:22:24 (GMT)
commit98aed08e16c5f18d0c31fc07127bc163ccd0d04c (patch)
treea773c60cbfb39cd1b57fb2ff2d5eb7c5c157df84 /arch/arm/mach-omap2/vp.c
parent1bef60cc7c284fb3164a2b05e8c121ff0ef56a24 (diff)
downloadlinux-fsl-qoriq-98aed08e16c5f18d0c31fc07127bc163ccd0d04c.tar.xz
ARM: OMAP: SmartReflex: pass device dependent data via platform data
Remove the device dependent code (ex. cpu_is_xxx()) and settings from the driver code and instead pass them via the platform data. This allows a clean separation of the driver code and the platform code, as required by the move of the platform header files to include/linux/platform_data. Note about the smartreflex functional clocks: the smartreflex fclks are derived from sys_clk and have the same name as the main_clk from the hwmod entry, in order for the SmartReflex driver to request the fclk (using clk_get(dev, "fck")). Signed-off-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vp.c')
0 files changed, 0 insertions, 0 deletions