aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
authorOmar Ramirez Luna <omar.luna@linaro.org>2012-09-23 19:28:18 -0400
committerPaul Walmsley <paul@pwsan.com>2012-09-23 19:28:18 -0400
commit8bb9fde2396b6cd205f404ef6d2aa46eb5b0af26 (patch)
tree9a37e501469a889b262fafae0f0db0b5d49a2ab0 /arch/arm/plat-omap/include
parentc9e49024edba46463479d2830b3f36bcceb60ea9 (diff)
ARM: OMAP2+: omap_device: expose hwmod assert/deassert to omap devices
This API is meant to be an interface to hwmod assert/deassert function, omap devices can call them through their platform data to control their reset lines, they are expected to know the name of the reset line they are trying to control. Signed-off-by: Omar Ramirez Luna <omar.luna@linaro.org> [paul@pwsan.com: tweaked some documentation; fixed CodingStyle issue] Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r--arch/arm/plat-omap/include/plat/omap_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_device.h b/arch/arm/plat-omap/include/plat/omap_device.h
index 4327b2c90c3d..27bcc2441195 100644
--- a/arch/arm/plat-omap/include/plat/omap_device.h
+++ b/arch/arm/plat-omap/include/plat/omap_device.h
@@ -118,6 +118,10 @@ int omap_device_get_context_loss_count(struct platform_device *pdev);
118 118
119/* Other */ 119/* Other */
120 120
121int omap_device_assert_hardreset(struct platform_device *pdev,
122 const char *name);
123int omap_device_deassert_hardreset(struct platform_device *pdev,
124 const char *name);
121int omap_device_idle_hwmods(struct omap_device *od); 125int omap_device_idle_hwmods(struct omap_device *od);
122int omap_device_enable_hwmods(struct omap_device *od); 126int omap_device_enable_hwmods(struct omap_device *od);
123 127