From patchwork Wed Mar 8 07:17:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9610459 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 35F1960414 for ; Wed, 8 Mar 2017 07:22:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F31A428452 for ; Wed, 8 Mar 2017 07:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E496D2853A; Wed, 8 Mar 2017 07:22:08 +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=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM 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 84B8228452 for ; Wed, 8 Mar 2017 07:22:08 +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=TXtiee/vkfqTf9Lf+PJCULEuUWK3omWwVtNnse86i3Q=; b=rr8jfbure+VMKm+GmNohfpUd4R 0Yjf5avg6ejBiiJz6k4+qMgaKz5K3RKWqxvKH+Gky9amYpniwC3wqPVOfK11BdB6YpcdP9pV0RclO 4rXIH2ELnsKJ1+VbqSHNkHQiYOD12FIVBmU+aSPiqThxFJNf8l0zVQMa3ONrcbCg4zWi0FFbRxgeC NH/O4oMToQ81t62bYWUss6NUU19eGvqXZkNB8FaDBSburWlcTyx+uDj3ZuU3n8tW9VwUDOENa2I0w yKkJqJcKvxol7jQ5VsLEnVAJvWiIT+demAAXAK/axKSiZ1v+UCU84E/M1qmgoKGUzODGMFj89iHmK HpLi89GQ==; 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 1clVvA-0000HG-Hz; Wed, 08 Mar 2017 07:22:04 +0000 Received: from mail-pg0-f65.google.com ([74.125.83.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clVuF-0007Fh-Kt for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2017 07:21:09 +0000 Received: by mail-pg0-f65.google.com with SMTP id 25so2571409pgy.3 for ; Tue, 07 Mar 2017 23:20:51 -0800 (PST) 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=7qzHnkZLP1xAi0ZXmSVROsLUKQoxOZ0SSu1r4N1TjTI=; b=f95KrsNO0uX2srS4P/lJ1MuYW88d9Vf+oInRuE3U1fWGI1asnM4gf5KOSby49NU/uh RaXufaYzw8LDk1Neqvj0glbHW4tDlOgRszBtiKMjkMkEjKefjw2Z9bbLUBW3TTa/hx1A UIKdlQth+nApFEk2TmZ//hE9Hg4fN7yGbeJwdtnFTyWLUtedY2rgMgMI+VYqzpX2IeUV bBFfH598TkYWWR3C6dlROWYtC6WgfdLV7tUNzIZ4ZI70JA+sp8rHYF1ohvruqBB36qWB SLYEWxJre+RT9cpxJLEyTLVpVxZnl37bLCBL2Agg2zlKwgF0SNMQCdTzqpnisiCtd7P/ AVMg== X-Gm-Message-State: AMke39nYdsxVCfmIUq5j8bm6UJ68u17RtLNY2Ymwce5GZ5EzLAFoTTItoNpqekIzxXLfLw== X-Received: by 10.98.159.149 with SMTP id v21mr5368065pfk.57.1488957650603; Tue, 07 Mar 2017 23:20:50 -0800 (PST) Received: from localhost.localdomain ([117.254.78.170]) by smtp.gmail.com with ESMTPSA id l19sm3880522pgo.13.2017.03.07.23.20.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Mar 2017 23:20:49 -0800 (PST) From: Jagan Teki To: Shawn Guo Subject: [PATCH v4 4/7] arm: dts: imx6q-icore: Add LVDS support Date: Wed, 8 Mar 2017 12:47:54 +0530 Message-Id: <1488957477-5621-4-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1488957477-5621-1-git-send-email-jagan@openedev.com> References: <1488957477-5621-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170307_232107_711481_C2180775 X-CRM114-Status: GOOD ( 10.60 ) 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, Domenico Acri , Jagan Teki , 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 From: Jagan Teki Add LVDS display support for OpenFrame Capacitive touch 7 inc display which is supported by Engicam i.CoreM6 QDL Starter Kit. Cc: Domenico Acri Cc: Matteo Lisi Cc: Michael Trimarchi Cc: Shawn Guo Signed-off-by: Jagan Teki --- Changes for v4: - Fix checkpatch.pl Errors/Warnings Changes for v3: - Use native-mode as timing0 since this is the initial lvds-channel - Rename hsd100pxn1 reference as timing0 - Update the correct patch author Changes for v2: - none arch/arm/boot/dts/imx6q-icore.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-icore.dts b/arch/arm/boot/dts/imx6q-icore.dts index 59eb7ad..73f34d1 100644 --- a/arch/arm/boot/dts/imx6q-icore.dts +++ b/arch/arm/boot/dts/imx6q-icore.dts @@ -57,3 +57,28 @@ &can2 { status = "okay"; }; + +&ldb { + status = "okay"; + + lvds-channel@0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <18>; + status = "okay"; + + display-timings { + native-mode = <&timing0>; + timing0: timing0 { + clock-frequency = <60000000>; + hactive = <800>; + vactive = <480>; + hback-porch = <30>; + hfront-porch = <30>; + vback-porch = <5>; + vfront-porch = <5>; + hsync-len = <64>; + vsync-len = <20>; + }; + }; + }; +};