diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-13 23:43:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-13 23:43:32 -0500 |
commit | 21ebd6c68b5511b55f4f456e4ba17c2d711e3617 (patch) | |
tree | 2f4f98568a7a52ab6734fb190d0cbf6f9c1c6492 /Documentation | |
parent | 4b8be38cf782f8ebebc089083fa0572ade79d7ca (diff) | |
parent | 74d836c4142e5d100f8d9a1b2ee3003c2ed7109d (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (59 commits)
rtc: max8925: Add function to work as wakeup source
mfd: Add pm ops to max8925
mfd: Convert aat2870 to dev_pm_ops
mfd: Still check other interrupts if we get a wm831x touchscreen IRQ
mfd: Introduce missing kfree in 88pm860x probe routine
mfd: Add S5M series configuration
mfd: Add s5m series irq driver
mfd: Add S5M core driver
mfd: Improve mc13xxx dt binding document
mfd: Fix stmpe section mismatch
mfd: Fix stmpe build warning
mfd: Fix STMPE I2c build failure
mfd: Constify aat2870-core i2c_device_id table
gpio: Add support for stmpe variant 801
mfd: Add support for stmpe variant 801
mfd: Add support for stmpe variant 610
mfd: Add support for STMPE SPI interface
mfd: Separate out STMPE controller and interface specific code
misc: Remove max8997-muic sysfs attributes
mfd: Remove unused wm831x_irq_data_to_mask_reg()
...
Fix up trivial conflict in drivers/leds/Kconfig due to addition of
LEDS_MAX8997 and LEDS_TCA6507 next to each other.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/mc13xxx.txt | 78 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mfd/twl-familly.txt | 47 |
2 files changed, 125 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..19f6af47a792 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/mc13xxx.txt | |||
@@ -0,0 +1,78 @@ | |||
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 MC13892 regulators are | ||
14 | bound using their names as listed below with their registers and bits | ||
15 | for enabling. | ||
16 | |||
17 | vcoincell : regulator VCOINCELL (register 13, bit 23) | ||
18 | sw1 : regulator SW1 (register 24, bit 0) | ||
19 | sw2 : regulator SW2 (register 25, bit 0) | ||
20 | sw3 : regulator SW3 (register 26, bit 0) | ||
21 | sw4 : regulator SW4 (register 27, bit 0) | ||
22 | swbst : regulator SWBST (register 29, bit 20) | ||
23 | vgen1 : regulator VGEN1 (register 32, bit 0) | ||
24 | viohi : regulator VIOHI (register 32, bit 3) | ||
25 | vdig : regulator VDIG (register 32, bit 9) | ||
26 | vgen2 : regulator VGEN2 (register 32, bit 12) | ||
27 | vpll : regulator VPLL (register 32, bit 15) | ||
28 | vusb2 : regulator VUSB2 (register 32, bit 18) | ||
29 | vgen3 : regulator VGEN3 (register 33, bit 0) | ||
30 | vcam : regulator VCAM (register 33, bit 6) | ||
31 | vvideo : regulator VVIDEO (register 33, bit 12) | ||
32 | vaudio : regulator VAUDIO (register 33, bit 15) | ||
33 | vsd : regulator VSD (register 33, bit 18) | ||
34 | gpo1 : regulator GPO1 (register 34, bit 6) | ||
35 | gpo2 : regulator GPO2 (register 34, bit 8) | ||
36 | gpo3 : regulator GPO3 (register 34, bit 10) | ||
37 | gpo4 : regulator GPO4 (register 34, bit 12) | ||
38 | pwgt1spi : regulator PWGT1SPI (register 34, bit 15) | ||
39 | pwgt2spi : regulator PWGT2SPI (register 34, bit 16) | ||
40 | vusb : regulator VUSB (register 50, bit 3) | ||
41 | |||
42 | The bindings details of individual regulator device can be found in: | ||
43 | Documentation/devicetree/bindings/regulator/regulator.txt | ||
44 | |||
45 | Examples: | ||
46 | |||
47 | ecspi@70010000 { /* ECSPI1 */ | ||
48 | fsl,spi-num-chipselects = <2>; | ||
49 | cs-gpios = <&gpio3 24 0>, /* GPIO4_24 */ | ||
50 | <&gpio3 25 0>; /* GPIO4_25 */ | ||
51 | status = "okay"; | ||
52 | |||
53 | pmic: mc13892@0 { | ||
54 | #address-cells = <1>; | ||
55 | #size-cells = <0>; | ||
56 | compatible = "fsl,mc13892"; | ||
57 | spi-max-frequency = <6000000>; | ||
58 | reg = <0>; | ||
59 | interrupt-parent = <&gpio0>; | ||
60 | interrupts = <8>; | ||
61 | |||
62 | regulators { | ||
63 | sw1_reg: mc13892__sw1 { | ||
64 | regulator-min-microvolt = <600000>; | ||
65 | regulator-max-microvolt = <1375000>; | ||
66 | regulator-boot-on; | ||
67 | regulator-always-on; | ||
68 | }; | ||
69 | |||
70 | sw2_reg: mc13892__sw2 { | ||
71 | regulator-min-microvolt = <900000>; | ||
72 | regulator-max-microvolt = <1850000>; | ||
73 | regulator-boot-on; | ||
74 | regulator-always-on; | ||
75 | }; | ||
76 | }; | ||
77 | }; | ||
78 | }; | ||
diff --git a/Documentation/devicetree/bindings/mfd/twl-familly.txt b/Documentation/devicetree/bindings/mfd/twl-familly.txt new file mode 100644 index 000000000000..a66fcf946759 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/twl-familly.txt | |||
@@ -0,0 +1,47 @@ | |||
1 | Texas Instruments TWL family | ||
2 | |||
3 | The TWLs are Integrated Power Management Chips. | ||
4 | Some version might contain much more analog function like | ||
5 | USB transceiver or Audio amplifier. | ||
6 | These chips are connected to an i2c bus. | ||
7 | |||
8 | |||
9 | Required properties: | ||
10 | - compatible : Must be "ti,twl4030"; | ||
11 | For Integrated power-management/audio CODEC device used in OMAP3 | ||
12 | based boards | ||
13 | - compatible : Must be "ti,twl6030"; | ||
14 | For Integrated power-management used in OMAP4 based boards | ||
15 | - interrupts : This i2c device has an IRQ line connected to the main SoC | ||
16 | - interrupt-controller : Since the twl support several interrupts internally, | ||
17 | it is considered as an interrupt controller cascaded to the SoC one. | ||
18 | - #interrupt-cells = <1>; | ||
19 | - interrupt-parent : The parent interrupt controller. | ||
20 | |||
21 | Optional node: | ||
22 | - Child nodes contain in the twl. The twl family is made of several variants | ||
23 | that support a different number of features. | ||
24 | The children nodes will thus depend of the capability of the variant. | ||
25 | |||
26 | |||
27 | Example: | ||
28 | /* | ||
29 | * Integrated Power Management Chip | ||
30 | * http://www.ti.com/lit/ds/symlink/twl6030.pdf | ||
31 | */ | ||
32 | twl@48 { | ||
33 | compatible = "ti,twl6030"; | ||
34 | reg = <0x48>; | ||
35 | interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */ | ||
36 | interrupt-controller; | ||
37 | #interrupt-cells = <1>; | ||
38 | interrupt-parent = <&gic>; | ||
39 | #address-cells = <1>; | ||
40 | #size-cells = <0>; | ||
41 | |||
42 | twl_rtc { | ||
43 | compatible = "ti,twl_rtc"; | ||
44 | interrupts = <11>; | ||
45 | reg = <0>; | ||
46 | }; | ||
47 | }; | ||