diff options
author | Dani Krishna Mohan <krishna.md@samsung.com> | 2013-09-11 16:38:50 +0530 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-09-24 09:10:33 -0400 |
commit | 6b40852da5c8dd710f9d61204affff3c6a3c9d22 (patch) | |
tree | e2d4c08d9916605c397fb98ee4becf7f3512a9c9 /drivers/sound/max98095.h | |
parent | 5fb5b1554172167a4295880ac71439aa3e88f2b8 (diff) | |
download | u-boot-imx-6b40852da5c8dd710f9d61204affff3c6a3c9d22.zip u-boot-imx-6b40852da5c8dd710f9d61204affff3c6a3c9d22.tar.gz u-boot-imx-6b40852da5c8dd710f9d61204affff3c6a3c9d22.tar.bz2 |
Sound: MAX98095: Support I2S0 channel
This patch modifies the MAX98095 audio codec to support
I2S0 channel in codec slave mode.
Signed-off-by: Dani Krishna Mohan <krishna.md@samsung.com>
Diffstat (limited to 'drivers/sound/max98095.h')
-rw-r--r-- | drivers/sound/max98095.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/sound/max98095.h b/drivers/sound/max98095.h index ae5eb14..44b1e3a 100644 --- a/drivers/sound/max98095.h +++ b/drivers/sound/max98095.h @@ -11,6 +11,12 @@ #ifndef _MAX98095_H #define _MAX98095_H +/* Available audio interface ports in wm8994 codec */ +enum en_max_audio_interface { + AIF1 = 1, + AIF2, +}; + /* * MAX98095 Registers Definition */ @@ -305,7 +311,7 @@ * * @returns -1 for error and 0 Success. */ -int max98095_init(const void *blob, int sampling_rate, int mclk_freq, - int bits_per_sample); +int max98095_init(const void *blob, enum en_max_audio_interface aif_id, + int sampling_rate, int mclk_freq, int bits_per_sample); #endif |