linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: renesas: beacon: Enable micbias
@ 2021-06-30 17:59 Adam Ford
  2021-07-01  9:40 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2021-06-30 17:59 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: geert+renesas, aford, Adam Ford

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>

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 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: renesas: beacon: Enable micbias
  2021-06-30 17:59 [PATCH] arm64: dts: renesas: beacon: Enable micbias Adam Ford
@ 2021-07-01  9:40 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-07-01  9:40 UTC (permalink / raw)
  To: Adam Ford; +Cc: Linux-Renesas, Adam Ford-BE

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

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-01  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 17:59 [PATCH] arm64: dts: renesas: beacon: Enable micbias Adam Ford
2021-07-01  9:40 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).