aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/omap_hwmod.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/plat/omap_hwmod.h')
-rw-r--r--arch/arm/plat-omap/include/plat/omap_hwmod.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h
index d1f1265fc4a6..b445ecdb95b8 100644
--- a/arch/arm/plat-omap/include/plat/omap_hwmod.h
+++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h
@@ -462,6 +462,7 @@ struct omap_hwmod_class {
462 * @response_lat: device OCP response latency (in interface clock cycles) 462 * @response_lat: device OCP response latency (in interface clock cycles)
463 * @_int_flags: internal-use hwmod flags 463 * @_int_flags: internal-use hwmod flags
464 * @_state: internal-use hwmod state 464 * @_state: internal-use hwmod state
465 * @_postsetup_state: internal-use state to leave the hwmod in after _setup()
465 * @flags: hwmod flags (documented below) 466 * @flags: hwmod flags (documented below)
466 * @omap_chip: OMAP chips this hwmod is present on 467 * @omap_chip: OMAP chips this hwmod is present on
467 * @_mutex: mutex serializing operations on this hwmod 468 * @_mutex: mutex serializing operations on this hwmod
@@ -510,6 +511,7 @@ struct omap_hwmod {
510 u8 hwmods_cnt; 511 u8 hwmods_cnt;
511 u8 _int_flags; 512 u8 _int_flags;
512 u8 _state; 513 u8 _state;
514 u8 _postsetup_state;
513 const struct omap_chip_id omap_chip; 515 const struct omap_chip_id omap_chip;
514}; 516};
515 517
@@ -519,7 +521,7 @@ int omap_hwmod_unregister(struct omap_hwmod *oh);
519struct omap_hwmod *omap_hwmod_lookup(const char *name); 521struct omap_hwmod *omap_hwmod_lookup(const char *name);
520int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), 522int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data),
521 void *data); 523 void *data);
522int omap_hwmod_late_init(u8 skip_setup_idle); 524int omap_hwmod_late_init(void);
523 525
524int omap_hwmod_enable(struct omap_hwmod *oh); 526int omap_hwmod_enable(struct omap_hwmod *oh);
525int _omap_hwmod_enable(struct omap_hwmod *oh); 527int _omap_hwmod_enable(struct omap_hwmod *oh);
@@ -566,6 +568,8 @@ int omap_hwmod_for_each_by_class(const char *classname,
566 void *user), 568 void *user),
567 void *user); 569 void *user);
568 570
571int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state);
572
569/* 573/*
570 * Chip variant-specific hwmod init routines - XXX should be converted 574 * Chip variant-specific hwmod init routines - XXX should be converted
571 * to use initcalls once the initial boot ordering is straightened out 575 * to use initcalls once the initial boot ordering is straightened out