Skip to content

Commit

Permalink
ARM: dts: imx6qdl-sabresd: Configure the gpio for hp detect
Browse files Browse the repository at this point in the history
Configure the gpio for hp detect for wm8962 sound card

Signed-off-by: Shengjiu Wang <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
TE-N-ShengjiuWang authored and Shawn Guo committed May 23, 2021
1 parent 8619209 commit 37f5929
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/imx6qdl-sabresd.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
compatible = "fsl,imx6q-sabresd-wm8962",
"fsl,imx-audio-wm8962";
model = "wm8962-audio";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hp>;
ssi-controller = <&ssi2>;
audio-codec = <&codec>;
audio-asrc = <&asrc>;
Expand Down Expand Up @@ -546,6 +548,13 @@
>;
};

pinctrl_hp: hpgrp {
fsl,pins = <
MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b0b0
MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0
>;
};

pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1
Expand Down

0 comments on commit 37f5929

Please sign in to comment.