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 <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Vipul Kumar Samar <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
Vipul Kumar Samar 2012-12-07 20:29:37 +05:30 • committed by Samuel Ortiz
commit ac713cc9fc
2 changed files with 21 additions and 9 deletions

View file

@ -1,8 +1,11 @@
* STMPE Multi-Functional Device
* ST Microelectronics STMPE Multi-Functional Device
STMPE is an MFD device which may expose the following inbuilt devices: gpio,
keypad, touchscreen, adc, pwm, rotator.
Required properties:
- compatible : "st,stmpe[811|1601|2401|2403]"
- reg : I2C address of the device
- compatible : "st,stmpe[610|801|811|1601|2401|2403]"
- reg : I2C/SPI address of the device
Optional properties:
- interrupts : The interrupt outputs from the controller