]> git.hungrycats.org Git - linux/commit
ASoC: imx-rpmsg: Add headphone jack detection and driver_name support
authorMark Brown <broonie@kernel.org>
Mon, 8 Jun 2026 17:53:24 +0000 (18:53 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jun 2026 17:53:24 +0000 (18:53 +0100)
commit0f2dfa40969dae4a8cdeb739363001fb7f546927
tree4ae87ff9444b640a69996226ffbe43b1a9caaeec
parentf88580407f99fac9ce83422f329a73de2677c53c
parentaf0d8aa7fcd5c63a6a5077c5a21c7f8f2695cf94
ASoC: imx-rpmsg: Add headphone jack detection and driver_name support

Chancel Liu <chancel.liu@nxp.com> says:

This series adds two features to the i.MX RPMSG ASoC card:
1. Headphone jack detection via GPIO: Introduce the "hp-det-gpios"
   device tree property and use simple_util_init_jack() to
   register a headphone jack with GPIO-based insertion detection.

2. driver_name assignment: Set driver_name on the snd_soc_card to
   "imx-audio-rpmsg", enabling userspace tools such as UCM to reliably
   identify the card by driver name regardless of the board-specific
   card name.

Link: https://patch.msgid.link/20260528020725.2265321-1-chancel.liu@nxp.com