Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: dt-bindings: add bindings for TI TAS5805M.

The TAS5805M is a class D speaker amplifier with integrated DSP.
Configuration must be generated by TI's PPC3 tool and supplied as a
firmware image.

Signed-off-by: Daniel Beer <daniel.beer@igorinstitute.com>
Link: https://lore.kernel.org/r/e271d381dcf1c6036a2a22bab6ab72654455aa58.1642298336.git.daniel.beer@igorinstitute.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Daniel Beer and committed by
Mark Brown
b8aec7a4 ec452684

+56
+56
Documentation/devicetree/bindings/sound/tas5805m.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/tas5805m.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TAS5805M audio amplifier 8 + 9 + maintainers: 10 + - Daniel Beer <daniel.beer@igorinstitute.com> 11 + 12 + description: | 13 + The TAS5805M is a class D audio amplifier with a built-in DSP. 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - ti,tas5805m 19 + 20 + reg: 21 + maxItems: 1 22 + description: | 23 + I2C address of the amplifier. See the datasheet for possible values. 24 + 25 + pvdd-supply: 26 + description: | 27 + Regulator for audio power supply (PVDD in the datasheet). 28 + 29 + pdn-gpios: 30 + description: | 31 + Power-down control GPIO (PDN pin in the datasheet). 32 + 33 + ti,dsp-config-name: 34 + description: | 35 + The name of the DSP configuration that should be loaded for this 36 + instance. Configuration blobs are sequences of register writes 37 + generated from TI's PPC3 tool. 38 + $ref: /schemas/types.yaml#/definitions/string 39 + 40 + examples: 41 + - | 42 + i2c0 { 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 + tas5805m: tas5805m@2c { 46 + reg = <0x2c>; 47 + compatible = "ti,tas5805m"; 48 + 49 + pvdd-supply = <&audiopwr>; 50 + pdn-gpios = <&tlmm 160 0>; 51 + 52 + ti,dsp-config-name = "mono_pbtl_48khz"; 53 + }; 54 + }; 55 + 56 + additionalProperties: true