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