diff options
author | Shyam Krishnan M <shyam.moni@stericsson.com> | 2011-08-31 18:38:03 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-12-06 10:59:40 +0100 |
commit | e469688019cc8f829f15e9e41683e8dc0fafa788 (patch) | |
tree | 0925b9b5da74133c0e6565ca38331bd1a9e88fcc /sound/soc | |
parent | 547cd662cfad9ade5b993702571dced120cbf1f0 (diff) |
Ux500 ASoC: Add codec-driver for AB5500
ST-Ericsson Linux next: Not tested
ST-Ericsson ID: 332112
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10006
Ref: Commit-id: Ic35d9290ab3d938f19b8581c8e82cbd878952f54
Signed-off-by: Avinash A <Avinash.a@stericsson.com>
Change-Id: I8baf1401b2071c109ee8e42e25ced2cf4fb520c4
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29832
Reviewed-by: Avinash A <avinash.a@stericsson.com>
Tested-by: Avinash A <avinash.a@stericsson.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/ux500/Kconfig | 10 | ||||
-rw-r--r-- | sound/soc/ux500/ux500_msp_dai.h | 5 |
2 files changed, 13 insertions, 2 deletions
diff --git a/sound/soc/ux500/Kconfig b/sound/soc/ux500/Kconfig index 02239929879..0078beb72ec 100644 --- a/sound/soc/ux500/Kconfig +++ b/sound/soc/ux500/Kconfig @@ -9,6 +9,16 @@ menuconfig SND_SOC_UX500 help Say Y if you want to add support for the Ux500 platform. +choice + prompt "Platform 5500/8500" + depends on SND_SOC_UX500 + default SND_SOC_U8500 + config SND_SOC_U8500 + bool "Platform - U8500" + config SND_SOC_U5500 + bool "Platform - U5500" +endchoice + config SND_SOC_UX500_AB3550 bool "Codec - AB3550" depends on SND_SOC_UX500 && (UX500_SOC_DB8500 || UX500_SOC_DB5500) && AB3550_CORE diff --git a/sound/soc/ux500/ux500_msp_dai.h b/sound/soc/ux500/ux500_msp_dai.h index 64a23506bca..2ab449a36ce 100644 --- a/sound/soc/ux500/ux500_msp_dai.h +++ b/sound/soc/ux500/ux500_msp_dai.h @@ -35,8 +35,9 @@ #define FRAME_PER_8_SLOTS 138 #define FRAME_PER_16_SLOTS 277 -#define UX500_MSP_U5500_INTERNAL_CLOCK_FREQ 13000000 -#define UX500_MSP_U8500_INTERNAL_CLOCK_FREQ 40000000 +#define UX500_MSP_U8500_INTERNAL_CLOCK_FREQ 13000000 + +#define UX500_MSP_U5500_INTERNAL_CLOCK_FREQ 40000000 #define UX500_MSP_MIN_CHANNELS 1 #define UX500_MSP_MAX_CHANNELS 8 |