GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / mfd / lp87565.txt
1 TI LP87565 PMIC MFD driver
2
3 Required properties:
4   - compatible: "ti,lp87565", "ti,lp87565-q1"
5   - reg:                I2C slave address.
6   - gpio-controller:    Marks the device node as a GPIO Controller.
7   - #gpio-cells:        Should be two.  The first cell is the pin number and
8                         the second cell is used to specify flags.
9                         See ../gpio/gpio.txt for more information.
10   - xxx-in-supply:      Phandle to parent supply node of each regulator
11                         populated under regulators node. xxx should match
12                         the supply_name populated in driver.
13 Example:
14
15 lp87565_pmic: pmic@60 {
16         compatible = "ti,lp87565-q1";
17         reg = <0x60>;
18         gpio-controller;
19         #gpio-cells = <2>;
20
21         buck10-in-supply = <&vsys_3v3>;
22         buck23-in-supply = <&vsys_3v3>;
23
24         regulators: regulators {
25                 buck10_reg: buck10 {
26                         /* VDD_MPU */
27                         regulator-name = "buck10";
28                         regulator-min-microvolt = <850000>;
29                         regulator-max-microvolt = <1250000>;
30                         regulator-always-on;
31                         regulator-boot-on;
32                 };
33
34                 buck23_reg: buck23 {
35                         /* VDD_GPU */
36                         regulator-name = "buck23";
37                         regulator-min-microvolt = <850000>;
38                         regulator-max-microvolt = <1250000>;
39                         regulator-boot-on;
40                         regulator-always-on;
41                 };
42         };
43 };