[9610][EVB] arm64: dts: enabled speaker amp
authorhq_guohongtao5_tmp <guohongtao5@huaqin.com>
Tue, 18 Sep 2018 06:42:35 +0000 (14:42 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:29:41 +0000 (17:29 +0800)
Change-Id: Idf4c6816e439b16e83ba9eb20d2042304896c266
Signed-off-by: Shinhyung Kang <s47.kang@samsung.com>
arch/arm64/boot/dts/exynos/exynos9609-robusta2_evb.dts
arch/arm64/boot/dts/exynos/exynos9609-wing.dts
sound/soc/samsung/exynos9610_madera.c

index 12b8614090106ac376bfca6e624a593d69b43b19..47680c12f9e97c4be44730263925e39b1ed4246a 100755 (executable)
                                        "ABOX SIFS0 Capture", "VINPUTCALL";
 
                                samsung,codec = <&abox &abox_uaif_0 &abox_uaif_1 &abox_uaif_2
-                                       &abox_uaif_4 &abox_dsif &abox_spdy>; /*&cs35l41_left*/
+                                       &abox_uaif_4 &abox_dsif &abox_spdy &cs35l41_left>;
                                samsung,prefix = "ABOX", "ABOX", "ABOX", "ABOX",
-                                       "ABOX", "ABOX", "ABOX", "Left";
+                                       "ABOX", "ABOX", "ABOX", "SPK";
                                samsung,aux = <&abox_effect &abox_bt>;
 
                                rdma@0 {
                                        };
                                };
 
-#if 0          /*ToDo: enable speaker amp on EVB board*/
                                codec-left-amp@0 {
                                        format = "i2s";
 
                                                sound-dai = <&cs35l41_left 0>;
                                        };
                                };
-#endif
+
+                               cpu-dsp-voice-control@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 3>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp-trace@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 4>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp2-text@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 5>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp3-text@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 6>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp1-text@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 7>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
                        };
 
 
 };
 
 &spi_6 {
-       status = "disable";
+       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&spi6_bus &spi6_cs_func>;
        /*cs-gpios = <&gpp2 3 0>;*/
index e48331bf5986bd5305e05f71334a7821e90d90ec..cbe0a00e412e6fec2bdc8059d2236912c151cb22 100755 (executable)
                                samsung,codec = <&abox &abox_uaif_0 &abox_uaif_1 &abox_uaif_2
                                        &abox_uaif_4 &abox_dsif &abox_spdy &cs35l41_left>;
                                samsung,prefix = "ABOX", "ABOX", "ABOX", "ABOX",
-                                       "ABOX", "ABOX", "ABOX", "Left";
+                                       "ABOX", "ABOX", "ABOX", "SPK";
                                samsung,aux = <&abox_effect &abox_bt>;
 
                                rdma@0 {
                                                sound-dai = <&cs35l41_left 0>;
                                        };
                                };
+
+                               cpu-dsp-voice-control@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 3>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp-trace@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 4>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp2-text@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 5>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp3-text@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 6>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
+
+                               cpu-dsp1-text@0 {
+                                       cpu {
+                                               sound-dai = <&cs47l35 7>;
+                                       };
+                                       codec {
+                                               sound-dai = <&dummy_audio_codec>;
+                                       };
+                               };
                        };
 
 
index 577148054aabf6f089a541f6240fb13a10d626ea..6585fc5387fa3c36ccd0bd43e3c3a7e73fb1a81e 100755 (executable)
@@ -1034,14 +1034,63 @@ static struct snd_soc_dai_link exynos9610_dai[] = {
                .dpcm_playback = 1,
                .dpcm_capture = 1,
        },
-#if 0 /*ToDo: enable speaker amp on EVB board*/
        {
                .name = "codec-left-amp",
                .ignore_suspend = 1,
                .ignore_pmdown_time = 1,
                .params = madera_amp_params,
        },
-#endif
+
+       {
+               .name = "cpu-dsp-voice-control",
+               .stream_name = "cpu-dsp-voice-control",
+               .cpu_dai_name = "cs47l35-cpu-voicectrl",
+               .platform_name = "cs47l35-codec",
+               .codec_dai_name = "cs47l35-dsp-voicectrl",
+               .codec_name = "cs47l35-codec",
+               .ignore_suspend = 1,
+               .dynamic = 0,
+       },
+       {
+               .name = "cpu-dsp-trace",
+               .stream_name = "cpu-dsp-voice-trace",
+               .cpu_dai_name = "cs47l35-cpu-trace",
+               .platform_name = "cs47l35-codec",
+               .codec_dai_name = "cs47l35-dsp-trace",
+               .codec_name = "cs47l35-codec",
+               .ignore_suspend = 1,
+               .dynamic = 0,
+       },
+       {
+               .name = "cpu-dsp2-text",
+               .stream_name = "cpu-dsp2-text",
+               .cpu_dai_name = "cs47l35-dsp2-cpu-txt",
+               .platform_name = "cs47l35-codec",
+               .codec_dai_name = "cs47l35-dsp2-txt",
+               .codec_name = "cs47l35-codec",
+               .ignore_suspend = 1,
+               .dynamic = 0,
+       },
+       {
+               .name = "cpu-dsp3-text",
+               .stream_name = "cpu-dsp3-text",
+               .cpu_dai_name = "cs47l35-dsp3-cpu-txt",
+               .platform_name = "cs47l35-codec",
+               .codec_dai_name = "cs47l35-dsp3-txt",
+               .codec_name = "cs47l35-codec",
+               .ignore_suspend = 1,
+               .dynamic = 0,
+       },
+       {
+               .name = "cpu-dsp1-text",
+               .stream_name = "cpu-dsp1-text",
+               .cpu_dai_name = "cs47l35-dsp1-cpu-txt",
+               .platform_name = "cs47l35-codec",
+               .codec_dai_name = "cs47l35-dsp1-txt",
+               .codec_name = "cs47l35-codec",
+               .ignore_suspend = 1,
+               .dynamic = 0,
+       }
 
 };