2013-06-06 05:27:21 +00:00
|
|
|
* palmas regulator IP block devicetree bindings
|
|
|
|
|
2016-03-29 12:42:43 +00:00
|
|
|
The tps659038 for the AM57x class have OTP spins that
|
|
|
|
have different part numbers but the same functionality. There
|
|
|
|
is not a need to add the OTP spins to the palmas driver. The
|
|
|
|
spin devices should use the tps659038 as it's compatible value.
|
|
|
|
This is the list of those devices:
|
|
|
|
tps659037
|
|
|
|
|
2013-06-06 05:27:21 +00:00
|
|
|
Required properties:
|
|
|
|
- compatible : Should be from the list
|
|
|
|
ti,twl6035-pmic
|
|
|
|
ti,twl6036-pmic
|
|
|
|
ti,twl6037-pmic
|
|
|
|
ti,tps65913-pmic
|
|
|
|
ti,tps65914-pmic
|
2014-06-18 09:58:53 +00:00
|
|
|
ti,tps65917-pmic
|
2016-03-29 12:42:43 +00:00
|
|
|
ti,tps659038-pmic
|
2013-06-06 05:27:21 +00:00
|
|
|
and also the generic series names
|
|
|
|
ti,palmas-pmic
|
|
|
|
- interrupts : The interrupt number and the type which can be looked up here:
|
|
|
|
arch/arm/boot/dts/include/dt-bindings/interrupt-controller/irq.h
|
|
|
|
- interrupts-name: The names of the individual interrupts.
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- ti,ldo6-vibrator : ldo6 is in vibrator mode
|
|
|
|
|
|
|
|
Optional nodes:
|
|
|
|
- regulators : Must contain a sub-node per regulator from the list below.
|
|
|
|
Each sub-node should contain the constraints and initialization
|
|
|
|
information for that regulator. See regulator.txt for a
|
|
|
|
description of standard properties for these sub-nodes.
|
|
|
|
Additional custom properties are listed below.
|
|
|
|
|
|
|
|
For ti,palmas-pmic - smps12, smps123, smps3 depending on OTP,
|
2013-08-13 07:53:10 +00:00
|
|
|
smps45, smps457, smps7 depending on variant, smps6, smps[8-9],
|
2013-08-21 10:48:16 +00:00
|
|
|
smps10_out2, smps10_out1, ldo[1-9], ldoln, ldousb.
|
2013-06-06 05:27:21 +00:00
|
|
|
|
|
|
|
Optional sub-node properties:
|
|
|
|
ti,warm-reset - maintain voltage during warm reset(boolean)
|
2013-08-21 10:48:16 +00:00
|
|
|
ti,roof-floor - This takes as optional argument on platform supporting
|
|
|
|
the rail from desired external control. If there is no argument then
|
|
|
|
it will be assume that it is controlled by NSLEEP pin.
|
|
|
|
The valid value for external pins are:
|
|
|
|
ENABLE1 then 1,
|
|
|
|
ENABLE2 then 2 or
|
|
|
|
NSLEEP then 3.
|
2013-07-16 16:41:09 +00:00
|
|
|
ti,mode-sleep - mode to adopt in pmic sleep 0 - off, 1 - auto,
|
2013-06-06 05:27:21 +00:00
|
|
|
2 - eco, 3 - forced pwm
|
|
|
|
ti,smps-range - OTP has the wrong range set for the hardware so override
|
|
|
|
0 - low range, 1 - high range.
|
|
|
|
|
2013-08-08 11:45:05 +00:00
|
|
|
- ti,system-power-controller: Telling whether or not this pmic is controlling
|
|
|
|
the system power.
|
|
|
|
|
2013-06-06 05:27:21 +00:00
|
|
|
Example:
|
|
|
|
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
|
|
|
|
pmic {
|
|
|
|
compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
|
|
|
|
interrupt-parent = <&palmas>;
|
|
|
|
interrupts = <14 IRQ_TYPE_NONE>;
|
|
|
|
interrupts-name = "short-irq";
|
|
|
|
|
|
|
|
ti,ldo6-vibrator;
|
|
|
|
|
2013-08-08 11:45:05 +00:00
|
|
|
ti,system-power-controller;
|
|
|
|
|
2013-06-06 05:27:21 +00:00
|
|
|
regulators {
|
|
|
|
smps12_reg : smps12 {
|
|
|
|
regulator-name = "smps12";
|
|
|
|
regulator-min-microvolt = < 600000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
ti,warm-reset;
|
2013-08-21 10:48:16 +00:00
|
|
|
ti,roof-floor = <1>; /* ENABLE1 control */
|
2013-06-06 05:27:21 +00:00
|
|
|
ti,mode-sleep = <0>;
|
|
|
|
ti,smps-range = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo1_reg: ldo1 {
|
|
|
|
regulator-name = "ldo1";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|