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