summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/ux500/Kconfig10
-rw-r--r--sound/soc/ux500/ux500_msp_dai.h5
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