xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/silergy,sy8827n.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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
34examples:
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...
46