ODROID-COMMON:alsa-default-sink set to HDMI-output

Change-Id: I6165eed22baca6150b4dfc79e9108ba344385d0d
This commit is contained in:
Kevin Kim
2019-03-22 14:03:21 +09:00
committed by Dongjin Kim
parent feb0291b47
commit 7c4dea196e
2 changed files with 15 additions and 15 deletions

View File

@@ -62,7 +62,7 @@
/* Audio Related start */
dummy_codec:dummy{
#sound-dai-cells = <0>;
compatible = "amlogic, aml_dummy_codec";
compatible = "linux,spdif-dit";
status = "okay";
};
amlogic_codec:t9015{
@@ -97,7 +97,20 @@
/*for audio effect ,eqdrc */
aml-audio-card,effect = <&audio_effect>;
/* spdif_b to hdmi, only playback */
aml-audio-card,dai-link@0 {
mclk-fs = <128>;
continuous-clock;
cpu {
sound-dai = <&aml_spdif_b>;
system-clock-frequency = <6144000>;
};
codec {
sound-dai = <&dummy_codec>;
};
};
aml-audio-card,dai-link@1 {
format = "i2s";// "dsp_a";
mclk-fs = <256>;
bitclock-master = <&aml_tdmc>;
@@ -116,19 +129,6 @@
};
};
/* spdif_b to hdmi, only playback */
aml-audio-card,dai-link@1 {
mclk-fs = <128>;
continuous-clock;
cpu {
sound-dai = <&aml_spdif_b>;
system-clock-frequency = <6144000>;
};
codec {
sound-dai = <&dummy_codec>;
};
};
/* spdif_out GPIOA_11 */
aml-audio-card,dai-link@2 {
mclk-fs = <128>;

View File

@@ -4065,7 +4065,7 @@ CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_RT5677_SPI is not set
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set
# CONFIG_SND_SOC_SPDIF is not set
CONFIG_SND_SOC_SPDIF=y
# CONFIG_SND_SOC_SSM2602_SPI is not set
# CONFIG_SND_SOC_SSM2602_I2C is not set
# CONFIG_SND_SOC_SSM4567 is not set