MIPS: ingenic: gcw0: Set codec to cap-less mode for FM radio
authorPaul Cercueil <paul@crapouillou.net>
Sun, 30 May 2021 17:18:01 +0000 (18:18 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 1 Jun 2021 09:44:47 +0000 (11:44 +0200)
When using the FM radio, we must not have capacitors on the headphones
line, since it is used as the antenna.

The "FM Radio" widget is removed so that the cap-less mode can be
enabled dynamically through DAPM when the line input is used.
This widget was useless anyway.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ingenic/gcw0.dts

index f4c04f2263ea046e4b1b47ae7bab563eb5f46ed6..4abb0318416ca390c17e21c0694e879c6da456fb 100644 (file)
@@ -74,7 +74,6 @@
                simple-audio-card,widgets =
                        "Speaker", "Speaker",
                        "Headphone", "Headphones",
-                       "Line", "FM Radio",
                        "Microphone", "Built-in Mic";
                simple-audio-card,routing =
                        "Headphones Amp INL", "LHPOUT",
@@ -85,8 +84,8 @@
                        "Speaker Amp INR", "ROUT",
                        "Speaker", "Speaker Amp OUTL",
                        "Speaker", "Speaker Amp OUTR",
-                       "LLINEIN", "FM Radio",
-                       "RLINEIN", "FM Radio",
+                       "LLINEIN", "Cap-less",
+                       "RLINEIN", "Cap-less",
                        "Built-in Mic", "MICBIAS",
                        "MIC1P", "Built-in Mic",
                        "MIC1N", "Built-in Mic";