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