]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb716135266804b734a9438532df56f1df9942bb
tree25284897ce75f79195bde7edd8660a8f4b718484
parentb5d83ae9ca2a9100d9550ef1c9bbde9ddf04d762
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