About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / mfd / mc13xxx.txt




Custom Search

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

1	* Freescale MC13783/MC13892 Power Management Integrated Circuit (PMIC)
2	
3	Required properties:
4	- compatible : Should be "fsl,mc13783" or "fsl,mc13892"
5	
6	Optional properties:
7	- fsl,mc13xxx-uses-adc : Indicate the ADC is being used
8	- fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used
9	- fsl,mc13xxx-uses-rtc : Indicate the RTC is being used
10	- fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used
11	
12	Sub-nodes:
13	- regulators : Contain the regulator nodes. The regulators are bound using
14	  their names as listed below with their registers and bits for enabling.
15	
16	MC13783 regulators:
17	    sw1a      : regulator SW1A      (register 24, bit 0)
18	    sw1b      : regulator SW1B      (register 25, bit 0)
19	    sw2a      : regulator SW2A      (register 26, bit 0)
20	    sw2b      : regulator SW2B      (register 27, bit 0)
21	    sw3       : regulator SW3       (register 29, bit 20)
22	    vaudio    : regulator VAUDIO    (register 32, bit 0)
23	    viohi     : regulator VIOHI     (register 32, bit 3)
24	    violo     : regulator VIOLO     (register 32, bit 6)
25	    vdig      : regulator VDIG      (register 32, bit 9)
26	    vgen      : regulator VGEN      (register 32, bit 12)
27	    vrfdig    : regulator VRFDIG    (register 32, bit 15)
28	    vrfref    : regulator VRFREF    (register 32, bit 18)
29	    vrfcp     : regulator VRFCP     (register 32, bit 21)
30	    vsim      : regulator VSIM      (register 33, bit 0)
31	    vesim     : regulator VESIM     (register 33, bit 3)
32	    vcam      : regulator VCAM      (register 33, bit 6)
33	    vrfbg     : regulator VRFBG     (register 33, bit 9)
34	    vvib      : regulator VVIB      (register 33, bit 11)
35	    vrf1      : regulator VRF1      (register 33, bit 12)
36	    vrf2      : regulator VRF2      (register 33, bit 15)
37	    vmmc1     : regulator VMMC1     (register 33, bit 18)
38	    vmmc2     : regulator VMMC2     (register 33, bit 21)
39	    gpo1      : regulator GPO1      (register 34, bit 6)
40	    gpo2      : regulator GPO2      (register 34, bit 8)
41	    gpo3      : regulator GPO3      (register 34, bit 10)
42	    gpo4      : regulator GPO4      (register 34, bit 12)
43	    pwgt1spi  : regulator PWGT1SPI  (register 34, bit 15)
44	    pwgt2spi  : regulator PWGT2SPI  (register 34, bit 16)
45	
46	MC13892 regulators:
47	    vcoincell : regulator VCOINCELL (register 13, bit 23)
48	    sw1       : regulator SW1	    (register 24, bit 0)
49	    sw2       : regulator SW2	    (register 25, bit 0)
50	    sw3       : regulator SW3	    (register 26, bit 0)
51	    sw4       : regulator SW4	    (register 27, bit 0)
52	    swbst     : regulator SWBST	    (register 29, bit 20)
53	    vgen1     : regulator VGEN1	    (register 32, bit 0)
54	    viohi     : regulator VIOHI	    (register 32, bit 3)
55	    vdig      : regulator VDIG	    (register 32, bit 9)
56	    vgen2     : regulator VGEN2	    (register 32, bit 12)
57	    vpll      : regulator VPLL	    (register 32, bit 15)
58	    vusb2     : regulator VUSB2	    (register 32, bit 18)
59	    vgen3     : regulator VGEN3	    (register 33, bit 0)
60	    vcam      : regulator VCAM	    (register 33, bit 6)
61	    vvideo    : regulator VVIDEO    (register 33, bit 12)
62	    vaudio    : regulator VAUDIO    (register 33, bit 15)
63	    vsd       : regulator VSD	    (register 33, bit 18)
64	    gpo1      : regulator GPO1	    (register 34, bit 6)
65	    gpo2      : regulator GPO2	    (register 34, bit 8)
66	    gpo3      : regulator GPO3	    (register 34, bit 10)
67	    gpo4      : regulator GPO4	    (register 34, bit 12)
68	    pwgt1spi  : regulator PWGT1SPI  (register 34, bit 15)
69	    pwgt2spi  : regulator PWGT2SPI  (register 34, bit 16)
70	    vusb      : regulator VUSB	    (register 50, bit 3)
71	
72	  The bindings details of individual regulator device can be found in:
73	  Documentation/devicetree/bindings/regulator/regulator.txt
74	
75	Examples:
76	
77	ecspi@70010000 { /* ECSPI1 */
78		fsl,spi-num-chipselects = <2>;
79		cs-gpios = <&gpio4 24 0>, /* GPIO4_24 */
80			   <&gpio4 25 0>; /* GPIO4_25 */
81		status = "okay";
82	
83		pmic: mc13892@0 {
84			#address-cells = <1>;
85			#size-cells = <0>;
86			compatible = "fsl,mc13892";
87			spi-max-frequency = <6000000>;
88			reg = <0>;
89			interrupt-parent = <&gpio0>;
90			interrupts = <8>;
91	
92			regulators {
93				sw1_reg: mc13892__sw1 {
94					regulator-min-microvolt = <600000>;
95					regulator-max-microvolt = <1375000>;
96					regulator-boot-on;
97					regulator-always-on;
98				};
99	
100				sw2_reg: mc13892__sw2 {
101					regulator-min-microvolt = <900000>;
102					regulator-max-microvolt = <1850000>;
103					regulator-boot-on;
104					regulator-always-on;
105				};
106			};
107		};
108	};
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.