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