aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2011-02-24 04:46:51 -0500
committerTony Lindgren <tony@atomide.com>2011-02-24 16:02:33 -0500
commit8b1906f12a60d377b11d8a3dd256ce0a0ef6c614 (patch)
tree8d7d2c44dcfec87fb1c096570f54ddd94a3126a5 /arch/arm/plat-omap
parentcb7e9ded3240d717d1d24812d33b3ef2c98c084e (diff)
OMAP3: hwmod: add dev_attr for McBSP sidetone
Since the sidetone block is tightly coupled to the mcbsp, sidetone information is directly added to mcbsp2 & 3 hwmod dev_attr. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/mcbsp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mcbsp.h b/arch/arm/plat-omap/include/plat/mcbsp.h
index afcbb7bb0165..1fe06372c9ce 100644
--- a/arch/arm/plat-omap/include/plat/mcbsp.h
+++ b/arch/arm/plat-omap/include/plat/mcbsp.h
@@ -475,6 +475,15 @@ struct omap_mcbsp {
475#endif 475#endif
476 void *reg_cache; 476 void *reg_cache;
477}; 477};
478
479/**
480 * omap_mcbsp_dev_attr - OMAP McBSP device attributes for omap_hwmod
481 * @sidetone: name of the sidetone device
482 */
483struct omap_mcbsp_dev_attr {
484 const char *sidetone;
485};
486
478extern struct omap_mcbsp **mcbsp_ptr; 487extern struct omap_mcbsp **mcbsp_ptr;
479extern int omap_mcbsp_count, omap_mcbsp_cache_size; 488extern int omap_mcbsp_count, omap_mcbsp_cache_size;
480 489