-
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: 346915 b: refs/heads/master c: ad5396e h: refs/heads/master i: 346913: 424038f 346911: 830aa00 v: v3
- Loading branch information
Tomasz Figa
authored and
Dmitry Torokhov
committed
Oct 11, 2012
1 parent
af3b329
commit b48fad9
Showing
3 changed files
with
95 additions
and
3 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: dae6ba4ab797ed411fbde60ef5b5f6fbf13f0090 | ||
refs/heads/master: ad5396ee32afbdabb6188ffba67778080ea795b8 |
34 changes: 34 additions & 0 deletions
34
trunk/Documentation/devicetree/bindings/input/touchscreen/mms114.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,34 @@ | ||
* MELFAS MMS114 touchscreen controller | ||
|
||
Required properties: | ||
- compatible: must be "melfas,mms114" | ||
- reg: I2C address of the chip | ||
- interrupts: interrupt to which the chip is connected | ||
- x-size: horizontal resolution of touchscreen | ||
- y-size: vertical resolution of touchscreen | ||
|
||
Optional properties: | ||
- contact-threshold: | ||
- moving-threshold: | ||
- x-invert: invert X axis | ||
- y-invert: invert Y axis | ||
|
||
Example: | ||
|
||
i2c@00000000 { | ||
/* ... */ | ||
|
||
touchscreen@48 { | ||
compatible = "melfas,mms114"; | ||
reg = <0x48>; | ||
interrupts = <39 0>; | ||
x-size = <720>; | ||
y-size = <1280>; | ||
contact-threshold = <10>; | ||
moving-threshold = <10>; | ||
x-invert; | ||
y-invert; | ||
}; | ||
|
||
/* ... */ | ||
}; |
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