From patchwork Tue Mar 14 09:48:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9622819 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 E780D60492 for ; Tue, 14 Mar 2017 09:51:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF9322852E for ; Tue, 14 Mar 2017 09:51:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D44C82855C; Tue, 14 Mar 2017 09:51:51 +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 784E72852E for ; Tue, 14 Mar 2017 09:51:51 +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=wkmuVXDrpWate1/wTPaX/La3eS/p0iwxYqNm6MEQyMY=; b=sDWQMxs6POmkFVRb/8N9jH+pb4 IzzZq2h2sVMAVpZYFAJ2Ebx32dDcXKZFoxn96KTtP9UuEgMJi3L0rmenK8GdgHYb+VmKgTc5eQBnZ NPDldXBJ+UsmP1DBZSqqURuJxYYJ63EKw0yn3MS0zCNKQjHykwJeu1s8Y/w0MJ3C/8PavXCKBMKDp U9DsbYIgn24FxlkhoXzJiVyBnV7ZSqpKLzsxlL/CeSZRpAD1Ot2AzQhZGWJXfQG4NnCjbmMxDGkZS q83hnlllJPH8hOivMY4Zg7aet3IcM9QqU7QWYOgb4RRg3S6Qg5ceDbyZ56ZBA1Nt55uPRQNmDD8/H wcm+RGng==; 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 1cnj7I-0007Jw-N3; Tue, 14 Mar 2017 09:51:44 +0000 Received: from mail-pg0-f67.google.com ([74.125.83.67]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cnj4z-0004mN-NG for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2017 09:49:23 +0000 Received: by mail-pg0-f67.google.com with SMTP id 25so23390838pgy.3 for ; Tue, 14 Mar 2017 02:49:03 -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=XKgFZKsiZowvBO5SU3bTTELvtWfo7iilZksYB/j9lZY=; b=kH48/HJ8EQBJ9n2Ob3nfuVlCjnqAcLPeibSme/uT9NLKn2G5r+5589uMIq4ae9M4YE Rp0ioFUdo5H8XNkAU3rag4TVPJ8EAyR3zkxZE5/fYLr3kaOD/qyPHsXUVccYMrhIAcEF 6aI2tNVftbz4dJTOkcSIS4kGZbXL9M+Fk+XdC+LKXeSWitJxAUa7xn67VC53oNzdYj70 U/ZVTb1Xn614O0fO0zDRXlBHipbTEXFk7uSOUdg24fNyJRNyLXWuqhycHS3nKi3KMgm5 /aawc2p0M2vf9T3WO22giggMzCx24K6vxn+pLxCxl8//IbkpW38J7W/HThG2eEiXx5pr JSfw== X-Gm-Message-State: AMke39muKjPwelM3zZb7l/eTQl5LdMfSLMmZoScJsv84Ju8KrE7GKvkN42AMHET+CRHzkA== X-Received: by 10.99.3.16 with SMTP id 16mr43146742pgd.150.1489484943625; Tue, 14 Mar 2017 02:49:03 -0700 (PDT) Received: from localhost.localdomain ([117.247.26.199]) by smtp.gmail.com with ESMTPSA id v143sm37693719pgb.47.2017.03.14.02.48.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Mar 2017 02:49:02 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v5 4/8] ARM: dts: imx6q-icore: Add LVDS support Date: Tue, 14 Mar 2017 15:18:13 +0530 Message-Id: <1489484897-14933-5-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1489484897-14933-1-git-send-email-jagan@openedev.com> References: <1489484897-14933-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170314_024921_810067_634BD0E0 X-CRM114-Status: GOOD ( 10.58 ) 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 v5: - %s/arm/ARM/g with subject prefix 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>; + }; + }; + }; +};