WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / silergy,sy8827n.yaml
blobb222adabc7b494ce160bca726cd3e423fc62080a
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/regulator/silergy,sy8827n.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: silergy sy8827n PMIC
9 maintainers:
10   - Jisheng Zhang <jszhang@kernel.org>
12 properties:
13   compatible:
14     enum:
15       - silergy,sy8827n
17   reg:
18     maxItems: 1
20   enable-gpios:
21     description: GPIO to enable/disable the regulator.
22     maxItems: 1
24   silergy,vsel-state-high:
25     type: boolean
26     description:
27       Indicates if the VSEL pin is set to high.
28       If this property is missing, assume the VSEL pin is set to low.
30 required:
31   - compatible
32   - reg
34 additionalProperties: false
36 examples:
37   - |
38     i2c {
39         #address-cells = <1>;
40         #size-cells = <0>;
41         regulator@60 {
42           compatible = "silergy,sy8827n";
43           reg = <0x60>;
44         };
45     };
47 ...