From: Mark Brown Date: Mon, 18 May 2026 16:44:18 +0000 (+0100) Subject: ASoC: Add support for GPIOs driven amplifiers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e76ccf19e22a74309bb9c14e64bb97ade3c5fee8;p=thirdparty%2Fkernel%2Flinux.git ASoC: Add support for GPIOs driven amplifiers Herve Codina 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 --- e76ccf19e22a74309bb9c14e64bb97ade3c5fee8