diff options
author | Jonathan Albrieux <jonathan.albrieux@gmail.com> | 2022-03-04 11:24:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-07 13:13:01 +0000 |
commit | 6b4528b5532f84f385b4e756637698cf4ae211f3 (patch) | |
tree | 33dc5141660c6300119c340ee90c587d57e4db03 /sound/soc/codecs/pcm179x.c | |
parent | b3284430615c27ca441967f99fbde957b434e092 (diff) | |
download | linux-6b4528b5532f84f385b4e756637698cf4ae211f3.tar.bz2 |
ASoC: codecs: Add Awinic AW8738 audio amplifier driver
The Awinic AW8738 is a simple audio amplifier using a single GPIO.
The main difference to simple-amplifier is that there is a "one-wire
pulse control" that allows configuring the amplifier to one of a few
pre-defined modes. This can be used to configure the speaker-guard
function (primarily the power limit for the amplifier).
Add a simple driver that allows setting it up in the device tree
with a specified mode number.
Signed-off-by: Jonathan Albrieux <jonathan.albrieux@gmail.com>
Co-developed-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20220304102452.26856-3-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm179x.c')
0 files changed, 0 insertions, 0 deletions