]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: Add support for GPIOs driven amplifiers
authorMark Brown <broonie@kernel.org>
Mon, 18 May 2026 16:44:18 +0000 (17:44 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 18 May 2026 16:44:18 +0000 (17:44 +0100)
commite76ccf19e22a74309bb9c14e64bb97ade3c5fee8
tree982c6d9aa2aec6ef910ebd30a313eab8d2275761
parente38353138a091554242f0a3da883250fdc4696b5
parent5bd8c4b7d3bbe03a56f915f5da95330cb74fa3f6
ASoC: Add support for GPIOs driven amplifiers

Herve Codina <herve.codina@bootlin.com> says:

On some embedded system boards, audio amplifiers are designed using
discrete components such as op-amp, several resistors and switches to
either adjust the gain (switching resistors) or fully switch the
audio signal path (mute and/or bypass features).

Those switches are usually driven by simple GPIOs.

This kind of amplifiers are not handled in ASoC and the fallback is to
let the user-space handle those GPIOs out of the ALSA world.

In order to have those kind of amplifiers fully integrated in the audio
stack, this series introduces the audio-gpio-amp to handle them.

This new ASoC component allows to have the amplifiers seen as ASoC
auxiliarty devices and so it allows to control them through audio mixer
controls.

In order to ease the review, I choose to split modifications related
to the merge of the gpio-audio-amp part into the simple-amplfier driver
in several commits.

Link: https://patch.msgid.link/20260513081702.317117-1-herve.codina@bootlin.com
MAINTAINERS