-
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.
yaml --- r: 342175 b: refs/heads/master c: fb64700 h: refs/heads/master i: 342173: d4a0528 342171: d80dd91 342167: 061ba59 342159: 5d4916f 342143: a0e7170 v: v3
- Loading branch information
Lee Jones
committed
Nov 1, 2012
1 parent
c375414
commit 98bc994
Showing
2 changed files
with
29 additions
and
1 deletion.
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: ab196b4138fb9b3e6908c85eb4bf412d2a6753cd | ||
refs/heads/master: fb647002e4b6393a1f552b2fe48ba88c50d1d6e4 |
28 changes: 28 additions & 0 deletions
28
trunk/Documentation/devicetree/bindings/input/touchscreen/bu21013.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,28 @@ | ||
* Rohm BU21013 Touch Screen | ||
|
||
Required properties: | ||
- compatible : "rohm,bu21013_tp" | ||
- reg : I2C device address | ||
|
||
Optional properties: | ||
- touch-gpio : GPIO pin registering a touch event | ||
- <supply_name>-supply : Phandle to a regulator supply | ||
- rohm,touch-max-x : Maximum outward permitted limit in the X axis | ||
- rohm,touch-max-y : Maximum outward permitted limit in the Y axis | ||
- rohm,flip-x : Flip touch coordinates on the X axis | ||
- rohm,flip-y : Flip touch coordinates on the Y axis | ||
|
||
Example: | ||
|
||
i2c@80110000 { | ||
bu21013_tp@0x5c { | ||
compatible = "rohm,bu21013_tp"; | ||
reg = <0x5c>; | ||
touch-gpio = <&gpio2 20 0x4>; | ||
avdd-supply = <&ab8500_ldo_aux1_reg>; | ||
|
||
rohm,touch-max-x = <384>; | ||
rohm,touch-max-y = <704>; | ||
rohm,flip-y; | ||
}; | ||
}; |