mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
dt-bindings: Add dt binding for NT36xxx driver
Add device tree binding document for new touch driver. Change-Id: Ib45cabd7b2de3d094dc6832a9aff66520b033aaa
This commit is contained in:
parent
f033f4158b
commit
84fdc29d74
1 changed files with 32 additions and 0 deletions
32
bindings/input/touchscreen/novatek_nt36xxx.txt
Normal file
32
bindings/input/touchscreen/novatek_nt36xxx.txt
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
* Novatek nt36xxx touch controller
|
||||
|
||||
Please add this description here: The Novatek Touch controller is connected to the
|
||||
host processor via I2C. The controller generates interrupts when the user touches
|
||||
the panel. The host controller is expected to read the touch coordinates over I2C and
|
||||
pass the coordinates to the rest of the system.
|
||||
|
||||
Required properties:
|
||||
- compatible : should be "novatek,NVT-ts"
|
||||
- reg : i2c slave address of the device.
|
||||
- vdd-supply : digital voltage power supply needed to power device.
|
||||
- avdd-supply : analog voltage power supply needed to power device.
|
||||
- novatek,reset-gpio : reset gpio.
|
||||
- novatek,irq-gpio : irq gpio.
|
||||
|
||||
Example:
|
||||
&i2c_1 {
|
||||
status = "ok";
|
||||
|
||||
/* Novatek device tree node */
|
||||
novatek@62 {
|
||||
compatible = "novatek,NVT-ts";
|
||||
reg = <0x62>;
|
||||
status = "ok";
|
||||
|
||||
vdd-supply = <&pm8994_lvs2>;
|
||||
avdd-supply = <&pm8994_l22>;
|
||||
|
||||
novatek,reset-gpio = <&msm_gpio 102 0x00>;
|
||||
novatek,irq-gpio = <&msm_gpio 65 0x2001>;
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue