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