From patchwork Wed Mar 22 11:06:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9638529 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 81AC96020B for ; Wed, 22 Mar 2017 11:08:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 761B928418 for ; Wed, 22 Mar 2017 11:08:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AACD28454; Wed, 22 Mar 2017 11:08:29 +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=-4.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB 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 5A2EB28420 for ; Wed, 22 Mar 2017 11:08:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758975AbdCVLI0 (ORCPT ); Wed, 22 Mar 2017 07:08:26 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:32816 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758814AbdCVLIZ (ORCPT ); Wed, 22 Mar 2017 07:08:25 -0400 Received: by mail-pf0-f195.google.com with SMTP id p189so20798251pfp.0; Wed, 22 Mar 2017 04:08:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KKvBb1wvTwRzfTawmCbz3I1YZTrVrk4bov/manmMWb4=; b=Q4IGxTXSI0VBAK5XJS0GrYxD28Jgjjxrn63Pu5n+qw9yRj6xojTr9L4LWsJ2kGAzQD DK0tvWIdbnAPRzZpRkkz8QZfI5ITf0So3fiYAXiX0T3wq42Rrxffc4UI3ELNjggU3uhL UDierV9wvxjPaV00UwIfoCprVxRefyQ7w8GWd6+2KEj4kjTuafzrqfdiHzYy47jl56Ee QX48FpoaVsKvV0XLfe2AHdYaMuOOZQMuTJXlWk97QgcVAgKfz0P6KdcTdBRbx0qLU5Af NpAAweFB0I2/NFeCvZqbFAWxj+O+WkzBvKh0FzpadUhOJSDDJAIssnIFPxSAN9JOq8ez /4ZA== X-Gm-Message-State: AFeK/H2RlolhyqQ8uNQRmGoohgX9v8bHgpp0Y5lHaM/UP2vpe4hASNY1XYu7i8OzcJov0w== X-Received: by 10.98.158.71 with SMTP id s68mr45631199pfd.159.1490180893025; Wed, 22 Mar 2017 04:08:13 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.36]) by smtp.gmail.com with ESMTPSA id z21sm3313595pgc.53.2017.03.22.04.08.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 04:08:11 -0700 (PDT) From: Jagan Teki To: linux-input@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jagan Teki , Mark Rutland , Rob Herring , Shawn Guo , Michael Trimarchi Subject: [PATCH v7 2/3] dt-bindings: input: touchscreen: Add max11801-ts binding Date: Wed, 22 Mar 2017 16:36:47 +0530 Message-Id: <1490180808-2856-2-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490180808-2856-1-git-send-email-jagan@openedev.com> References: <1490180808-2856-1-git-send-email-jagan@openedev.com> 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 From: Jagan Teki Add missing documentation of max11801-ts dt-binding details. Cc: Mark Rutland Cc: Rob Herring Cc: Shawn Guo Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v7: - add vendor prefix as maxim Changes for v6: - Replace the lable and name of the node ts: max11801 => max11801: touchscreen@48 Changes for v5: - Newly added patch .../bindings/input/touchscreen/max11801-ts.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt new file mode 100644 index 0000000..8a6cb95 --- /dev/null +++ b/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 2>; + }; +};