xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/silergy,sy8827n.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
7title: silergy sy8827n PMIC
8
9maintainers:
10  - Jisheng Zhang <jszhang@kernel.org>
11
12properties:
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
30required:
31  - compatible
32  - reg
33
34additionalProperties: false
35
36examples:
37  - |
38    i2c {
39        #address-cells = <1>;
40        #size-cells = <0>;
41        regulator@60 {
42          compatible = "silergy,sy8827n";
43          reg = <0x60>;
44        };
45    };
46
47...
48