xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/rn5t618.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Ricoh RN5T567/RN5T618 PMIC
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRicoh RN5T567/RN5T618/RC5T619 is a power management IC family which
4*4882a593Smuzhiyunintegrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
5*4882a593SmuzhiyunGPIOs, and a watchdog timer. It can be controlled through an I2C interface.
6*4882a593SmuzhiyunThe RN5T618/RC5T619 provides additionally a Li-ion battery charger,
7*4882a593Smuzhiyunfuel gauge, and an ADC.
8*4882a593SmuzhiyunThe RC5T619 additionnally includes USB charger detection and an RTC.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunRequired properties:
11*4882a593Smuzhiyun - compatible: must be one of
12*4882a593Smuzhiyun		"ricoh,rn5t567"
13*4882a593Smuzhiyun		"ricoh,rn5t618"
14*4882a593Smuzhiyun		"ricoh,rc5t619"
15*4882a593Smuzhiyun - reg: the I2C slave address of the device
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunOptional properties:
18*4882a593Smuzhiyun - interrupts: interrupt mapping for IRQ
19*4882a593Smuzhiyun   See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
20*4882a593Smuzhiyun - system-power-controller:
21*4882a593Smuzhiyun   See Documentation/devicetree/bindings/power/power-controller.txt
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunSub-nodes:
24*4882a593Smuzhiyun - regulators: the node is required if the regulator functionality is
25*4882a593Smuzhiyun   needed. The valid regulator names are: DCDC1, DCDC2, DCDC3, DCDC4
26*4882a593Smuzhiyun   (RN5T567/RC5T619), LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7, LDO8,
27*4882a593Smuzhiyun   LDO9, LDO10, LDORTC1 and LDORTC2.
28*4882a593Smuzhiyun   LDO7-10 are specific to RC5T619.
29*4882a593Smuzhiyun   The common bindings for each individual regulator can be found in:
30*4882a593Smuzhiyun   Documentation/devicetree/bindings/regulator/regulator.txt
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunExample:
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	pmic@32 {
35*4882a593Smuzhiyun		compatible = "ricoh,rn5t618";
36*4882a593Smuzhiyun		reg = <0x32>;
37*4882a593Smuzhiyun		interrupt-parent = <&gpio5>;
38*4882a593Smuzhiyun		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
39*4882a593Smuzhiyun		system-power-controller;
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun		regulators {
42*4882a593Smuzhiyun			DCDC1 {
43*4882a593Smuzhiyun				regulator-min-microvolt = <1050000>;
44*4882a593Smuzhiyun				regulator-max-microvolt = <1050000>;
45*4882a593Smuzhiyun			};
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun			DCDC2 {
48*4882a593Smuzhiyun				regulator-min-microvolt = <1175000>;
49*4882a593Smuzhiyun				regulator-max-microvolt = <1175000>;
50*4882a593Smuzhiyun			};
51*4882a593Smuzhiyun		};
52*4882a593Smuzhiyun	};
53