瀏覽代碼

dt-bindings: input: touchscreen: add max11801-ts binding

Add missing documentation of max11801-ts dt-binding details.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Jagan Teki 8 年之前
父節點
當前提交
7e7113f77e
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt

+ 18 - 0
Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt

@@ -0,0 +1,18 @@
+* MAXI MAX11801 Resistive touch screen controller with i2c interface
+
+Required properties:
+- compatible: must be "maxim,max11801"
+- reg: i2c slave address
+- interrupt-parent: the phandle for the interrupt controller
+- interrupts: touch controller interrupt
+
+Example:
+
+&i2c1 {
+	max11801: touchscreen@48 {
+		compatible = "maxim,max11801";
+		reg = <0x48>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
+	};
+};