xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/max8925.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Maxim max8925 Power Management IC
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired parent device properties:
4*4882a593Smuzhiyun- compatible : "maxim,max8925"
5*4882a593Smuzhiyun- reg : the I2C slave address for the max8925 chip
6*4882a593Smuzhiyun- interrupts : IRQ line for the max8925 chip
7*4882a593Smuzhiyun- interrupt-controller: describes the max8925 as an interrupt
8*4882a593Smuzhiyun  controller (has its own domain)
9*4882a593Smuzhiyun- #interrupt-cells : should be 1.
10*4882a593Smuzhiyun	- The cell is the max8925 local IRQ number
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunOptional parent device properties:
13*4882a593Smuzhiyun- maxim,tsc-irq: there are 2 IRQ lines for max8925, one is indicated in
14*4882a593Smuzhiyun  interrupts property, the other is indicated here.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunmax8925 consists of a large and varied group of sub-devices:
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunDevice			 Supply Names	 Description
19*4882a593Smuzhiyun------			 ------------	 -----------
20*4882a593Smuzhiyunmax8925-onkey		:		: On key
21*4882a593Smuzhiyunmax8925-rtc		:		: RTC
22*4882a593Smuzhiyunmax8925-regulator	:		: Regulators
23*4882a593Smuzhiyunmax8925-backlight	:		: Backlight
24*4882a593Smuzhiyunmax8925-touch		:		: Touchscreen
25*4882a593Smuzhiyunmax8925-power		:		: Charger
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunExample:
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun	pmic: max8925@3c {
30*4882a593Smuzhiyun		compatible = "maxim,max8925";
31*4882a593Smuzhiyun		reg = <0x3c>;
32*4882a593Smuzhiyun		interrupts = <1>;
33*4882a593Smuzhiyun		interrupt-parent = <&intcmux4>;
34*4882a593Smuzhiyun		interrupt-controller;
35*4882a593Smuzhiyun		#interrupt-cells = <1>;
36*4882a593Smuzhiyun		maxim,tsc-irq = <0>;
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun		regulators {
39*4882a593Smuzhiyun			SDV1 {
40*4882a593Smuzhiyun				regulator-min-microvolt = <637500>;
41*4882a593Smuzhiyun				regulator-max-microvolt = <1425000>;
42*4882a593Smuzhiyun				regulator-boot-on;
43*4882a593Smuzhiyun				regulator-always-on;
44*4882a593Smuzhiyun			};
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun			LDO1 {
47*4882a593Smuzhiyun				regulator-min-microvolt = <750000>;
48*4882a593Smuzhiyun				regulator-max-microvolt = <3900000>;
49*4882a593Smuzhiyun				regulator-boot-on;
50*4882a593Smuzhiyun				regulator-always-on;
51*4882a593Smuzhiyun			};
52*4882a593Smuzhiyun
53*4882a593Smuzhiyun		};
54*4882a593Smuzhiyun		backlight {
55*4882a593Smuzhiyun			maxim,max8925-dual-string = <0>;
56*4882a593Smuzhiyun		};
57*4882a593Smuzhiyun		charger {
58*4882a593Smuzhiyun			batt-detect = <0>;
59*4882a593Smuzhiyun			topoff-threshold = <1>;
60*4882a593Smuzhiyun			fast-charge = <7>;
61*4882a593Smuzhiyun			no-temp-support = <0>;
62*4882a593Smuzhiyun			no-insert-detect = <0>;
63*4882a593Smuzhiyun		};
64*4882a593Smuzhiyun	};
65