1 * palmas regulator IP block devicetree bindings
3 The tps659038 for the AM57x class have OTP spins that
4 have different part numbers but the same functionality. There
5 is not a need to add the OTP spins to the palmas driver. The
6 spin devices should use the tps659038 as it's compatible value.
7 This is the list of those devices:
11 - compatible : Should be from the list
19 and also the generic series names
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.
27 - ti,ldo6-vibrator : ldo6 is in vibrator mode
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.
36 For ti,palmas-pmic - smps12, smps123, smps3 depending on OTP,
37 smps45, smps457, smps7 depending on variant, smps6, smps[8-9],
38 smps10_out2, smps10_out1, ldo[1-9], ldoln, ldousb.
40 Optional sub-node properties:
41 ti,warm-reset - maintain voltage during warm reset(boolean)
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:
49 ti,mode-sleep - mode to adopt in pmic sleep 0 - off, 1 - auto,
50 2 - eco, 3 - forced pwm
51 ti,smps-range - OTP has the wrong range set for the hardware so override
52 0 - low range, 1 - high range.
54 - ti,system-power-controller: Telling whether or not this pmic is controlling
59 #include <dt-bindings/interrupt-controller/irq.h>
62 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
63 interrupt-parent = <&palmas>;
64 interrupts = <14 IRQ_TYPE_NONE>;
65 interrupts-name = "short-irq";
69 ti,system-power-controller;
73 regulator-name = "smps12";
74 regulator-min-microvolt = < 600000>;
75 regulator-max-microvolt = <1500000>;
79 ti,roof-floor = <1>; /* ENABLE1 control */
85 regulator-name = "ldo1";
86 regulator-min-microvolt = <2800000>;
87 regulator-max-microvolt = <2800000>;