summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2018-10-25 13:15:10 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:48 +0800
commit33f3eef7c2cfe6103b7a7d66950a90d62352dad7 (patch)
tree13e8b8200db8b59482dee0cda3f56d265b568aee /arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi
parent7356c99576ddff45070ab57850e60c3bd7b16e77 (diff)
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>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi
index f475c427ecaf..8181f2fe7f35 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dtsi
@@ -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
>;
};