forked from Minki/linux
e6a9081055
We add the possibility to hand over a GPIO number for the reset pin. This way we can remove existing board code that takes care of it and group this information properly in the platform data or in the device tree configuration. Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
25 lines
431 B
Plaintext
25 lines
431 B
Plaintext
* Sitronix st1232 touchscreen controller
|
|
|
|
Required properties:
|
|
- compatible: must be "sitronix,st1232"
|
|
- reg: I2C address of the chip
|
|
- interrupts: interrupt to which the chip is connected
|
|
|
|
Optional properties:
|
|
- gpios: a phandle to the reset GPIO
|
|
|
|
Example:
|
|
|
|
i2c@00000000 {
|
|
/* ... */
|
|
|
|
touchscreen@55 {
|
|
compatible = "sitronix,st1232";
|
|
reg = <0x55>;
|
|
interrupts = <2 0>;
|
|
gpios = <&gpio1 166 0>;
|
|
};
|
|
|
|
/* ... */
|
|
};
|