diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-09-21 16:34:11 (GMT) |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-09-21 21:28:30 (GMT) |
commit | aee48e3c9cee3698d17b4cf4203551de0a804760 (patch) | |
tree | 7993a6004dc28c56fe4956a613615e5913e6834f /arch/arm/plat-omap/include/plat/omap_hwmod.h | |
parent | 76e5589e5b7cd0fd589264ab193f10550e1d8ab6 (diff) | |
download | linux-fsl-qoriq-aee48e3c9cee3698d17b4cf4203551de0a804760.tar.xz |
OMAP: hwmod: add an hardreset API for use by other core code
Expose an hardreset API from hwmod in order to assert / deassert all the
individual reset lines that belong to an hwmod. This API is needed by
some of the more complicated processor drivers, e.g., DSP/Bridge,
Syslink, etc.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/omap_hwmod.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap_hwmod.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h index 590bfae..7fde44d 100644 --- a/arch/arm/plat-omap/include/plat/omap_hwmod.h +++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h @@ -512,6 +512,10 @@ int omap_hwmod_idle(struct omap_hwmod *oh); int _omap_hwmod_idle(struct omap_hwmod *oh); int omap_hwmod_shutdown(struct omap_hwmod *oh); +int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name); +int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name); +int omap_hwmod_read_hardreset(struct omap_hwmod *oh, const char *name); + int omap_hwmod_enable_clocks(struct omap_hwmod *oh); int omap_hwmod_disable_clocks(struct omap_hwmod *oh); |