xref: /freebsd/sys/contrib/device-tree/Bindings/sound/awinic,aw87390.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*84943d6fSEmmanuel Vadot%YAML 1.2
3*84943d6fSEmmanuel Vadot---
4*84943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/awinic,aw87390.yaml#
5*84943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*84943d6fSEmmanuel Vadot
7*84943d6fSEmmanuel Vadottitle: Awinic Aw87390 Audio Amplifier
8*84943d6fSEmmanuel Vadot
9*84943d6fSEmmanuel Vadotmaintainers:
10*84943d6fSEmmanuel Vadot  - Weidong Wang <wangweidong.a@awinic.com>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel Vadotdescription:
13*84943d6fSEmmanuel Vadot  The awinic aw87390 is specifically designed to improve
14*84943d6fSEmmanuel Vadot  the musical output dynamic range, enhance the overall
15*84943d6fSEmmanuel Vadot  sound quallity, which is a new high efficiency, low
16*84943d6fSEmmanuel Vadot  noise, constant large volume, 6th Smart K audio amplifier.
17*84943d6fSEmmanuel Vadot
18*84943d6fSEmmanuel VadotallOf:
19*84943d6fSEmmanuel Vadot  - $ref: dai-common.yaml#
20*84943d6fSEmmanuel Vadot
21*84943d6fSEmmanuel Vadotproperties:
22*84943d6fSEmmanuel Vadot  compatible:
23*84943d6fSEmmanuel Vadot    const: awinic,aw87390
24*84943d6fSEmmanuel Vadot
25*84943d6fSEmmanuel Vadot  reg:
26*84943d6fSEmmanuel Vadot    maxItems: 1
27*84943d6fSEmmanuel Vadot
28*84943d6fSEmmanuel Vadot  "#sound-dai-cells":
29*84943d6fSEmmanuel Vadot    const: 0
30*84943d6fSEmmanuel Vadot
31*84943d6fSEmmanuel Vadot  awinic,audio-channel:
32*84943d6fSEmmanuel Vadot    description:
33*84943d6fSEmmanuel Vadot      It is used to distinguish multiple PA devices, so that different
34*84943d6fSEmmanuel Vadot      configurations can be loaded to different PA devices
35*84943d6fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
36*84943d6fSEmmanuel Vadot    minimum: 0
37*84943d6fSEmmanuel Vadot    maximum: 7
38*84943d6fSEmmanuel Vadot
39*84943d6fSEmmanuel Vadotrequired:
40*84943d6fSEmmanuel Vadot  - compatible
41*84943d6fSEmmanuel Vadot  - reg
42*84943d6fSEmmanuel Vadot  - "#sound-dai-cells"
43*84943d6fSEmmanuel Vadot  - awinic,audio-channel
44*84943d6fSEmmanuel Vadot
45*84943d6fSEmmanuel VadotunevaluatedProperties: false
46*84943d6fSEmmanuel Vadot
47*84943d6fSEmmanuel Vadotexamples:
48*84943d6fSEmmanuel Vadot  - |
49*84943d6fSEmmanuel Vadot    i2c {
50*84943d6fSEmmanuel Vadot        #address-cells = <1>;
51*84943d6fSEmmanuel Vadot        #size-cells = <0>;
52*84943d6fSEmmanuel Vadot        audio-codec@58 {
53*84943d6fSEmmanuel Vadot            compatible = "awinic,aw87390";
54*84943d6fSEmmanuel Vadot            reg = <0x58>;
55*84943d6fSEmmanuel Vadot            #sound-dai-cells = <0>;
56*84943d6fSEmmanuel Vadot            awinic,audio-channel = <0>;
57*84943d6fSEmmanuel Vadot        };
58*84943d6fSEmmanuel Vadot    };
59