diff options
| author | Shengjiu Wang <[email protected]> | 2020-08-05 18:39:04 +0800 |
|---|---|---|
| committer | Shawn Guo <[email protected]> | 2020-08-22 20:41:46 +0800 |
| commit | d923d839429c42efda01ffd2d73bff9097495f9d (patch) | |
| tree | f97f2cf2777ee138db5474c94a927e1abce444c2 | |
| parent | 71c7c2d9a2fe16f20878f507a60e3aee0246c17b (diff) | |
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 <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
| -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 { |