xref: /openbmc/linux/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml (revision f88b6c0c070ea9b1fcf9d042d77ce8af62a020cd)
1*f88b6c0cSWeidong Wang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*f88b6c0cSWeidong Wang%YAML 1.2
3*f88b6c0cSWeidong Wang---
4*f88b6c0cSWeidong Wang$id: http://devicetree.org/schemas/sound/awinic,aw88395.yaml#
5*f88b6c0cSWeidong Wang$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f88b6c0cSWeidong Wang
7*f88b6c0cSWeidong Wangtitle: Awinic AW88395 Smart Audio Amplifier
8*f88b6c0cSWeidong Wang
9*f88b6c0cSWeidong Wangmaintainers:
10*f88b6c0cSWeidong Wang  - Weidong Wang <wangweidong.a@awinic.com>
11*f88b6c0cSWeidong Wang
12*f88b6c0cSWeidong Wangdescription:
13*f88b6c0cSWeidong Wang  The Awinic AW88395 is an I2S/TDM input, high efficiency
14*f88b6c0cSWeidong Wang  digital Smart K audio amplifier with an integrated 10.25V
15*f88b6c0cSWeidong Wang  smart boost convert.
16*f88b6c0cSWeidong Wang
17*f88b6c0cSWeidong WangallOf:
18*f88b6c0cSWeidong Wang  - $ref: dai-common.yaml#
19*f88b6c0cSWeidong Wang
20*f88b6c0cSWeidong Wangproperties:
21*f88b6c0cSWeidong Wang  compatible:
22*f88b6c0cSWeidong Wang    const: awinic,aw88395
23*f88b6c0cSWeidong Wang
24*f88b6c0cSWeidong Wang  reg:
25*f88b6c0cSWeidong Wang    maxItems: 1
26*f88b6c0cSWeidong Wang
27*f88b6c0cSWeidong Wang  '#sound-dai-cells':
28*f88b6c0cSWeidong Wang    const: 0
29*f88b6c0cSWeidong Wang
30*f88b6c0cSWeidong Wang  reset-gpios:
31*f88b6c0cSWeidong Wang    maxItems: 1
32*f88b6c0cSWeidong Wang
33*f88b6c0cSWeidong Wangrequired:
34*f88b6c0cSWeidong Wang  - compatible
35*f88b6c0cSWeidong Wang  - reg
36*f88b6c0cSWeidong Wang  - '#sound-dai-cells'
37*f88b6c0cSWeidong Wang  - reset-gpios
38*f88b6c0cSWeidong Wang
39*f88b6c0cSWeidong WangunevaluatedProperties: false
40*f88b6c0cSWeidong Wang
41*f88b6c0cSWeidong Wangexamples:
42*f88b6c0cSWeidong Wang  - |
43*f88b6c0cSWeidong Wang    #include <dt-bindings/gpio/gpio.h>
44*f88b6c0cSWeidong Wang    i2c {
45*f88b6c0cSWeidong Wang        #address-cells = <1>;
46*f88b6c0cSWeidong Wang        #size-cells = <0>;
47*f88b6c0cSWeidong Wang        audio-codec@34 {
48*f88b6c0cSWeidong Wang            compatible = "awinic,aw88395";
49*f88b6c0cSWeidong Wang            reg = <0x34>;
50*f88b6c0cSWeidong Wang            #sound-dai-cells = <0>;
51*f88b6c0cSWeidong Wang            reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
52*f88b6c0cSWeidong Wang        };
53*f88b6c0cSWeidong Wang    };
54