]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/sound/awinic,aw87390.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / sound / awinic,aw87390.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/awinic,aw87390.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Awinic Aw87390 Audio Amplifier
8
9 maintainers:
10 - Weidong Wang <wangweidong.a@awinic.com>
11
12 description:
13 The awinic aw87390 is specifically designed to improve
14 the musical output dynamic range, enhance the overall
15 sound quallity, which is a new high efficiency, low
16 noise, constant large volume, 6th Smart K audio amplifier.
17
18 allOf:
19 - $ref: dai-common.yaml#
20
21 properties:
22 compatible:
23 const: awinic,aw87390
24
25 reg:
26 maxItems: 1
27
28 "#sound-dai-cells":
29 const: 0
30
31 awinic,audio-channel:
32 description:
33 It is used to distinguish multiple PA devices, so that different
34 configurations can be loaded to different PA devices
35 $ref: /schemas/types.yaml#/definitions/uint32
36 minimum: 0
37 maximum: 7
38
39 required:
40 - compatible
41 - reg
42 - "#sound-dai-cells"
43 - awinic,audio-channel
44
45 unevaluatedProperties: false
46
47 examples:
48 - |
49 i2c {
50 #address-cells = <1>;
51 #size-cells = <0>;
52 audio-codec@58 {
53 compatible = "awinic,aw87390";
54 reg = <0x58>;
55 #sound-dai-cells = <0>;
56 awinic,audio-channel = <0>;
57 };
58 };