Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/ene-kb3930.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: ENE KB3930 Embedded Controller bindings
0008 
0009 description: |
0010   This binding describes the ENE KB3930 Embedded Controller attached to an
0011   I2C bus.
0012 
0013 maintainers:
0014   - Lubomir Rintel <lkundrak@v3.sk>
0015 
0016 properties:
0017   compatible:
0018     items:
0019       - enum:
0020           - dell,wyse-ariel-ec  # Dell Wyse Ariel board (3020)
0021       - const: ene,kb3930
0022   reg:
0023     maxItems: 1
0024 
0025   off-gpios:
0026     description: GPIO used with the shutdown protocol on Ariel
0027     maxItems: 2
0028 
0029   system-power-controller: true
0030 
0031 required:
0032   - compatible
0033   - reg
0034 
0035 additionalProperties: false
0036 
0037 examples:
0038   - |
0039     #include <dt-bindings/gpio/gpio.h>
0040 
0041     i2c {
0042       #address-cells = <1>;
0043       #size-cells = <0>;
0044 
0045       embedded-controller@58 {
0046         compatible = "dell,wyse-ariel-ec", "ene,kb3930";
0047         reg = <0x58>;
0048         system-power-controller;
0049 
0050         off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
0051                     <&gpio 127 GPIO_ACTIVE_HIGH>;
0052       };
0053     };
0054 
0055 ...