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    const: awinic,aw88395
23
24  reg:
25    maxItems: 1
26
27  '#sound-dai-cells':
28    const: 0
29
30  reset-gpios:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - '#sound-dai-cells'
37  - reset-gpios
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    #include <dt-bindings/gpio/gpio.h>
44    i2c {
45        #address-cells = <1>;
46        #size-cells = <0>;
47        audio-codec@34 {
48            compatible = "awinic,aw88395";
49            reg = <0x34>;
50            #sound-dai-cells = <0>;
51            reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
52        };
53    };
54