diff options
author | Omar Ramirez Luna <omar.luna@linaro.org> | 2012-09-23 17:28:18 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-23 17:28:18 -0600 |
commit | 8bb9fde2396b6cd205f404ef6d2aa46eb5b0af26 (patch) | |
tree | 9a37e501469a889b262fafae0f0db0b5d49a2ab0 /arch/arm/plat-omap/include/plat/omap_device.h | |
parent | c9e49024edba46463479d2830b3f36bcceb60ea9 (diff) | |
download | op-kernel-dev-8bb9fde2396b6cd205f404ef6d2aa46eb5b0af26.zip op-kernel-dev-8bb9fde2396b6cd205f404ef6d2aa46eb5b0af26.tar.gz |
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/plat/omap_device.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap_device.h | 4 |
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 4327b2c..27bcc24 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); /* Other */ +int omap_device_assert_hardreset(struct platform_device *pdev, + const char *name); +int omap_device_deassert_hardreset(struct platform_device *pdev, + const char *name); int omap_device_idle_hwmods(struct omap_device *od); int omap_device_enable_hwmods(struct omap_device *od); |