Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml
26308 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/gpio/adi,ds4520-gpio.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: DS4520 I2C GPIO expander
8
9
maintainers:
10
- Okan Sahin <okan.sahin@analog.com>
11
12
properties:
13
compatible:
14
enum:
15
- adi,ds4520-gpio
16
17
reg:
18
maxItems: 1
19
20
gpio-controller: true
21
22
"#gpio-cells":
23
const: 2
24
25
ngpios:
26
minimum: 1
27
maximum: 9
28
29
required:
30
- compatible
31
- reg
32
- gpio-controller
33
- "#gpio-cells"
34
- ngpios
35
36
additionalProperties: false
37
38
examples:
39
- |
40
i2c {
41
#address-cells = <1>;
42
#size-cells = <0>;
43
44
gpio@50 {
45
compatible = "adi,ds4520-gpio";
46
reg = <0x50>;
47
ngpios = <9>;
48
gpio-controller;
49
#gpio-cells = <2>;
50
};
51
};
52
53