From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aleksei Mamlin Subject: [PATCH v2 3/3] input: goodix: Add bindings documentation Date: Sun, 18 Jan 2015 17:05:17 +0300 Message-ID: <1421589917-15687-1-git-send-email-mamlinav@gmail.com> References: <1421589740-12132-1-git-send-email-mamlinav@gmail.com> Return-path: Received: from mail-la0-f41.google.com ([209.85.215.41]:50674 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751045AbbAROGU (ORCPT ); Sun, 18 Jan 2015 09:06:20 -0500 In-Reply-To: <1421589740-12132-1-git-send-email-mamlinav@gmail.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: linux-input@vger.kernel.org Cc: devicetree@vger.kernel.org, Aleksei Mamlin Signed-off-by: Aleksei Mamlin --- .../bindings/input/touchscreen/gt9xx.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt b/Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt new file mode 100644 index 0000000..96c17f0 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt @@ -0,0 +1,23 @@ +Device tree bindings for Goodix GT9xx series touchscreen controller + +Required properties: + + - compatible : Should be "goodix,gt9xx" + - reg : I2C address of the chip + - interrupt-parent : Interrupt controller to which the chip is connected + - interrupts : Interrupt to which the chip is connected + +Example: + + i2c@00000000 { + /* ... */ + + gt9xx@5d { + compatible = "goodix,gt9xx"; + reg = <0x5d>; + interrupt-parent = <&gpio>; + interrupts = <0 2>; + }; + + /* ... */ + }; -- 2.0.5