mirror of
https://gitee.com/open-loongarch/linux-5.10.git
synced 2026-10-25 12:47:11 +08:00
Update to 742d8a881
2K300:sound/soc:ls-sound: Unify All ls-sound-<codec> to ls-sound
Code Dai Link automatic matching.
dts:
&sound {
loongson,audio-codec = <&codec>;
loongson,sound-card-name = "ES8388";
//随便写,但要保证同一型号板卡一致性,主要给 alsactl 识别
};
This commit is contained in:
@@ -820,7 +820,6 @@
|
||||
sound: sound{
|
||||
compatible = "loongson,ls-sound";
|
||||
loongson,i2s-controller = <&i2s>;
|
||||
loongson,audio-codec = <&audio>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -261,5 +261,8 @@
|
||||
|
||||
&sound {
|
||||
status = "okay";
|
||||
loongson,audio-codec = <&codec>;
|
||||
// Easy Compatible for asound.state Configure
|
||||
loongson,sound-card-name = "ES8388";
|
||||
};
|
||||
|
||||
|
||||
@@ -469,7 +469,6 @@ CONFIG_SND_HDA_CODEC_HDMI=y
|
||||
CONFIG_SND_HDA_CODEC_CONEXANT=y
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_SOC_LOONGSON=y
|
||||
CONFIG_SND_SOC_LOONGSON_ES8388=y
|
||||
CONFIG_SND_LS=y
|
||||
CONFIG_SND_LS_PCM_GENERIC_DMA=y
|
||||
CONFIG_SND_SOC_ES8328_I2C=y
|
||||
|
||||
Reference in New Issue
Block a user