* [PATCH] ARM: dts: imx6qdl-sabresd: Support headphone and microphone detection
@ 2020-08-05 10:39 Shengjiu Wang
2020-08-22 12:42 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Shengjiu Wang @ 2020-08-05 10:39 UTC (permalink / raw)
To: robh+dt, shawnguo, s.hauer, kernel, festevam, linux-imx,
devicetree, linux-kernel, linux-arm-kernel
Add "DMIC" rounting, headphone and microphone detect gpio for sound
card, then output sound can switch between headphone and speaker.
input sound can switch between DMIC and AMIC.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 28b35ccb3757..d933b5384a96 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -105,9 +105,13 @@ sound {
"Ext Spk", "SPKOUTL",
"Ext Spk", "SPKOUTR",
"AMIC", "MICBIAS",
- "IN3R", "AMIC";
+ "IN3R", "AMIC",
+ "DMIC", "MICBIAS",
+ "DMICDAT", "DMIC";
mux-int-port = <2>;
mux-ext-port = <3>;
+ hp-det-gpio = <&gpio7 8 GPIO_ACTIVE_LOW>;
+ mic-det-gpio = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
backlight_lvds: backlight-lvds {
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: imx6qdl-sabresd: Support headphone and microphone detection
2020-08-05 10:39 [PATCH] ARM: dts: imx6qdl-sabresd: Support headphone and microphone detection Shengjiu Wang
@ 2020-08-22 12:42 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2020-08-22 12:42 UTC (permalink / raw)
To: Shengjiu Wang
Cc: robh+dt, s.hauer, kernel, festevam, linux-imx, devicetree,
linux-kernel, linux-arm-kernel
On Wed, Aug 05, 2020 at 06:39:04PM +0800, Shengjiu Wang wrote:
> Add "DMIC" rounting, headphone and microphone detect gpio for sound
> card, then output sound can switch between headphone and speaker.
> input sound can switch between DMIC and AMIC.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-22 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-05 10:39 [PATCH] ARM: dts: imx6qdl-sabresd: Support headphone and microphone detection Shengjiu Wang
2020-08-22 12:42 ` Shawn Guo
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).