aboutsummaryrefslogtreecommitdiff
path: root/Bindings/input/touchscreen/edt-ft5x06.txt
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-08-31 04:55:32 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-31 04:55:32 +0000
commit081ea6e2ce3778c71b9db86f0af1900ecfc266d6 (patch)
tree0da5ffd36c6ff57306e2c5ea07051924f2a35a35 /Bindings/input/touchscreen/edt-ft5x06.txt
parentd1ca9b39dc9ec58a6b6169a48e5b229a33debaf0 (diff)
downloadsrc-081ea6e2ce3778c71b9db86f0af1900ecfc266d6.tar.gz
src-081ea6e2ce3778c71b9db86f0af1900ecfc266d6.zip
Import from rebasing repo at b78b6b80 (new files)vendor/device-tree/ianc-b78b6b80
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=270866 svn path=/vendor/device-tree/ianc-b78b6b80/dist/; revision=270867; tag=vendor/device-tree/ianc-b78b6b80
Diffstat (limited to 'Bindings/input/touchscreen/edt-ft5x06.txt')
-rw-r--r--Bindings/input/touchscreen/edt-ft5x06.txt55
1 files changed, 55 insertions, 0 deletions
diff --git a/Bindings/input/touchscreen/edt-ft5x06.txt b/Bindings/input/touchscreen/edt-ft5x06.txt
new file mode 100644
index 000000000000..76db96704a60
--- /dev/null
+++ b/Bindings/input/touchscreen/edt-ft5x06.txt
@@ -0,0 +1,55 @@
+FocalTech EDT-FT5x06 Polytouch driver
+=====================================
+
+There are 3 variants of the chip for various touch panel sizes
+FT5206GE1 2.8" .. 3.8"
+FT5306DE4 4.3" .. 7"
+FT5406EE8 7" .. 8.9"
+
+The software interface is identical for all those chips, so that
+currently there is no need for the driver to distinguish between the
+different chips. Nevertheless distinct compatible strings are used so
+that a distinction can be added if necessary without changing the DT
+bindings.
+
+
+Required properties:
+ - compatible: "edt,edt-ft5206"
+ or: "edt,edt-ft5306"
+ or: "edt,edt-ft5406"
+
+ - reg: I2C slave address of the chip (0x38)
+ - interrupt-parent: a phandle pointing to the interrupt controller
+ serving the interrupt for this chip
+ - interrupts: interrupt specification for the touchdetect
+ interrupt
+
+Optional properties:
+ - reset-gpios: GPIO specification for the RESET input
+ - wake-gpios: GPIO specification for the WAKE input
+
+ - pinctrl-names: should be "default"
+ - pinctrl-0: a phandle pointing to the pin settings for the
+ control gpios
+
+ - threshold: allows setting the "click"-threshold in the range
+ from 20 to 80.
+
+ - gain: allows setting the sensitivity in the range from 0 to
+ 31. Note that lower values indicate higher
+ sensitivity.
+
+ - offset: allows setting the edge compensation in the range from
+ 0 to 31.
+
+Example:
+ polytouch: edt-ft5x06@38 {
+ compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
+ reg = <0x38>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&edt_ft5x06_pins>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <5 0>;
+ reset-gpios = <&gpio2 6 1>;
+ wake-gpios = <&gpio4 9 0>;
+ };