xref: /linux/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
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,aw88395.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Awinic AW88395 Smart Audio Amplifier
8
9maintainers:
10  - Weidong Wang <wangweidong.a@awinic.com>
11
12description:
13  The Awinic AW88395 is an I2S/TDM input, high efficiency
14  digital Smart K audio amplifier with an integrated 10.25V
15  smart boost convert.
16
17allOf:
18  - $ref: dai-common.yaml#
19
20properties:
21  compatible:
22    enum:
23      - awinic,aw88395
24      - awinic,aw88261
25
26  reg:
27    maxItems: 1
28
29  '#sound-dai-cells':
30    const: 0
31
32  reset-gpios:
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38  - '#sound-dai-cells'
39  - reset-gpios
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/gpio/gpio.h>
46    i2c {
47        #address-cells = <1>;
48        #size-cells = <0>;
49        audio-codec@34 {
50            compatible = "awinic,aw88395";
51            reg = <0x34>;
52            #sound-dai-cells = <0>;
53            reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
54        };
55    };
56