exynos: Uses max98088 audio codec driver for spring.
BUG=chrome-os-partner:18696
TEST=on Spring, type "sound init ; sound play 1000 440" on U-Boot command
line and hear the beep.
BRANCH=spring
Change-Id: I4b15fbb9efdd5ed655328a08bb44b4ee0b1d67f2
Signed-off-by: Chih-Chung Chang <chihchung@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49433
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
diff --git a/board/samsung/dts/exynos5250-spring.dts b/board/samsung/dts/exynos5250-spring.dts
index df072c9..15ab152 100644
--- a/board/samsung/dts/exynos5250-spring.dts
+++ b/board/samsung/dts/exynos5250-spring.dts
@@ -71,11 +71,9 @@
hotplug-gpio = <&gpio 0x50 0>; /* C30 */
};
- /* TODO(sjg@chromium.org): Probably should be 0x11 */
- soundcodec@22 {
- reg = <0x22>;
- compatible = "maxim,max98095-codec";
- mclk-pin = <2>;
+ soundcodec@20 {
+ reg = <0x20>;
+ compatible = "maxim,max98088-codec";
};
anx7805-bridge@72 {
@@ -129,7 +127,7 @@
};
sound@12d60000 {
- samsung,codec-type = "max98095";
+ samsung,codec-type = "max98088";
};
hsichub@13400000 {
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index a88afc2..88d949a 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -153,6 +153,7 @@
#define CONFIG_I2S
#define CONFIG_SOUND_WM8994
#define CONFIG_SOUND_MAX98095
+#define CONFIG_SOUND_MAX98088
/* DSIM */
#define DSIM_PHYACCHR_AFC_CTL_VAL 0x3