summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/asahi-kasei,ak5558.yaml
blob: d3d494ae8abfeb7516e5e1f999370a18d19a198e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/asahi-kasei,ak5558.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: AK5558 8 channel differential 32-bit delta-sigma ADC

maintainers:
  - Junichi Wakasugi <wakasugi.jb@om.asahi-kasei.co.jp>
  - Mihai Serban <mihai.serban@nxp.com>

properties:
  compatible:
    enum:
      - asahi-kasei,ak5552
      - asahi-kasei,ak5558

  reg:
    maxItems: 1

  avdd-supply:
    description: A 1.8V supply that powers up the AVDD pin.

  dvdd-supply:
    description: A 1.2V supply that powers up the DVDD pin.

  reset-gpios:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
        ak5558: codec@10 {
            compatible = "asahi-kasei,ak5558";
            reg = <0x10>;
            reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
        };
    };