1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/silergy,sy7636a.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: silergy sy7636a PMIC
8
9maintainers:
10  - Alistair Francis <alistair@alistair23.me>
11
12properties:
13  compatible:
14    const: silergy,sy7636a
15
16  reg:
17    description:
18      I2C device address.
19    maxItems: 1
20
21  "#address-cells":
22    const: 1
23
24  "#size-cells":
25    const: 0
26
27  '#thermal-sensor-cells':
28    const: 0
29
30  epd-pwr-good-gpios:
31    description:
32      Specifying the power good GPIOs.
33    maxItems: 1
34
35  regulators:
36    type: object
37
38    properties:
39      compatible:
40        const: silergy,sy7636a-regulator
41
42      vcom:
43        type: object
44        $ref: /schemas/regulator/regulator.yaml#
45        description:
46          The regulator for the compenstation voltage. Enabling/disabling this
47          enables/disables the entire device.
48        properties:
49          regulator-name:
50            const: vcom
51
52    additionalProperties: false
53
54required:
55  - compatible
56  - reg
57  - '#thermal-sensor-cells'
58
59additionalProperties: false
60
61examples:
62  - |
63    i2c {
64      #address-cells = <1>;
65      #size-cells = <0>;
66
67      pmic@62 {
68        compatible = "silergy,sy7636a";
69        reg = <0x62>;
70        pinctrl-names = "default";
71        pinctrl-0 = <&pinctrl_epdpmic>;
72        #thermal-sensor-cells = <0>;
73
74        regulators {
75          reg_epdpmic: vcom {
76            regulator-name = "vcom";
77            regulator-boot-on;
78          };
79        };
80      };
81    };
82...
83