blob: ba9d8767c5d597e5680302bc756878665582d350 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
7title: Awinic Aw87390 Audio Amplifier
8
9maintainers:
10 - Weidong Wang <wangweidong.a@awinic.com>
11
12description:
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
18allOf:
19 - $ref: dai-common.yaml#
20
21properties:
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
39required:
40 - compatible
41 - reg
42 - "#sound-dai-cells"
43 - awinic,audio-channel
44
45unevaluatedProperties: false
46
47examples:
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 };