This pair of patches implements support for the TAS5805M class D audio amplifier. This driver, and the example configuration in the device-tree file, were originally based on a 4.19 series kernel and have been modified slightly from the tested version.
This resubmission differs from the first as follows:
- Some explanatory comments and constants have been introduced - The volume control allows L/R to be set independently - gpiod is used, and regmap is used directly - .trigger is used instead of DAPM to coordinate DSP boot - The component is manually registered after power-on, and explicitly deregistered prior to power-off - Corrections have been made to the bindings file
Daniel Beer (2): ASoC: add support for TAS5805M digital amplifier ASoC: dt-bindings: add bindings for TI TAS5805M.
.../devicetree/bindings/sound/tas5805m.yaml | 204 +++++++ sound/soc/codecs/Kconfig | 9 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/tas5805m.c | 554 ++++++++++++++++++ 4 files changed, 769 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tas5805m.yaml create mode 100644 sound/soc/codecs/tas5805m.c