mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
ac713cc9fc
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>
29 lines
974 B
Plaintext
29 lines
974 B
Plaintext
* 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[610|801|811|1601|2401|2403]"
|
|
- reg : I2C/SPI address of the device
|
|
|
|
Optional properties:
|
|
- interrupts : The interrupt outputs from the controller
|
|
- interrupt-controller : Marks the device node as an interrupt controller
|
|
- interrupt-parent : Specifies which IRQ controller we're connected to
|
|
- wakeup-source : Marks the input device as wakable
|
|
- st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
|
|
|
|
Example:
|
|
|
|
stmpe1601: stmpe1601@40 {
|
|
compatible = "st,stmpe1601";
|
|
reg = <0x40>;
|
|
interrupts = <26 0x4>;
|
|
interrupt-parent = <&gpio6>;
|
|
interrupt-controller;
|
|
|
|
wakeup-source;
|
|
st,autosleep-timeout = <1024>;
|
|
};
|