Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84e6de81 authored by Lee Jones's avatar Lee Jones Committed by Samuel Ortiz
Browse files

Documentation: Describe bindings for STMPE Multi-Functional Device driver



Here we add the required documentation for the STMPE Multi-Functional
Device (MFD) Device Tree bindings. It describes all of the bindings
currently supported by the driver.

Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 909582ca
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
* STMPE Multi-Functional Device

Required properties:
 - compatible                   : "st,stmpe[811|1601|2401|2403]"
 - reg                          : I2C 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
 - i2c-client-wake              : 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;

		i2c-client-wake;
		st,autosleep-timeout = <1024>;
	};