WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / ene-kb3930.yaml
blob08af356f5d275d590a57f232e88f075c8f93554c
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#
7 title: ENE KB3930 Embedded Controller bindings
9 description: |
10   This binding describes the ENE KB3930 Embedded Controller attached to an
11   I2C bus.
13 maintainers:
14   - Lubomir Rintel <lkundrak@v3.sk>
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
25   off-gpios:
26     description: GPIO used with the shutdown protocol on Ariel
27     maxItems: 2
29   system-power-controller: true
31 required:
32   - compatible
33   - reg
35 additionalProperties: false
37 examples:
38   - |
39     #include <dt-bindings/gpio/gpio.h>
41     i2c {
42       #address-cells = <1>;
43       #size-cells = <0>;
45       embedded-controller@58 {
46         compatible = "dell,wyse-ariel-ec", "ene,kb3930";
47         reg = <0x58>;
48         system-power-controller;
50         off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
51                     <&gpio 127 GPIO_ACTIVE_HIGH>;
52       };
53     };
55 ...