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
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
40examples:
41  - |
42    i2c {
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
56additionalProperties: true
57