diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-12-12 12:52:57 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-08 18:37:35 -0500 |
commit | 876989d58658858f27a461f0b4b43fa750a208f4 (patch) | |
tree | 6ccd9e3d9cf0c190083a1dcb1d192c91ab616261 /Documentation | |
parent | af9081ae64b941d32239b947882cd59ba855c5db (diff) |
mfd: Add device tree probe support for mc13xxx
This adds device tree probe support for mc13xxx mfd driver.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/mc13xxx.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/mc13xxx.txt b/Documentation/devicetree/bindings/mfd/mc13xxx.txt new file mode 100644 index 000000000000..4ed46a610633 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/mc13xxx.txt | |||
@@ -0,0 +1,53 @@ | |||
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 name of regulator node | ||
14 | is being used by mc13xxx regulator driver to find the correct relator | ||
15 | device. | ||
16 | |||
17 | The bindings details of individual regulator device can be found in: | ||
18 | Documentation/devicetree/bindings/regulator/regulator.txt | ||
19 | |||
20 | Examples: | ||
21 | |||
22 | ecspi@70010000 { /* ECSPI1 */ | ||
23 | fsl,spi-num-chipselects = <2>; | ||
24 | cs-gpios = <&gpio3 24 0>, /* GPIO4_24 */ | ||
25 | <&gpio3 25 0>; /* GPIO4_25 */ | ||
26 | status = "okay"; | ||
27 | |||
28 | pmic: mc13892@0 { | ||
29 | #address-cells = <1>; | ||
30 | #size-cells = <0>; | ||
31 | compatible = "fsl,mc13892"; | ||
32 | spi-max-frequency = <6000000>; | ||
33 | reg = <0>; | ||
34 | interrupt-parent = <&gpio0>; | ||
35 | interrupts = <8>; | ||
36 | |||
37 | regulators { | ||
38 | sw1_reg: mc13892__sw1 { | ||
39 | regulator-min-microvolt = <600000>; | ||
40 | regulator-max-microvolt = <1375000>; | ||
41 | regulator-boot-on; | ||
42 | regulator-always-on; | ||
43 | }; | ||
44 | |||
45 | sw2_reg: mc13892__sw2 { | ||
46 | regulator-min-microvolt = <900000>; | ||
47 | regulator-max-microvolt = <1850000>; | ||
48 | regulator-boot-on; | ||
49 | regulator-always-on; | ||
50 | }; | ||
51 | }; | ||
52 | }; | ||
53 | }; | ||