(subset) [PATCH v3 0/5] ASoC: sun4i-codec: add headphone dectection for Anbernic RG35XX devices
Chen-Yu Tsai
wens at csie.org
Sun Apr 13 08:17:48 PDT 2025
On Sat, 15 Feb 2025 11:02:22 +1300, Ryan Walklin wrote:
> V3 of this patch adding headphone jack detection support to the Anbernic RGnnXX series of handhelds. V3 corrects my misunderstanding of derivation of ALSA UCM file paths, and adds recieved Reviewed-by and Tested-by tags. Thanks to those that have reviewed and fed back on previous versions.
>
> Original message below:
>
> This series adds the required device tree bindings to describe GPIOs for jack detection in the sun4i-codec driver, adds support for jack detection to the codec machine driver, and describes the hardware configuration in the RG35XX DTS. The existing speaker amplifier GPIO pin can then be used in concert with jack detection to enable userspace sound servers (via an ALSA UCM configuration) to disable the speaker route when headphones are connected.
>
> Thanks to Chris Morgan for his assistance putting this series together.
>
> [...]
Applied to dt-for-6.16 in git at github.com:linux-sunxi/linux-sunxi.git, thanks!
[4/5] arm64: dts: allwinner: h700: Add hp-det-gpios for Anbernic RG35XX
commit: 69714722df19a7d9e81b7e8f208ca8f325af4502
Best regards,
--
Chen-Yu Tsai <wens at csie.org>
More information about the linux-arm-kernel
mailing list