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