diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-08-05 13:39:04 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-22 15:41:46 +0300 |
commit | d923d839429c42efda01ffd2d73bff9097495f9d (patch) | |
tree | f97f2cf2777ee138db5474c94a927e1abce444c2 /arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |
parent | 71c7c2d9a2fe16f20878f507a60e3aee0246c17b (diff) | |
download | linux-d923d839429c42efda01ffd2d73bff9097495f9d.tar.xz |
ARM: dts: imx6qdl-sabresd: Support headphone and microphone detection
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-sabresd.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 68b3e68cb8df..7dddcab9d53f 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -105,9 +105,13 @@ "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 { |