]> git.hungrycats.org Git - linux/commit
ASoC: imx-rpmsg: Support headphone jack detection
authorChancel Liu <chancel.liu@nxp.com>
Thu, 28 May 2026 02:07:24 +0000 (11:07 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jun 2026 17:53:21 +0000 (18:53 +0100)
commitec74d4f934a63f8146f704eb0ed7b3af2b819a8d
tree0ab4ea5ec6c636407b8743963cf806cfcbc6328c
parent1558039bea601dfa077cbcc4a995361d1854e4a4
ASoC: imx-rpmsg: Support headphone jack detection

Add headphone jack detection support for i.MX RPMSG audio cards.
When the "hp-det-gpios" property is present in the device tree node,
use simple_util_init_jack() from the ASoC simple card utilities to
register a headphone jack with GPIO-based insertion detection.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20260528020725.2265321-3-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/Kconfig
sound/soc/fsl/imx-rpmsg.c