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