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: 9639899 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 D463C6020B for ; Wed, 22 Mar 2017 19:08:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B49AD277D9 for ; Wed, 22 Mar 2017 19:08:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A93D728452; Wed, 22 Mar 2017 19:08:15 +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 41CD2277D9 for ; Wed, 22 Mar 2017 19:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759739AbdCVTIM (ORCPT ); Wed, 22 Mar 2017 15:08:12 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35468 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965877AbdCVTH7 (ORCPT ); Wed, 22 Mar 2017 15:07:59 -0400 Received: by mail-pf0-f194.google.com with SMTP id n11so16861246pfg.2; 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=OqderARAEw2raEoxxWg+w/MCaWolzfY5IeXGeaWkHFNIFrB7CaoFIrz91jr9W0D/+w Rur6Doqm7+0JLXAt3CtyCZRRadauB9K5rFZDPwoDRF5I1khH06R7n3R4vDxpSkmLyEvz 1nlhCc2NLdigRAZMtJOR91h856tqWj1zq3mzNREWscKAqVG5C/6UBAFQfMDY9Pq/i0pN znIAB9Uj23yrlvlmXBpAcLMc6kVvgXfs+VvGzvtS5c9bYe3ukTcB/ohGh2kdTasg6M59 du8ZEJRRXAXYfkDO1R5K71NSROwZIkn75U4tuPHvUyqN+mdjOpQET8YdX/PWdXhvsT/V NbWg== X-Gm-Message-State: AFeK/H3tk4VnS2E2uA5JTaXD9SPrF3kc5p/7fn2UX/Ln51lbuUZ8lgI4ZbDEt8SW9W75LQ== 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jagan Teki , Dmitry Torokhov , Domenico Acri , Matteo Lisi , Michael Trimarchi , Shawn Guo 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> 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 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";