1
0
Fork 0

MLK-20090: ARM64: dts: enable headphone detection for imx8qm mek

In SPF-29420-B2, the SCU_GPIO0_03 is used as AUD_DEC_1V8 for wm8960
codec.  With this chage, the headphone plugin/plugout detection
can be enabled.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
pull/10/head
Shengjiu Wang 2018-10-25 13:15:10 +08:00 committed by Jason Liu
parent 2ad3a74705
commit 6464af78aa
1 changed files with 3 additions and 0 deletions

View File

@ -133,6 +133,8 @@
* hp-det-polarity = 1: hp detect high for speaker
*/
hp-det = <2 0>;
hp-det-gpios = <&gpio0 31 0>;
mic-det-gpios = <&gpio0 31 0>;
audio-routing =
"Headphone Jack", "HP_L",
"Headphone Jack", "HP_R",
@ -249,6 +251,7 @@
fsl,pins = <
SC_P_MCLK_OUT0_AUD_ACM_MCLK_OUT0 0x0600004c
SC_P_QSPI1A_DATA1_LSIO_GPIO4_IO25 0x0600004c
SC_P_SCU_GPIO0_03_LSIO_GPIO0_IO31 0x0600004c
>;
};