xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nxp,tfa9879.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*84943d6fSEmmanuel Vadot%YAML 1.2
3*84943d6fSEmmanuel Vadot---
4*84943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/nxp,tfa9879.yaml#
5*84943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*84943d6fSEmmanuel Vadot
7*84943d6fSEmmanuel Vadottitle: NXP TFA9879 class-D audio amplifier
8*84943d6fSEmmanuel Vadot
9*84943d6fSEmmanuel Vadotmaintainers:
10*84943d6fSEmmanuel Vadot  - Peter Rosin <peda@axentia.se>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel VadotallOf:
13*84943d6fSEmmanuel Vadot  - $ref: dai-common.yaml#
14*84943d6fSEmmanuel Vadot
15*84943d6fSEmmanuel Vadotproperties:
16*84943d6fSEmmanuel Vadot  compatible:
17*84943d6fSEmmanuel Vadot    const: nxp,tfa9879
18*84943d6fSEmmanuel Vadot
19*84943d6fSEmmanuel Vadot  reg:
20*84943d6fSEmmanuel Vadot    maxItems: 1
21*84943d6fSEmmanuel Vadot
22*84943d6fSEmmanuel Vadot  "#sound-dai-cells":
23*84943d6fSEmmanuel Vadot    const: 0
24*84943d6fSEmmanuel Vadot
25*84943d6fSEmmanuel Vadotrequired:
26*84943d6fSEmmanuel Vadot  - compatible
27*84943d6fSEmmanuel Vadot  - reg
28*84943d6fSEmmanuel Vadot  - '#sound-dai-cells'
29*84943d6fSEmmanuel Vadot
30*84943d6fSEmmanuel VadotunevaluatedProperties: false
31*84943d6fSEmmanuel Vadot
32*84943d6fSEmmanuel Vadotexamples:
33*84943d6fSEmmanuel Vadot  - |
34*84943d6fSEmmanuel Vadot    i2c1 {
35*84943d6fSEmmanuel Vadot       #address-cells = <1>;
36*84943d6fSEmmanuel Vadot       #size-cells = <0>;
37*84943d6fSEmmanuel Vadot       amplifier@6c {
38*84943d6fSEmmanuel Vadot          compatible = "nxp,tfa9879";
39*84943d6fSEmmanuel Vadot          reg = <0x6c>;
40*84943d6fSEmmanuel Vadot          pinctrl-names = "default";
41*84943d6fSEmmanuel Vadot          pinctrl-0 = <&pinctrl_i2c1>;
42*84943d6fSEmmanuel Vadot          #sound-dai-cells = <0>;
43*84943d6fSEmmanuel Vadot       };
44*84943d6fSEmmanuel Vadot    };
45