]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
sun4i-codec: add routing for headphones and internal speaker
authorRyan Walklin <ryan@testtoast.com>
Sat, 21 Dec 2024 10:01:14 +0000 (23:01 +1300)
committerJaroslav Kysela <perex@perex.cz>
Wed, 29 Jan 2025 09:26:34 +0000 (10:26 +0100)
commit24008a2f93b39a33863c7e64ab2f7214d9970a1c
tree6dd234da03c6358a985dd7afc20b13ea24773ef2
parent0b4d0be563e3351cfbf677850ed61f71d5321fb8
sun4i-codec: add routing for headphones and internal speaker

The sun4i-codec kernel driver covers a large number of Allwinner SoCs.
The H616 codec has a single line-out route, which is used in concert
with a Toshiba mux chip to send audio to either an internal speaker or
headphone jack on a number of Anbernic handheld gaming devices.

Add a UCM configuration to allow enabling/disabling the speaker amp
depending on whether headphones are in use or not.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/491
Signed-off-by: Ryan Walklin <ryan@testtoast.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Allwinner/sun4i-h616/HiFi.conf [new file with mode: 0644]
ucm2/conf.d/sun4i-codec/h616-audio-codec.conf [new file with mode: 0644]