blob: 45db5776550c9f9deba782a739275a55aca9421f [file] [log] [blame]
Stephan Gerhold17ba36b2021-05-13 12:41:28 +02001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/nxp,tfa989x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP/Goodix TFA989X (TFA1) Audio Amplifiers
8
9maintainers:
10 - Stephan Gerhold <stephan@gerhold.net>
11
12properties:
13 compatible:
14 enum:
15 - nxp,tfa9895
16
17 reg:
18 maxItems: 1
19
20 '#sound-dai-cells':
21 const: 0
22
23 sound-name-prefix:
24 $ref: /schemas/types.yaml#/definitions/string
25 description:
26 Used as prefix for sink/source names of the component. Must be a
27 unique string among multiple instances of the same component.
28
29required:
30 - compatible
31 - reg
32 - '#sound-dai-cells'
33
34additionalProperties: false
35
36examples:
37 - |
38 i2c {
39 #address-cells = <1>;
40 #size-cells = <0>;
41
42 audio-codec@34 {
43 compatible = "nxp,tfa9895";
44 reg = <0x34>;
45 sound-name-prefix = "Speaker Left";
46 #sound-dai-cells = <0>;
47 };
48 audio-codec@36 {
49 compatible = "nxp,tfa9895";
50 reg = <0x36>;
51 sound-name-prefix = "Speaker Right";
52 #sound-dai-cells = <0>;
53 };
54 };