-
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.
Input: melfas_mip4 - add devicetree binding documentations
Add devicetree binding documentations. Signed-off-by: Sangwon Jee <jeesw@melfas.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
- Loading branch information
Sangwon Jee
authored and
Dmitry Torokhov
committed
Oct 7, 2016
1 parent
62837b3
commit e687abf
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.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,21 @@ | ||
* MELFAS MIP4 Touchscreen | ||
|
||
Required properties: | ||
- compatible: must be "melfas,mip4_ts" | ||
- reg: I2C slave address of the chip (0x48 or 0x34) | ||
- interrupt-parent: interrupt controller to which the chip is connected | ||
- interrupts: interrupt to which the chip is connected | ||
|
||
Optional properties: | ||
- ce-gpios: GPIO connected to the CE (chip enable) pin of the chip | ||
|
||
Example: | ||
i2c@00000000 { | ||
touchscreen: melfas_mip4@48 { | ||
compatible = "melfas,mip4_ts"; | ||
reg = <0x48>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <0 IRQ_TYPE_EDGE_FALLING>; | ||
ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; |
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