-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bastian Hecht
authored and
Dmitry Torokhov
committed
Apr 15, 2013
1 parent
93c9102
commit b252a78
Showing
4 changed files
with
81 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 95b24d22135549ac8352d719a052002838bb9f80 | ||
refs/heads/master: e6a90810559cc3755a5b1629d1fd0b914462f98c |
24 changes: 24 additions & 0 deletions
24
trunk/Documentation/devicetree/bindings/input/touchscreen/sitronix-st1232.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* 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>; | ||
}; | ||
|
||
/* ... */ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef _LINUX_ST1232_PDATA_H | ||
#define _LINUX_ST1232_PDATA_H | ||
|
||
/* | ||
* Optional platform data | ||
* | ||
* Use this if you want the driver to drive the reset pin. | ||
*/ | ||
struct st1232_pdata { | ||
int reset_gpio; | ||
}; | ||
|
||
#endif |