diff mbox series

arm64: dts: renesas: beacon: Enable micbias

Message ID 20210630175935.189454-1-aford173@gmail.com (mailing list archive)
State Mainlined
Commit 186ef5008a69c1766a9c82a60a515c061fd5fca3
Delegated to: Geert Uytterhoeven
Headers show
Series arm64: dts: renesas: beacon: Enable micbias | expand

Commit Message

Adam Ford June 30, 2021, 5:59 p.m. UTC
The IN3R is connected to an analog microphone, and it needs the
micbias enabled in order to power the analog microphone.

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Geert Uytterhoeven July 1, 2021, 9:40 a.m. UTC | #1
Hi Adam,

On Wed, Jun 30, 2021 at 7:59 PM Adam Ford <aford173@gmail.com> wrote:
> The IN3R is connected to an analog microphone, and it needs the
> micbias enabled in order to power the analog microphone.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>

I'm no expert on this, but "make dtbs_check" likes it, so I will
queue this in renesas-devel for v5.15, unless someone objects.

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
index 4d135bcc2f18..e9a80c26b1bf 100644
--- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
+++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
@@ -197,6 +197,14 @@  sound_card {
 		compatible = "audio-graph-card";
 		label = "rcar-sound";
 		dais = <&rsnd_port0>, <&rsnd_port1>;
+		widgets = "Microphone", "Mic Jack",
+			  "Line", "Line In Jack",
+			  "Headphone", "Headphone Jack";
+		mic-det-gpio = <&gpio0 2 GPIO_ACTIVE_LOW>;
+		routing = "Headphone Jack", "HPOUTL",
+			 "Headphone Jack", "HPOUTR",
+			 "IN3R", "MICBIAS",
+			 "Mic Jack", "IN3R";
 	};
 
 	vccq_sdhi0: regulator-vccq-sdhi0 {