Commit 8d135f5c6f6b52c3a3de4512d8f838a9dbb2f6b5

Authored by Simon Glass
1 parent 9a7210f6a4

spring: Update sound to use max98088 codec

Update the spring settings to use this codec, which is what it actually
shipped with.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>

Showing 2 changed files with 19 additions and 18 deletions Side-by-side Diff

arch/arm/dts/exynos5250-spring.dts
... ... @@ -93,6 +93,22 @@
93 93 samsung,vbus-gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
94 94 };
95 95  
  96 + sound {
  97 + compatible = "google,spring-audio-max98088";
  98 +
  99 + samsung,model = "Spring-I2S-MAX98088";
  100 + samsung,audio-codec = <&max98088>;
  101 + codec-enable-gpio = <&gpx1 7 0>;
  102 +
  103 + cpu {
  104 + sound-dai = <&i2s1 0>;
  105 + };
  106 +
  107 + codec {
  108 + sound-dai = <&max98088 0>;
  109 + };
  110 + };
  111 +
96 112 spi@12d30000 {
97 113 spi-max-frequency = <50000000>;
98 114 firmware_storage_spi: flash@0 {
99 115  
100 116  
... ... @@ -638,27 +654,11 @@
638 654 };
639 655 };
640 656  
641   - max98095: soundcodec@10 {
  657 + max98088: soundcodec@10 {
642 658 reg = <0x10>;
643   - compatible = "maxim,max98095";
  659 + compatible = "maxim,max98088";
644 660 #sound-dai-cells = <1>;
645 661 };
646   -
647   - sound {
648   - compatible = "google,spring-audio-max98095";
649   -
650   - samsung,model = "Spring-I2S-MAX98095";
651   - samsung,audio-codec = <&max98095>;
652   -
653   - cpu {
654   - sound-dai = <&i2s0 0>;
655   - };
656   -
657   - codec {
658   - sound-dai = <&max98095 0>;
659   - };
660   - };
661   -
662 662 };
663 663  
664 664 #include "cros-ec-keyboard.dtsi"
configs/spring_defconfig
... ... @@ -62,6 +62,7 @@
62 62 CONFIG_SOUND=y
63 63 CONFIG_I2S=y
64 64 CONFIG_I2S_SAMSUNG=y
  65 +CONFIG_SOUND_MAX98088=y
65 66 CONFIG_SOUND_MAX98095=y
66 67 CONFIG_SOUND_WM8994=y
67 68 CONFIG_EXYNOS_SPI=y