diff options
author | Lionel Xu <Lionel.Xu@freescale.com> | 2010-03-08 17:54:48 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:17:18 +0200 |
commit | f377b49771326a4b632088faa2267c7385294c60 (patch) | |
tree | 33e7f4d6d68af4eea312171f89433bf602f2bf90 /arch/arm/plat-mxs/include/mach | |
parent | c5d471596d41aa71765f7a4342b8cbcac685c4ad (diff) |
ENGR00117750 MX28 ALSA:Support audio playback through SAIF
Porting from mxc sound asoc driver, to support audio playback on mx28 through
saif
Signed-off-by: Lionel Xu <r63889@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/plat-mxs/include/mach')
-rw-r--r-- | arch/arm/plat-mxs/include/mach/device.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/plat-mxs/include/mach/device.h b/arch/arm/plat-mxs/include/mach/device.h index fa4c312e98af..e6a5baab62c1 100644 --- a/arch/arm/plat-mxs/include/mach/device.h +++ b/arch/arm/plat-mxs/include/mach/device.h @@ -144,6 +144,24 @@ struct flexcan_platform_data { unsigned int std_msg:1; }; +struct mxs_audio_platform_data { + int saif0_select; + int saif1_select; + int intr_id_hp; + int ext_ram; + struct clk *saif_clock; + + int hp_irq; + int (*hp_status) (void); + + int sysclk; + + int (*init) (void); /* board specific init */ + int (*amp_enable) (int enable); + int (*finit) (void); /* board specific finit */ + void *priv; /* used by board specific functions */ +}; + extern void mxs_timer_init(struct mxs_sys_timer *timer); extern void mxs_nomatch_timer_init(struct mxs_sys_timer *timer); |