From 1eaa725bd8e97178bdbd1b106b06e13d96da2a8e Mon Sep 17 00:00:00 2001 From: Shyam Krishnan M Date: Wed, 31 Aug 2011 18:38:03 +0530 Subject: 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 Change-Id: I8baf1401b2071c109ee8e42e25ced2cf4fb520c4 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29832 Reviewed-by: Avinash A Tested-by: Avinash A --- sound/soc/ux500/Kconfig | 10 ++++++++++ sound/soc/ux500/ux500_msp_dai.h | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'sound') 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 -- cgit v1.2.3