File Index
Files and directories
Sign in
FILE

silergy,sy7636a.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml YAML
 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  enable-gpios:
36    maxItems: 1
37
38  vcom-en-gpios:
39    maxItems: 1
40
41  vin-supply:
42    description:
43      Supply for the whole chip. Some vendor kernels and devicetrees
44      declare this as a non-existing GPIO named "pwrall".
45
46  regulators:
47    type: object
48
49    properties:
50      compatible:
51        const: silergy,sy7636a-regulator
52
53      vcom:
54        type: object
55        $ref: /schemas/regulator/regulator.yaml#
56        unevaluatedProperties: false
57        description:
58          The regulator for the compenstation voltage. Enabling/disabling this
59          enables/disables the entire device.
60        properties:
61          regulator-name:
62            const: vcom
63
64    additionalProperties: false
65
66required:
67  - compatible
68  - reg
69  - '#thermal-sensor-cells'
70
71additionalProperties: false
72
73examples:
74  - |
75    i2c {
76      #address-cells = <1>;
77      #size-cells = <0>;
78
79      pmic@62 {
80        compatible = "silergy,sy7636a";
81        reg = <0x62>;
82        pinctrl-names = "default";
83        pinctrl-0 = <&pinctrl_epdpmic>;
84        #thermal-sensor-cells = <0>;
85
86        regulators {
87          reg_epdpmic: vcom {
88            regulator-name = "vcom";
89            regulator-boot-on;
90          };
91        };
92      };
93    };
94...
~/ Read-only file preview.