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