1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/asahi-kasei,ak5558.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AK5558 8 channel differential 32-bit delta-sigma ADC
8
9maintainers:
10  - Junichi Wakasugi <wakasugi.jb@om.asahi-kasei.co.jp>
11  - Mihai Serban <mihai.serban@nxp.com>
12
13properties:
14  compatible:
15    enum:
16      - asahi-kasei,ak5552
17      - asahi-kasei,ak5558
18
19  reg:
20    maxItems: 1
21
22  avdd-supply:
23    description: A 1.8V supply that powers up the AVDD pin.
24
25  dvdd-supply:
26    description: A 1.2V supply that powers up the DVDD pin.
27
28  reset-gpios:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/gpio/gpio.h>
40    i2c {
41        #address-cells = <1>;
42        #size-cells = <0>;
43        ak5558: codec@10 {
44            compatible = "asahi-kasei,ak5558";
45            reg = <0x10>;
46            reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
47        };
48    };
49