diff options
author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-12-07 09:59:37 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-12-10 04:03:50 -0500 |
commit | ac713cc9fcb8a5f9503af08421772b85ca4685f1 (patch) | |
tree | b2a712700477bb7056c0b0cd26896441890823f5 /Documentation | |
parent | be2f6f5a7833b99bdee97c4b877dcd2afc6cdd00 (diff) |
mfd: stmpe: Update DT support for stmpe driver
This patch extends existing DT support for stmpe devices. This updates:
- missing header files in stmpe.c
- stmpe_of_probe() with pwm, rotator and new bindings.
- Bindings are updated in binding document.
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/stmpe.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt b/Documentation/devicetree/bindings/mfd/stmpe.txt index c98450887d5e..56edb5520685 100644 --- a/Documentation/devicetree/bindings/mfd/stmpe.txt +++ b/Documentation/devicetree/bindings/mfd/stmpe.txt | |||
@@ -1,8 +1,11 @@ | |||
1 | * STMPE Multi-Functional Device | 1 | * ST Microelectronics STMPE Multi-Functional Device |
2 | |||
3 | STMPE is an MFD device which may expose the following inbuilt devices: gpio, | ||
4 | keypad, touchscreen, adc, pwm, rotator. | ||
2 | 5 | ||
3 | Required properties: | 6 | Required properties: |
4 | - compatible : "st,stmpe[811|1601|2401|2403]" | 7 | - compatible : "st,stmpe[610|801|811|1601|2401|2403]" |
5 | - reg : I2C address of the device | 8 | - reg : I2C/SPI address of the device |
6 | 9 | ||
7 | Optional properties: | 10 | Optional properties: |
8 | - interrupts : The interrupt outputs from the controller | 11 | - interrupts : The interrupt outputs from the controller |