Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623537

[PATCH v2] dt-bindings: input: add bindings document for ar1021_i2c driver

From Martin Kepplinger <martin.kepplinger@ginzinger.com>
Newsgroups linux.kernel
Subject [PATCH v2] dt-bindings: input: add bindings document for ar1021_i2c driver
Date 2017-04-14 08:20 +0200
Message-ID <tw2Km-64H-3@gated-at.bofh.it> (permalink)
References <tvTQK-8fn-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add a simple binding document describing the supported devices and the
I2C bus address.

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
---

revision history
----------------
v2: fixed subject line and binding; thanks Rob Herring
v1: initial idea


 .../devicetree/bindings/input/touchscreen/ar1021.txt     | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/ar1021.txt

diff --git a/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt
new file mode 100644
index 0000000..e459e85
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt
@@ -0,0 +1,16 @@
+* Microchip AR1020 and AR1021 touchscreen interface (I2C)
+
+Required properties:
+- compatible		: "microchip,ar1021-i2c"
+- reg			: I2C slave address
+- interrupt-parent	: the phandle for the interrupt controller
+- interrupts		: touch controller interrupt
+
+Example:
+
+	touchscreen@4d {
+		compatible = "microchip,ar1021-i2c";
+		reg = <0x4d>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
+	};
-- 
2.1.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] input: touchscreen: ar1021_i2c: add support for AR1020 Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-11 12:40 +0200
  [PATCH 2/3] Documentation: devicetree: bindings: add bindings doc for ar1021 driver Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-11 12:40 +0200
    Re: [PATCH 2/3] Documentation: devicetree: bindings: add bindings  doc for ar1021 driver Rob Herring <robh@kernel.org> - 2017-04-13 22:50 +0200
      [PATCH v2] dt-bindings: input: add bindings document for ar1021_i2c driver Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-14 08:20 +0200
        Re: [PATCH v2] dt-bindings: input: add bindings document for  ar1021_i2c driver Rob Herring <robh@kernel.org> - 2017-04-20 15:50 +0200
          Re: [PATCH v2] dt-bindings: input: add bindings document for  ar1021_i2c driver Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-04-20 19:50 +0200
  [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-11 12:40 +0200
    Re: [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-04-12 17:50 +0200
  Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for  AR1020 Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-04-12 17:50 +0200
    Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for  AR1020 Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-13 08:40 +0200
      Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for  AR1020 Rob Herring <robh@kernel.org> - 2017-04-13 22:40 +0200
        [PATCH v2] input: touchscreen: ar1021_i2c: highlight support for AR1020 Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-14 08:10 +0200

csiph-web