arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / Documentation / devicetree / bindings / mfd / silergy,sy7636a.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
7 title: silergy sy7636a PMIC
8
9 maintainers:
10   - Alistair Francis <alistair@alistair23.me>
11
12 properties:
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         unevaluatedProperties: false
46         description:
47           The regulator for the compenstation voltage. Enabling/disabling this
48           enables/disables the entire device.
49         properties:
50           regulator-name:
51             const: vcom
52
53     additionalProperties: false
54
55 required:
56   - compatible
57   - reg
58   - '#thermal-sensor-cells'
59
60 additionalProperties: false
61
62 examples:
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 ...