summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-07-10 02:39:45 (GMT)
committerPaul Walmsley <paul@pwsan.com>2011-07-10 11:26:30 (GMT)
commitda7cdfac1b0c58d6863532dd3b432c3fbc034978 (patch)
tree3b31a71585cf8902d723ca5598fc9b6e81369017 /arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
parent3a23aafcde66f6327bda0a6423586dfd8d694eb4 (diff)
downloadlinux-fsl-qoriq-da7cdfac1b0c58d6863532dd3b432c3fbc034978.tar.xz
OMAP4: hwmod data: Change DSS main_clk scheme
Currently using pm_runtime with DSS requires the DSS driver to enable the DSS functional clock before calling pm_runtime_get(). That makes it impossible to use pm_runtime in DSS as it is meant to be used, with pm_runtime callbacks. This patch changes the hwmod database for OMAP4 so that enabling the hwmod via pm_runtime will also enable the DSS functional clock, allowing us to use pm_runtime properly in DSS driver. The DSS HWMOD side is not really correct, not before nor after this patch, and getting DSS to retention will probably not work currently. However, it is not supported in the mainline kernel anyway, so this won't break anything. So this patch allows us to write the pm_runtime adaptation for the DSS driver the way it should be done, and the HWMOD/PM side can be fixed later. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_3xxx_data.c')
0 files changed, 0 insertions, 0 deletions