Merge tag 'tty-5.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[platform/kernel/linux-rpi.git] / Documentation / devicetree / bindings / mfd / ene-kb3930.yaml
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mfd/ene-kb3930.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ENE KB3930 Embedded Controller bindings
8
9 description: |
10   This binding describes the ENE KB3930 Embedded Controller attached to an
11   I2C bus.
12
13 maintainers:
14   - Lubomir Rintel <lkundrak@v3.sk>
15
16 properties:
17   compatible:
18     items:
19       - enum:
20           - dell,wyse-ariel-ec  # Dell Wyse Ariel board (3020)
21       - const: ene,kb3930
22   reg:
23     maxItems: 1
24
25   off-gpios:
26     description: GPIO used with the shutdown protocol on Ariel
27     maxItems: 2
28
29   system-power-controller: true
30
31 required:
32   - compatible
33   - reg
34
35 additionalProperties: false
36
37 examples:
38   - |
39     #include <dt-bindings/gpio/gpio.h>
40
41     i2c {
42       #address-cells = <1>;
43       #size-cells = <0>;
44
45       embedded-controller@58 {
46         compatible = "dell,wyse-ariel-ec", "ene,kb3930";
47         reg = <0x58>;
48         system-power-controller;
49
50         off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
51                     <&gpio 127 GPIO_ACTIVE_HIGH>;
52       };
53     };
54
55 ...