About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / mfd / max77686.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:01 EST.

1	Maxim MAX77686 multi-function device
2	
3	MAX77686 is a Mulitifunction device with PMIC, RTC and Charger on chip. It is
4	interfaced to host controller using i2c interface. PMIC and Charger submodules
5	are addressed using same i2c slave address whereas RTC submodule uses
6	different i2c slave address,presently for which we are statically creating i2c
7	client while probing.This document describes the binding for mfd device and
8	PMIC submodule.
9	
10	Required properties:
11	- compatible : Must be "maxim,max77686";
12	- reg : Specifies the i2c slave address of PMIC block.
13	- interrupts : This i2c device has an IRQ line connected to the main SoC.
14	- interrupt-parent : The parent interrupt controller.
15	
16	Optional node:
17	- voltage-regulators : The regulators of max77686 have to be instantiated
18	  under subnode named "voltage-regulators" using the following format.
19	
20		regulator_name {
21			regulator-compatible = LDOn/BUCKn
22			standard regulator constraints....
23		};
24		refer Documentation/devicetree/bindings/regulator/regulator.txt
25	
26	  The regulator-compatible property of regulator should initialized with string
27	to get matched with their hardware counterparts as follow:
28	
29		-LDOn 	:	for LDOs, where n can lie in range 1 to 26.
30			 	example: LDO1, LDO2, LDO26.
31		-BUCKn 	:	for BUCKs, where n can lie in range 1 to 9.
32				example: BUCK1, BUCK5, BUCK9.
33	
34	Example:
35	
36		max77686@09 {
37			compatible = "maxim,max77686";
38			interrupt-parent = <&wakeup_eint>;
39			interrupts = <26 0>;
40			reg = <0x09>;
41	
42			voltage-regulators {
43				ldo11_reg {
44					regulator-compatible = "LDO11";
45					regulator-name = "vdd_ldo11";
46					regulator-min-microvolt = <1900000>;
47					regulator-max-microvolt = <1900000>;
48					regulator-always-on;
49				};
50	
51				buck1_reg {
52					regulator-compatible = "BUCK1";
53					regulator-name = "vdd_mif";
54					regulator-min-microvolt = <950000>;
55					regulator-max-microvolt = <1300000>;
56					regulator-always-on;
57					regulator-boot-on;
58				};
59		}
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.