Skip to content

Commit 6993ac9

Browse files
nekorouterRevySR
authored andcommitted
dts: lichee-pi-4a: fix simple-audio-card name and quantity
Both DAC(ES8156) and ADC(ES7210) on I2S1 should in the same node. Signed-off-by: NekoRouter <nekorouter@outlook.com>
1 parent c67ec9a commit 6993ac9

2 files changed

Lines changed: 3 additions & 19 deletions

File tree

arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341

342342
th1520_sound_jack: soundcard@2 {
343343
compatible = "simple-audio-card";
344-
simple-audio-card,name = "Headphones";
344+
simple-audio-card,name = "Analog";
345345
#address-cells = <1>;
346346
#size-cells = <0>;
347347

@@ -355,16 +355,8 @@
355355
sound-dai = <&es8156_audio_codec>;
356356
};
357357
};
358-
};
359-
360-
th1520_sound_input: soundcard@3 {
361-
compatible = "simple-audio-card";
362-
simple-audio-card,name = "Mic";
363-
#address-cells = <1>;
364-
#size-cells = <0>;
365-
366358
simple-audio-card,dai-link@1 { /* I2S - AUDIO SYS CODEC 7210*/
367-
reg = <0>;
359+
reg = <1>;
368360
format = "i2s";
369361
cpu {
370362
sound-dai = <&i2s1 0>;

arch/riscv/boot/dts/thead/th1520-lpi4a-console.dts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -405,16 +405,8 @@
405405
sound-dai = <&es8156_audio_codec>;
406406
};
407407
};
408-
};
409-
410-
th1520_sound_input: soundcard@3 {
411-
compatible = "simple-audio-card";
412-
simple-audio-card,name = "Mic";
413-
#address-cells = <1>;
414-
#size-cells = <0>;
415-
416408
simple-audio-card,dai-link@1 { /* I2S - AUDIO SYS CODEC 7210*/
417-
reg = <0>;
409+
reg = <1>;
418410
format = "i2s";
419411
cpu {
420412
sound-dai = <&i2s1 0>;

0 commit comments

Comments
 (0)