From patchwork Wed Mar 22 19:05:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9639907 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 3A03F6020B for ; Wed, 22 Mar 2017 19:08:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1765D28452 for ; Wed, 22 Mar 2017 19:08:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AAB228471; Wed, 22 Mar 2017 19:08:37 +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 A9C4E28452 for ; Wed, 22 Mar 2017 19:08:36 +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=ZVRRzzz/9XwuB4HXt2KDTxGjtqSUVSqkivQ/86nyJ2g=; b=GZ1C0vZ2vziUmvvOaVg9Hz6EBA /a7ZnJigNc5N7s2RONcBTyCJeZsRN4RZmn4x5NU7eTDSBQSF9zyYX/u2fK3bplSvMzQ/4JW0y5HhT vhaBXdlA5ouFItasCyM6oYzBxskFPtV5C5qXlEkAr4pCbH8gWkubdUrbVDtG42gI0aEgpkJv5uQbR SsDFDXllH4mN2oAEcrMb6s+tAYivRQHpBmSAuDZkAX9GByC4KfMrIVEH9fW+obvLWRucsswHWFnlz 2OrI1WTNUj/DspM8mKVJBV+w/BH93msPfYFC+FpCvtY/s+8qi+j1M5O0bKrnO5JPZy1NyDgWotPzy BUMy8sXw==; 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 1cqlca-0008LT-Ea; Wed, 22 Mar 2017 19:08:36 +0000 Received: from mail-pf0-f196.google.com ([209.85.192.196]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqlcC-0007x0-Tf for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 19:08:25 +0000 Received: by mail-pf0-f196.google.com with SMTP id p189so22689883pfp.0 for ; Wed, 22 Mar 2017 12:07:52 -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=xa3aFs0Z8zxFWs/VBiNBKeTGbrFEAn+rYv6XqUiYCl4=; b=fjPXaxpwR8BkXEumlzszDWIK0OIfK7+jVEyMH8y6RWyBfui3XPHNCl4o5rZkbDC9qu lTDHyYE+Pt/vBHmIfOtfxKFgWB0UOzyBsqA06xeBYGpluE5nYKoXehmbUOosNkCs/Z92 Zs5TC9m6ScjR1+0Uxs3fmnLh1DHh1pps+S2ZGVAHxue5UvyxecMJQP4ZYUxbAqBA9VjY qdgJTHV9hERyXPSAaeUG4dn7TAXf91VSZsTAQe8+JurMVGdNrQSza9Iuk0ygnvN14sIA UrTyXZt0zZ6qKMDpOQOuK1L5RJKQw3MEFCYFRZ9+Mg0/6Sioo/3FOWH5fgCkrqkgG053 BJGA== X-Gm-Message-State: AFeK/H1jF3RnZZi6jKov6XLv7MFFD3xMWJATOGEQH98UGewcwumO36OYbvzv/wMrNKKYEw== X-Received: by 10.84.202.163 with SMTP id x32mr56833379pld.67.1490209672147; Wed, 22 Mar 2017 12:07:52 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.36]) by smtp.gmail.com with ESMTPSA id y70sm5423202pfa.96.2017.03.22.12.07.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 12:07:50 -0700 (PDT) From: Jagan Teki To: linux-input@vger.kernel.org Subject: [PATCH v8 3/3] ARM: dts: imx6q-icore: Add touchscreen node Date: Thu, 23 Mar 2017 00:35:18 +0530 Message-Id: <1490209518-20790-3-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_120813_671499_03BDAAE2 X-CRM114-Status: GOOD ( 10.52 ) 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: devicetree@vger.kernel.org, Matteo Lisi , Dmitry Torokhov , linux-kernel@vger.kernel.org, Domenico Acri , 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 max11801 touchscreen on Engicam iCoreM6 Quad module is connected via i2c1, so add max11801: touchscreen@48 on i2c1. Cc: Dmitry Torokhov Cc: Domenico Acri Cc: Matteo Lisi Cc: Michael Trimarchi Cc: Shawn Guo Signed-off-by: Jagan Teki --- 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 arch/arm/boot/dts/imx6q-icore.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-icore.dts b/arch/arm/boot/dts/imx6q-icore.dts index 73f34d1..5613dd9 100644 --- a/arch/arm/boot/dts/imx6q-icore.dts +++ b/arch/arm/boot/dts/imx6q-icore.dts @@ -58,6 +58,15 @@ status = "okay"; }; +&i2c1 { + max11801: touchscreen@48 { + compatible = "maxim,max11801"; + reg = <0x48>; + interrupt-parent = <&gpio3>; + interrupts = <31 IRQ_TYPE_EDGE_FALLING>; + }; +}; + &ldb { status = "okay";