From patchwork Tue Apr 11 10:27:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 9674899 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3DC05600CB for ; Tue, 11 Apr 2017 10:30:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4078D28490 for ; Tue, 11 Apr 2017 10:30:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 352522854F; Tue, 11 Apr 2017 10:30:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB07F28490 for ; Tue, 11 Apr 2017 10:30:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754226AbdDKK3O (ORCPT ); Tue, 11 Apr 2017 06:29:14 -0400 Received: from mail.ginzinger.com ([31.193.165.229]:10470 "EHLO mail.ginzinger.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754309AbdDKK2e (ORCPT ); Tue, 11 Apr 2017 06:28:34 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.ginzinger.com (Postfix) with ESMTP id 521F83E15; Tue, 11 Apr 2017 12:28:29 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.10.1 (20141025) (Debian) at ginzinger.com Received: from mail.ginzinger.com ([127.0.0.1]) by localhost (mail.ginzinger.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id efDSYAJI006O; Tue, 11 Apr 2017 12:28:28 +0200 (CEST) Received: from mail.ginzinger.com (unknown [10.1.1.201]) by mail.ginzinger.com (Postfix) with ESMTPS id 1B000AB8; Tue, 11 Apr 2017 12:28:28 +0200 (CEST) Received: from martin-laptop.buero.ginzinger.com (10.10.1.120) by exc2.buero.ginzinger.com (10.1.1.201) with Microsoft SMTP Server (TLS) id 14.3.339.0; Tue, 11 Apr 2017 12:28:30 +0200 From: Martin Kepplinger To: , CC: , , , , Martin Kepplinger Subject: [PATCH 2/3] Documentation: devicetree: bindings: add bindings doc for ar1021 driver Date: Tue, 11 Apr 2017 12:27:58 +0200 Message-ID: <1491906479-17639-2-git-send-email-martin.kepplinger@ginzinger.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1491906479-17639-1-git-send-email-martin.kepplinger@ginzinger.com> References: <1491906479-17639-1-git-send-email-martin.kepplinger@ginzinger.com> MIME-Version: 1.0 X-Originating-IP: [10.10.1.120] Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a simple binding document highlighting the supported devices and I2C bus address. Signed-off-by: Martin Kepplinger --- .../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..87a8c72 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt @@ -0,0 +1,16 @@ +* Microchip AR1020 and AR1021 touchscreen interface (I2C) + +Required properties: +- compatible : use "microchip,ar1020-i2c" or "microchip,ar1021-i2c" +- reg : I2C slave address +- interrupt-parent : the phandle for the interrupt controller +- interrupts : touch controller interrupt + +Example: + + ar1020: ar1020@4d { + compatible = "microchip,ar1020-i2c"; + reg = <0x4d>; + interrupt-parent = <&gpio3>; + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; + };