brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · ee0be32 Raw
84 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/silergy,sy7636a.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: silergy sy7636a PMIC8 9maintainers:10  - Alistair Francis <alistair@alistair23.me>11 12properties:13  compatible:14    const: silergy,sy7636a15 16  reg:17    description:18      I2C device address.19    maxItems: 120 21  "#address-cells":22    const: 123 24  "#size-cells":25    const: 026 27  '#thermal-sensor-cells':28    const: 029 30  epd-pwr-good-gpios:31    description:32      Specifying the power good GPIOs.33    maxItems: 134 35  regulators:36    type: object37 38    properties:39      compatible:40        const: silergy,sy7636a-regulator41 42      vcom:43        type: object44        $ref: /schemas/regulator/regulator.yaml#45        unevaluatedProperties: false46        description:47          The regulator for the compenstation voltage. Enabling/disabling this48          enables/disables the entire device.49        properties:50          regulator-name:51            const: vcom52 53    additionalProperties: false54 55required:56  - compatible57  - reg58  - '#thermal-sensor-cells'59 60additionalProperties: false61 62examples:63  - |64    i2c {65      #address-cells = <1>;66      #size-cells = <0>;67 68      pmic@62 {69        compatible = "silergy,sy7636a";70        reg = <0x62>;71        pinctrl-names = "default";72        pinctrl-0 = <&pinctrl_epdpmic>;73        #thermal-sensor-cells = <0>;74 75        regulators {76          reg_epdpmic: vcom {77            regulator-name = "vcom";78            regulator-boot-on;79          };80        };81      };82    };83...84