summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2011-02-24 15:16:51 +0530
committerTony Lindgren <tony@atomide.com>2011-02-24 13:02:33 -0800
commit8b1906f12a60d377b11d8a3dd256ce0a0ef6c614 (patch)
tree8d7d2c44dcfec87fb1c096570f54ddd94a3126a5 /arch/arm/plat-omap/include
parentcb7e9ded3240d717d1d24812d33b3ef2c98c084e (diff)
downloadblackbird-op-linux-8b1906f12a60d377b11d8a3dd256ce0a0ef6c614.tar.gz
blackbird-op-linux-8b1906f12a60d377b11d8a3dd256ce0a0ef6c614.zip
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/include')
-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 {
#endif
void *reg_cache;
};
+
+/**
+ * omap_mcbsp_dev_attr - OMAP McBSP device attributes for omap_hwmod
+ * @sidetone: name of the sidetone device
+ */
+struct omap_mcbsp_dev_attr {
+ const char *sidetone;
+};
+
extern struct omap_mcbsp **mcbsp_ptr;
extern int omap_mcbsp_count, omap_mcbsp_cache_size;
OpenPOWER on IntegriCloud