0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/silergy,sy7636a.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: silergy sy7636a PMIC
0008
0009 maintainers:
0010 - Alistair Francis <alistair@alistair23.me>
0011
0012 properties:
0013 compatible:
0014 const: silergy,sy7636a
0015
0016 reg:
0017 description:
0018 I2C device address.
0019 maxItems: 1
0020
0021 "#address-cells":
0022 const: 1
0023
0024 "#size-cells":
0025 const: 0
0026
0027 '#thermal-sensor-cells':
0028 const: 0
0029
0030 epd-pwr-good-gpios:
0031 description:
0032 Specifying the power good GPIOs.
0033 maxItems: 1
0034
0035 regulators:
0036 type: object
0037
0038 properties:
0039 compatible:
0040 const: silergy,sy7636a-regulator
0041
0042 vcom:
0043 type: object
0044 $ref: /schemas/regulator/regulator.yaml#
0045 description:
0046 The regulator for the compenstation voltage. Enabling/disabling this
0047 enables/disables the entire device.
0048 properties:
0049 regulator-name:
0050 const: vcom
0051
0052 additionalProperties: false
0053
0054 required:
0055 - compatible
0056 - reg
0057 - '#thermal-sensor-cells'
0058
0059 additionalProperties: false
0060
0061 examples:
0062 - |
0063 i2c {
0064 #address-cells = <1>;
0065 #size-cells = <0>;
0066
0067 pmic@62 {
0068 compatible = "silergy,sy7636a";
0069 reg = <0x62>;
0070 pinctrl-names = "default";
0071 pinctrl-0 = <&pinctrl_epdpmic>;
0072 #thermal-sensor-cells = <0>;
0073
0074 regulators {
0075 reg_epdpmic: vcom {
0076 regulator-name = "vcom";
0077 regulator-boot-on;
0078 };
0079 };
0080 };
0081 };
0082 ...