15983cdc7c28e1222e54f669d5663ae31ab0d06f
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / regulator / silergy,sy8827n.yaml
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#
6
7 title: silergy sy8827n PMIC
8
9 maintainers:
10   - Jisheng Zhang <jszhang@kernel.org>
11
12 properties:
13   compatible:
14     enum:
15       - silergy,sy8827n
16
17   reg:
18     maxItems: 1
19
20   enable-gpios:
21     description: GPIO to enable/disable the regulator.
22     maxItems: 1
23
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.
29
30 required:
31   - compatible
32   - reg
33
34 examples:
35   - |
36     i2c {
37         #address-cells = <1>;
38         #size-cells = <0>;
39         regulator@60 {
40           compatible = "silergy,sy8827n";
41           reg = <0x60>;
42         };
43     };
44
45 ...