xref: /linux/Documentation/devicetree/bindings/sound/ti,tas5805m.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/ti,tas5805m.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TAS5805M audio amplifier
8
9maintainers:
10  - Daniel Beer <daniel.beer@igorinstitute.com>
11
12description: |
13  The TAS5805M is a class D audio amplifier with a built-in DSP.
14
15properties:
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
40additionalProperties: false
41
42examples:
43  - |
44    i2c {
45        #address-cells = <1>;
46        #size-cells = <0>;
47        tas5805m: tas5805m@2c {
48                reg = <0x2c>;
49                compatible = "ti,tas5805m";
50
51                pvdd-supply = <&audiopwr>;
52                pdn-gpios = <&tlmm 160 0>;
53
54                ti,dsp-config-name = "mono_pbtl_48khz";
55        };
56    };
57...
58