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