]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - Documentation/devicetree/bindings/mfd/max77650.txt
Merge tag 'powerpc-5.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[mirror_ubuntu-hirsute-kernel.git] / Documentation / devicetree / bindings / mfd / max77650.txt
1 MAX77650 ultra low-power PMIC from Maxim Integrated.
2
3 Required properties:
4 -------------------
5 - compatible: Must be "maxim,max77650"
6 - reg: I2C device address.
7 - interrupts: The interrupt on the parent the controller is
8 connected to.
9 - interrupt-controller: Marks the device node as an interrupt controller.
10 - #interrupt-cells: Must be <2>.
11
12 - gpio-controller: Marks the device node as a gpio controller.
13 - #gpio-cells: Must be <2>. The first cell is the pin number and
14 the second cell is used to specify the gpio active
15 state.
16
17 Optional properties:
18 --------------------
19 gpio-line-names: Single string containing the name of the GPIO line.
20
21 The GPIO-controller module is represented as part of the top-level PMIC
22 node. The device exposes a single GPIO line.
23
24 For device-tree bindings of other sub-modules (regulator, power supply,
25 LEDs and onkey) refer to the binding documents under the respective
26 sub-system directories.
27
28 For more details on GPIO bindings, please refer to the generic GPIO DT
29 binding document <devicetree/bindings/gpio/gpio.txt>.
30
31 Example:
32 --------
33
34 pmic@48 {
35 compatible = "maxim,max77650";
36 reg = <0x48>;
37
38 interrupt-controller;
39 interrupt-parent = <&gpio2>;
40 #interrupt-cells = <2>;
41 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
42
43 gpio-controller;
44 #gpio-cells = <2>;
45 gpio-line-names = "max77650-charger";
46 };