stmpe.txt 1.0 KB
Newer Older
1 2 3 4
* ST Microelectronics STMPE Multi-Functional Device

STMPE is an MFD device which may expose the following inbuilt devices: gpio,
keypad, touchscreen, adc, pwm, rotator.
5 6

Required properties:
7
 - compatible                   : "st,stmpe[610|801|811|1600|1601|2401|2403]"
8
 - reg                          : I2C/SPI address of the device
9 10 11 12 13

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
14
 - wakeup-source                : Marks the input device as wakable
15
 - st,autosleep-timeout         : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
16
 - irq-gpio                     : If present, which GPIO to use for event IRQ
17 18 19 20 21 22 23 24 25 26

Example:

	stmpe1601: stmpe1601@40 {
		compatible = "st,stmpe1601";
		reg = <0x40>;
		interrupts = <26 0x4>;
		interrupt-parent = <&gpio6>;
		interrupt-controller;

27
		wakeup-source;
28 29
		st,autosleep-timeout = <1024>;
	};