From patchwork Fri Apr 14 06:11:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 9680721 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 CCA2160326 for ; Fri, 14 Apr 2017 06:12:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEC482866E for ; Fri, 14 Apr 2017 06:12:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B3848286AD; Fri, 14 Apr 2017 06:12:01 +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 567F32866E for ; Fri, 14 Apr 2017 06:12:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751525AbdDNGLs (ORCPT ); Fri, 14 Apr 2017 02:11:48 -0400 Received: from mail.ginzinger.com ([31.193.165.229]:51856 "EHLO mail.ginzinger.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbdDNGLs (ORCPT ); Fri, 14 Apr 2017 02:11:48 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.ginzinger.com (Postfix) with ESMTP id CFA04403E; Fri, 14 Apr 2017 08:11:40 +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 JEoslURt2tDG; Fri, 14 Apr 2017 08:11:39 +0200 (CEST) Received: from mail.ginzinger.com (unknown [10.1.1.201]) by mail.ginzinger.com (Postfix) with ESMTPS id 1A5FA403D; Fri, 14 Apr 2017 08:11:39 +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; Fri, 14 Apr 2017 08:11:43 +0200 From: Martin Kepplinger To: , CC: , , , , , Martin Kepplinger Subject: [PATCH v2] dt-bindings: input: add bindings document for ar1021_i2c driver Date: Fri, 14 Apr 2017 08:11:38 +0200 Message-ID: <1492150298-15244-1-git-send-email-martin.kepplinger@ginzinger.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <20170413204041.lqtqfc24vueo5fbj@rob-hp-laptop> References: <20170413204041.lqtqfc24vueo5fbj@rob-hp-laptop> 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 describing the supported devices and the I2C bus address. Signed-off-by: Martin Kepplinger Acked-by: Rob Herring --- 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>; + };