From patchwork Wed Mar 22 19:05:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9639909 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 09061601E9 for ; Wed, 22 Mar 2017 19:16:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD1D927F81 for ; Wed, 22 Mar 2017 19:16:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D197B2846F; Wed, 22 Mar 2017 19:16:25 +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=0.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5111A27F81 for ; Wed, 22 Mar 2017 19:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=yUw94N5UppqJBBLtpmMw3oLVoaZRXWZg8wLnpiPqUN0=; b=QjvBmuuVB/piJQ+ZsrLIEuywuP ICjL7lGNxoxYVyopUV9Gfw+KbO+MgYI8UMHEown3DVcIrlhh+88TbOPpm0O358HBC4fOeo74cmx+L 8QZCD9QXx7FCodJpm8KMCI36xosFxaznajY922sRd9PYBQWcWEwibTppzkVozjR82fcv3xecScEFQ xzo2RN3ngqs5/cLG1A/rNarVIEwBrgkRhEGJlCoPraRME+7rZr1fwCtNU5RflQuT9g/daMsfS2jtz frujfkIrkFKsgxoc6P4cpQ63Hk4wmmLqX0ijAsDblzumEVZ6rp9UeTCarNvz8pK4kbdyMq4afxfI0 Tkol9cBg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqlk8-0004Jf-0m; Wed, 22 Mar 2017 19:16:24 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqlc7-0007zn-AF for linux-arm-kernel@bombadil.infradead.org; Wed, 22 Mar 2017 19:08:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/jvltP6vEEWi/kKOC2IcP9qN0HTFdIn9L+XK5Ag0JaM=; b=21DHws1O8nc4RxqlL7Gwm/dEX QaBcpLtY0ulM/dikbN9e4fQZWCEeXVLunpuJRtnWdynF/sEa3NAVxefcQPzwXamg7wJ7198/Mm0Gm 2syTdBCOPjeWIA0iQh+yyRPrW5jD4dGzoR6CTgzjy/8a5VCemIdMUPyCIEugOLbKq+vjbTfUgCqlO jG8GfoXaNsAPRQDVrqgH3aM/HvRP70sHzEcbgCC/DDfvWjdbMaeohAOXFeA38q8ymMGAN/aadbr65 nNwpd4sxt6r70b8ugdcu/o2XAORVgwxT9S5jo0IujJNBLFyO+VDJzQvvuK2nhp9VPaPgIiU/XRWDv /IzMVElQQ==; Received: from mail-pf0-f193.google.com ([209.85.192.193]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqlc5-0001sb-Sa for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 19:08:06 +0000 Received: by mail-pf0-f193.google.com with SMTP id n11so16860793pfg.2 for ; Wed, 22 Mar 2017 12:07:45 -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=/jvltP6vEEWi/kKOC2IcP9qN0HTFdIn9L+XK5Ag0JaM=; b=lDXgA2Plz8p69n5ytQx2PhUhaFS62zqsOwfaMy5qyj41oXpc54sQ2aQZZ/M9OgLnWs rprv5aFUWoZAy2DE4WjItp0jGyfN0jWbPHsOo3T/OriUmZnB9dTCVeEkgcJDLiGfkqUb X3o+8T87POGp3Y8XlC+xnC+0cfDDj+S2amZ8aRpmOz5Mqsll75HUqfz/CE9LLnQ5rvDd 6ZN+LS8vJ5RJnzZe8XRhoCStwomxyTZI8JrrHTiVJCkUkVQWz0pvNjIAr+F3sTujYpPl loBFQCjgI0pgftxWzrfzIe93990m4Ntu0uT/1JY05wXxjjHgL/MfZaYlrY5Isl7NrqyI WV1w== X-Gm-Message-State: AFeK/H1m6Qky3BHXG2CUYPiMv5QY98zAH5AzYNabHa8ce7gNlYusa3XwiJ6p+Spf8adpMA== X-Received: by 10.98.35.9 with SMTP id j9mr49486324pfj.114.1490209664832; Wed, 22 Mar 2017 12:07:44 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.36]) by smtp.gmail.com with ESMTPSA id y70sm5423202pfa.96.2017.03.22.12.07.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 12:07:43 -0700 (PDT) From: Jagan Teki To: linux-input@vger.kernel.org Subject: [PATCH v8 2/3] dt-bindings: input: touchscreen: Add max11801-ts binding Date: Thu, 23 Mar 2017 00:35:17 +0530 Message-Id: <1490209518-20790-2-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490209518-20790-1-git-send-email-jagan@openedev.com> References: <1490209518-20790-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_150806_020798_27D4A2A6 X-CRM114-Status: GOOD ( 12.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, Rob Herring , Jagan Teki , Michael Trimarchi , Shawn Guo , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki Add missing documentation of max11801-ts dt-binding details. Cc: Dmitry Torokhov Cc: Mark Rutland Cc: Rob Herring Cc: Shawn Guo Cc: Michael Trimarchi Signed-off-by: Jagan Teki Acked-by: Rob Herring --- Changes for v8: - Use IRQ_TYPE_EDGE_FALLING for interrupt trigger type. 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..40ac0fe --- /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 IRQ_TYPE_EDGE_FALLING>; + }; +};