About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / mfd / max77686.txt




Custom Search

Based on kernel version 3.19. Page generated on 2015-02-13 21:18 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	Binding for the built-in 32k clock generator block is defined separately
11	in bindings/clk/maxim,max77686.txt file.
12	
13	Required properties:
14	- compatible : Must be "maxim,max77686";
15	- reg : Specifies the i2c slave address of PMIC block.
16	- interrupts : This i2c device has an IRQ line connected to the main SoC.
17	- interrupt-parent : The parent interrupt controller.
18	
19	Optional node:
20	- voltage-regulators : The regulators of max77686 have to be instantiated
21	  under subnode named "voltage-regulators" using the following format.
22	
23		regulator_name {
24			regulator-compatible = LDOn/BUCKn
25			standard regulator constraints....
26		};
27		refer Documentation/devicetree/bindings/regulator/regulator.txt
28	
29	  The regulator-compatible property of regulator should initialized with string
30	to get matched with their hardware counterparts as follow:
31	
32		-LDOn 	:	for LDOs, where n can lie in range 1 to 26.
33			 	example: LDO1, LDO2, LDO26.
34		-BUCKn 	:	for BUCKs, where n can lie in range 1 to 9.
35				example: BUCK1, BUCK5, BUCK9.
36	
37	  Regulators which can be turned off during system suspend:
38		-LDOn	:	2, 6-8, 10-12, 14-16,
39		-BUCKn	:	1-4.
40	  Use standard regulator bindings for it ('regulator-off-in-suspend').
41	
42	
43	Example:
44	
45		max77686@09 {
46			compatible = "maxim,max77686";
47			interrupt-parent = <&wakeup_eint>;
48			interrupts = <26 0>;
49			reg = <0x09>;
50	
51			voltage-regulators {
52				ldo11_reg {
53					regulator-compatible = "LDO11";
54					regulator-name = "vdd_ldo11";
55					regulator-min-microvolt = <1900000>;
56					regulator-max-microvolt = <1900000>;
57					regulator-always-on;
58				};
59	
60				buck1_reg {
61					regulator-compatible = "BUCK1";
62					regulator-name = "vdd_mif";
63					regulator-min-microvolt = <950000>;
64					regulator-max-microvolt = <1300000>;
65					regulator-always-on;
66					regulator-boot-on;
67				};
68		}
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.