arm64: dts: librem5-devkit: Move headphone detection to sound card
authorGuido Günther <agx@sigxcpu.org>
Sun, 21 Feb 2021 11:07:11 +0000 (12:07 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 15 Mar 2021 04:22:29 +0000 (12:22 +0800)
commitd779f4c92ac3446720905b4095f4de7aa9712800
tree25284897ce75f79195bde7edd8660a8f4b718484
parent15094482fc595346a3ba0e66fd59bb80d1e56c6c
arm64: dts: librem5-devkit: Move headphone detection to sound card

This allows for automatic output source switching in userspace. Enable
the pullup on the GPIO to actually make it trigger and mark it as
active-high since detection is reversed otherwise.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts