Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: NXP TFA9879 class-D audio amplifier |
| 8 | |
| 9 | maintainers: |
| 10 | - Peter Rosin <peda@axentia.se> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: dai-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: nxp,tfa9879 |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | "#sound-dai-cells": |
| 23 | const: 0 |
| 24 | |
| 25 | required: |
| 26 | - compatible |
| 27 | - reg |
| 28 | - '#sound-dai-cells' |
| 29 | |
| 30 | unevaluatedProperties: false |
| 31 | |
| 32 | examples: |
| 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 | }; |