157301626SJisheng Zhang# SPDX-License-Identifier: GPL-2.0
257301626SJisheng Zhang%YAML 1.2
357301626SJisheng Zhang---
457301626SJisheng Zhang$id: http://devicetree.org/schemas/regulator/silergy,sy8827n.yaml#
557301626SJisheng Zhang$schema: http://devicetree.org/meta-schemas/core.yaml#
657301626SJisheng Zhang
757301626SJisheng Zhangtitle: silergy sy8827n PMIC
857301626SJisheng Zhang
957301626SJisheng Zhangmaintainers:
1057301626SJisheng Zhang  - Jisheng Zhang <jszhang@kernel.org>
1157301626SJisheng Zhang
1257301626SJisheng Zhangproperties:
1357301626SJisheng Zhang  compatible:
1457301626SJisheng Zhang    enum:
1557301626SJisheng Zhang      - silergy,sy8827n
1657301626SJisheng Zhang
1757301626SJisheng Zhang  reg:
1857301626SJisheng Zhang    maxItems: 1
1957301626SJisheng Zhang
2057301626SJisheng Zhang  enable-gpios:
2157301626SJisheng Zhang    description: GPIO to enable/disable the regulator.
2257301626SJisheng Zhang    maxItems: 1
2357301626SJisheng Zhang
2457301626SJisheng Zhang  silergy,vsel-state-high:
2557301626SJisheng Zhang    type: boolean
2657301626SJisheng Zhang    description:
2757301626SJisheng Zhang      Indicates if the VSEL pin is set to high.
2857301626SJisheng Zhang      If this property is missing, assume the VSEL pin is set to low.
2957301626SJisheng Zhang
3057301626SJisheng Zhangrequired:
3157301626SJisheng Zhang  - compatible
3257301626SJisheng Zhang  - reg
3357301626SJisheng Zhang
3457301626SJisheng Zhangexamples:
3557301626SJisheng Zhang  - |
3657301626SJisheng Zhang    i2c {
3757301626SJisheng Zhang        #address-cells = <1>;
3857301626SJisheng Zhang        #size-cells = <0>;
3957301626SJisheng Zhang        regulator@60 {
4057301626SJisheng Zhang          compatible = "silergy,sy8827n";
4157301626SJisheng Zhang          reg = <0x60>;
4257301626SJisheng Zhang        };
4357301626SJisheng Zhang    };
4457301626SJisheng Zhang
4557301626SJisheng Zhang...
46