From patchwork Thu Jan 4 06:12:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10143943 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 4ECDD60594 for ; Thu, 4 Jan 2018 06:28:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 411C328438 for ; Thu, 4 Jan 2018 06:28:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3469428445; Thu, 4 Jan 2018 06:28:59 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable 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 D150D28438 for ; Thu, 4 Jan 2018 06:28:58 +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=5bGa7DS97FOiN6VExQoQEjC3U3AaCIpfRxAApreIW7o=; b=YvKUww2uiRbpFkvwKYcqmh6LZR xWRXSnqWE6vBuj7hlQ9Lsh7wHElt5mMGgh26H9qka8I1acB/d+8s/o6rRDuJNnQI8w9rP/D0uounj Zy2iki2gTne7KPODrPwFzXSGwrn2WiPfRzNmGwTklV1WiEuL/6rbJ2u4MTktaebQlqvtz1sYW0Uvl QzoxHr9HDp6noPoyKEzyROohgkW/JzyEMN015O5kpbg7pjqf8EIoh9QSrfakD3Dz/K1yxWVc5Jf/A k2sHqdlsbli4XDzkm4JWk1BfHme9IW+qAf7NaBtJTpAjX3J3wB/YSiwqCOStfSzqZeck7TcIGYoaO tdrQRKhg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWz1J-0001IS-V8; Thu, 04 Jan 2018 06:28:54 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWyo2-00028Q-Uh for linux-arm-kernel@lists.infradead.org; Thu, 04 Jan 2018 06:15:26 +0000 Received: by mail-pg0-x244.google.com with SMTP id q67so347611pga.9 for ; Wed, 03 Jan 2018 22:15:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eGhLhLwo9hi3l6FjF99/976nq5xY3DzeslS4lmfmZWM=; b=mvFK5GG3N2F/dx44/E3EpK0+Sg/IVvQQr0Bs8vtVb2cFy6P0phnOj+iQG4MkRngrip O8xBreemPENtz1RCSME0MCH/AFacjfYw7pAo7Q0UN6ymQrwL+DUxmGZLykTxr0KcJlmi zO654ILaMUTKhhzE0jCanIMTnKH7a5zJ5nVYISOrCenc9shjdIiQFT1QL6eQsdiF1dnz Zi5Ama0HcYe5YFFd/vYrL2vuuKbyG8YtAkNymsDqkQy9eYchsYXhMdnP7ijGlNTMaPkP Cx0GJqfbyz9IEPEpQ8i2P0l/RSl/lYJ6g6VVBlYnUK51OE3xuk7dToUWj3o+F1u3VRF1 PbLw== 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=eGhLhLwo9hi3l6FjF99/976nq5xY3DzeslS4lmfmZWM=; b=tgGah6hOOpbHFCw2ObauVe5xR/DHR3cIei2Nj33L2OcVQu6Bj1ZN49ctD++IAS/r8F INyc/WdX6E1tXZ4u+Xcoug8xUkeCI+5MQPPancE52KxdaWhNW7gK8WH2hI6ZHzNAGadi ww9FmgLzxPXqoUK9/tZWw9R/v5ERaVJZu1AbQLNKAK90CQyNeCbg/bB4+lg9h5ZEWi3x 1N+quA7alYsNbqCZ8wiSHzBu4GiuhNiZgLDAoEyMcHtISS9lPYv/EkWq+v4rLBdauiEh Kaoy0jxzDc4IPwLz40D5dyiegZOCC8jhO6GrmMh3pSEZxyI4JJ8dqFoJhJIuCzpavesI UWKg== X-Gm-Message-State: AKGB3mJsD+GWJoqFQ3+358iEL2ql74UewWKPA4Fg4L77r9VMQJPl5dT3 g04Tt+dR7hETjQy2XxzvJhKXDw== X-Google-Smtp-Source: ACJfBovqoGhmuYxI+I44vUOpSAhLc3YjLMJHtz3M9w/yfmeKSDEti0jtYR/D8NwD68bWT/AGVW/aJA== X-Received: by 10.101.81.195 with SMTP id i3mr3201726pgq.260.1515046499729; Wed, 03 Jan 2018 22:14:59 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id y5sm5921514pfa.128.2018.01.03.22.14.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jan 2018 22:14:59 -0800 (PST) From: Jagan Teki To: Shawn Guo Subject: [PATCH v2 6/7] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual OpenFrame Cap 7 initial support Date: Thu, 4 Jan 2018 11:42:24 +0530 Message-Id: <1515046345-15881-7-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515046345-15881-1-git-send-email-jagan@amarulasolutions.com> References: <1515046345-15881-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180103_221512_256369_038D6CF7 X-CRM114-Status: GOOD ( 14.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: devicetree@vger.kernel.org, Matteo Lisi , linux-kernel@vger.kernel.org, Jagan Teki , Sascha Hauer , Fabio Estevam , Michael Trimarchi , 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 i.CoreM6 Quad/Dual OpenFrame modules are "system on modules plus openframe display carriers" which are good solution for develop user friendly graphic user interface. ofcap 7 general features: CPU NXP Freescale i.MX6Q rev1.5 at 792 MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC, 512MB LVDS Display TFT 7" industrial, 800x480 resolution Touchscreen EP0700M06 EDT Polytouch capacitive touch screen Backlight LED backlight, brightness 300 Cd/m2 Power supply 15 to 30 Vdc Signed-off-by: Jagan Teki --- Changes for v2: - Updated licence text - remove big notes, add SPDX and author arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-icore-ofcap7.dts | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-icore-ofcap7.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 0bb8db3..11d0544 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -451,6 +451,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-icore.dtb \ imx6q-icore-ofcap10.dtb \ imx6q-icore-ofcap12.dtb \ + imx6q-icore-ofcap7.dtb \ imx6q-icore-rqs.dtb \ imx6q-marsboard.dtb \ imx6q-mccmon6.dtb \ diff --git a/arch/arm/boot/dts/imx6q-icore-ofcap7.dts b/arch/arm/boot/dts/imx6q-icore-ofcap7.dts new file mode 100644 index 0000000..6ff7a0a --- /dev/null +++ b/arch/arm/boot/dts/imx6q-icore-ofcap7.dts @@ -0,0 +1,65 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2017 Engicam S.r.l. + * Copyright (C) 2017 Amarula Solutions B.V. + * Author: Jagan Teki + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-icore.dtsi" + +/ { + model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 7 Kit"; + compatible = "engicam,imx6-icore", "fsl,imx6q"; + + panel { + compatible = "ampire,am-800480aytzqw-00h"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; +}; + +&i2c3 { + ep0700m06: touchscreen@38 { + compatible = "edt,edt-ft5406"; + reg = <0x38>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_edt_ft5x06>; + interrupt-parent = <&gpio5>; + interrupts = <30 IRQ_TYPE_NONE>; + reset-gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; + }; +}; + +&ldb { + status = "okay"; + + lvds-channel@0 { + reg = <0>; + status = "okay"; + + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; + +&iomuxc { + pinctrl_edt_ft5x06: edt-ft5x06grp { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT12__GPIO5_IO30 0x1b0b0 /*interrupt*/ + MX6QDL_PAD_CSI0_DAT14__GPIO6_IO00 0x1b0b0 /*reset edt*/ + >; + }; +};