From patchwork Tue Feb 21 05:06:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9583903 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 6F270600CA for ; Tue, 21 Feb 2017 05:16:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61CFC205D1 for ; Tue, 21 Feb 2017 05:16:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5689C262FF; Tue, 21 Feb 2017 05:16:45 +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 D73E8205D1 for ; Tue, 21 Feb 2017 05:16:44 +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=6wBevc1qm56/tVWyZAto5jcz8bGIqIkKa1+LfGPCghs=; b=T9qy3TmZXxCzw1tUFV2s58yRsF Q5Ar/qGyqXPGe1kskT49A9Z51fUP9SjFqNlYPdYDCJGY5iHVAHT0NChIiltGizDWEaHhSofBOrMY1 Z7Q+WsuIHvY/d8/LD5SXmkfKviLoLJ6CAUU98HhpuNMCUJuCA+ZWauMXQpk07yZApgSByVd7Y2pm2 iLtw1bVoySwPp3hIXwryxTxxCUkpOlDOghVTFORkGaQzlm1xLWYGQrdw/naRO4TL5CeGGKVL4sW92 nF78dKbfac5ihObtdwZybtarY+kUDx8E1plC/Y9EXWMpI6orjRYnKbNpGZV0FRFeRVUCURrv81wjV c5zU0T6Q==; 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 1cg2oU-0005DH-MN; Tue, 21 Feb 2017 05:16:34 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cg2fe-0006FM-9j for linux-arm-kernel@bombadil.infradead.org; Tue, 21 Feb 2017 05:07:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=tbxYJTaXZpQzYTXGEjx5i06ePvfR9vPlQ8dLe0UdmR8=; b=Fb7w4LXwgbXoz660DrE1Fp6Kf RI6he+kPuR2CWAkXJu9qmMQ5Nc8G7/q0yeZ1pSmyy3TYtECVmlVIL0QW5Dig7pp4FG09svgaqoVRP Az0UKOHk+PQLnP9S14XYaYLFyzYjTZ/Ge2yTUDYAvv50iAxg7RLxcq9f9lsrZb2r2Mzr9p6pdwrgN 7wGcudl+OUCgHhljBJTJiO00OHdfvwKfCW4qGDq41R00RU0JryzK4JsWV0brR4mNRThp9PTc5APCF a38Jx72x2W3WoEG3FRf/59MJmdTRuCTcopL09Ngzq9wFiaifN187GJY9HuOpVTIRqe/mEw3q+hzjH 9wcxlscKw==; Received: from mail-pg0-f66.google.com ([74.125.83.66]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cg2fb-0008Ey-30 for linux-arm-kernel@lists.infradead.org; Tue, 21 Feb 2017 05:07:24 +0000 Received: by mail-pg0-f66.google.com with SMTP id 1so8990435pgz.2 for ; Mon, 20 Feb 2017 21:07:02 -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=tbxYJTaXZpQzYTXGEjx5i06ePvfR9vPlQ8dLe0UdmR8=; b=gxfZY8ebMk4ceJux411rEG7CGFtkDFCdbIrk/RsfpXRcFee08K68KHsGn54lasDb6J 1od/Em2xF1r+2fe/CDMElVrVtgf/3xbUdC5CgyJpGn75KcIcbPMjwoREj+FvAWMPkvcS iIetlF7UMqYAWS2zWGnBrz6a3xZVCsocrcMd+JXQ2WyoB6QlAVWgizEBMzAFAGHiWyRF A/d8is+JxHzD7ovlvA1eWhndMttI7tkddy5leQY1+BlJcOmnnL6J+Xxt12G3sk3CZDAh tTlNu1RuWbphmB8oCpkdIv8vfv7GnMC7gMwJbKi03DMwU5OexvB42WfxP1VGn+7EE+af cB0w== X-Gm-Message-State: AMke39mVpxGcz9NozWTagURyJuNFjw5VcrAYrYe27xjUlBV+qOyX9BcGFWVFjXQ41Cub+w== X-Received: by 10.84.172.1 with SMTP id m1mr36744836plb.5.1487653621219; Mon, 20 Feb 2017 21:07:01 -0800 (PST) Received: from localhost.localdomain ([106.220.207.210]) by smtp.gmail.com with ESMTPSA id l72sm16398864pfi.93.2017.02.20.21.06.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Feb 2017 21:06:59 -0800 (PST) From: Jagan Teki To: Shawn Guo Subject: [PATCH v3 4/4] arm: dts: imx6q-icore: Add LVDS support Date: Tue, 21 Feb 2017 10:36:33 +0530 Message-Id: <1487653593-3457-4-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487653593-3457-1-git-send-email-jagan@openedev.com> References: <1487653593-3457-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170221_050723_263426_9E8755C1 X-CRM114-Status: GOOD ( 11.32 ) 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 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: - newly added 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..41d5a31 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>; + }; + }; + }; +};