About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / mfd / max77686.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:37 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	Example:
38	
39		max77686@09 {
40			compatible = "maxim,max77686";
41			interrupt-parent = <&wakeup_eint>;
42			interrupts = <26 0>;
43			reg = <0x09>;
44	
45			voltage-regulators {
46				ldo11_reg {
47					regulator-compatible = "LDO11";
48					regulator-name = "vdd_ldo11";
49					regulator-min-microvolt = <1900000>;
50					regulator-max-microvolt = <1900000>;
51					regulator-always-on;
52				};
53	
54				buck1_reg {
55					regulator-compatible = "BUCK1";
56					regulator-name = "vdd_mif";
57					regulator-min-microvolt = <950000>;
58					regulator-max-microvolt = <1300000>;
59					regulator-always-on;
60					regulator-boot-on;
61				};
62		}
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.