Merge branch 'i2c/for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
[deliverable/linux.git] / Documentation / devicetree / bindings / regulator / palmas-pmic.txt
CommitLineData
8d561b60
K
1* palmas regulator IP block devicetree bindings
2
ade50c2d
SP
3The tps659038 for the AM57x class have OTP spins that
4have different part numbers but the same functionality. There
5is not a need to add the OTP spins to the palmas driver. The
6spin devices should use the tps659038 as it's compatible value.
7This is the list of those devices:
8tps659037
9
8d561b60
K
10Required properties:
11- compatible : Should be from the list
12 ti,twl6035-pmic
13 ti,twl6036-pmic
14 ti,twl6037-pmic
15 ti,tps65913-pmic
16 ti,tps65914-pmic
9b9fb420 17 ti,tps65917-pmic
ade50c2d 18 ti,tps659038-pmic
8d561b60
K
19and also the generic series names
20 ti,palmas-pmic
21- interrupt-parent : The parent interrupt controller which is palmas.
22- interrupts : The interrupt number and the type which can be looked up here:
23 arch/arm/boot/dts/include/dt-bindings/interrupt-controller/irq.h
24- interrupts-name: The names of the individual interrupts.
25
26Optional properties:
27- ti,ldo6-vibrator : ldo6 is in vibrator mode
28
29Optional nodes:
30- regulators : Must contain a sub-node per regulator from the list below.
31 Each sub-node should contain the constraints and initialization
32 information for that regulator. See regulator.txt for a
33 description of standard properties for these sub-nodes.
34 Additional custom properties are listed below.
35
36 For ti,palmas-pmic - smps12, smps123, smps3 depending on OTP,
0416ea13 37 smps45, smps457, smps7 depending on variant, smps6, smps[8-9],
32b6d3f6 38 smps10_out2, smps10_out1, ldo[1-9], ldoln, ldousb.
8d561b60
K
39
40 Optional sub-node properties:
41 ti,warm-reset - maintain voltage during warm reset(boolean)
32b6d3f6
LD
42 ti,roof-floor - This takes as optional argument on platform supporting
43 the rail from desired external control. If there is no argument then
44 it will be assume that it is controlled by NSLEEP pin.
45 The valid value for external pins are:
46 ENABLE1 then 1,
47 ENABLE2 then 2 or
48 NSLEEP then 3.
393536f8 49 ti,mode-sleep - mode to adopt in pmic sleep 0 - off, 1 - auto,
8d561b60 50 2 - eco, 3 - forced pwm
8d561b60
K
51 ti,smps-range - OTP has the wrong range set for the hardware so override
52 0 - low range, 1 - high range.
53
b81eec09
BH
54- ti,system-power-controller: Telling whether or not this pmic is controlling
55 the system power.
56
8d561b60
K
57Example:
58
59#include <dt-bindings/interrupt-controller/irq.h>
60
61pmic {
62 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
63 interrupt-parent = <&palmas>;
64 interrupts = <14 IRQ_TYPE_NONE>;
65 interrupts-name = "short-irq";
66
67 ti,ldo6-vibrator;
68
b81eec09
BH
69 ti,system-power-controller;
70
8d561b60
K
71 regulators {
72 smps12_reg : smps12 {
73 regulator-name = "smps12";
74 regulator-min-microvolt = < 600000>;
75 regulator-max-microvolt = <1500000>;
76 regulator-always-on;
77 regulator-boot-on;
78 ti,warm-reset;
32b6d3f6 79 ti,roof-floor = <1>; /* ENABLE1 control */
8d561b60 80 ti,mode-sleep = <0>;
8d561b60
K
81 ti,smps-range = <1>;
82 };
83
84 ldo1_reg: ldo1 {
85 regulator-name = "ldo1";
86 regulator-min-microvolt = <2800000>;
87 regulator-max-microvolt = <2800000>;
88 };
89 };
90};
This page took 0.171961 seconds and 5 git commands to generate.