From patchwork Thu Jan 4 06:12:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10143941 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 7AB0B60594 for ; Thu, 4 Jan 2018 06:28:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CF9D28438 for ; Thu, 4 Jan 2018 06:28:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6061128449; Thu, 4 Jan 2018 06:28:54 +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=ham 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 E85F72843C for ; Thu, 4 Jan 2018 06:28:53 +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=S+60N4t5mynusPJkVIMmanoVjIBCcg8+7YVXEN674Po=; b=itd+PWlnZEkbeUfg9fp8A3cNbC oGtZ3A/jorwgSZITuKgRrBDICwyP6gkCceUeNHAEptoD85NY+8mtqIrWpZUEVLvn0HnNmjnhm/0o5 PWP1MhFoajdpXx1a3SIAZyKDmNP8Dlfe2p2djrJc3JM2uQTN58sOAm3lVnbFyyTg695u1oGKwXvEx lxpi72eFPN+dAc/IPQEYexVUprCE+JTkPpnT/zNMmrRqxWaIuG7qkBXWg3ESymZ3zlpuHegL5Uug9 vRGl63kZN7UE80bwormh/9SIovK9IT1m1BunWdlik8y33/JNhUQG51G4+FeK8SO9/uW3HUwgu+Z75 xe8F3Jyg==; 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 1eWz1E-0001AE-3P; Thu, 04 Jan 2018 06:28:48 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWynz-00025u-0t for linux-arm-kernel@lists.infradead.org; Thu, 04 Jan 2018 06:15:20 +0000 Received: by mail-pg0-x241.google.com with SMTP id r2so343003pgq.13 for ; Wed, 03 Jan 2018 22:14:56 -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=cD93DqVJc+dQCWDHgNPDZ4VaihggCtAcXjOCxa/EYd8=; b=gwyzmN2bvOx2JoXXcENTG/WFFUdYmGnIKH+VJYEvJz4XeeIIOAwFEHoq0n1dQAv8L+ Ni7UL3+IwMYRwNMpN0IkJHxtEkClqUEURO1cWIhIS76Kj1WBb44GiMAkXezggwkuzyOq kM3m2V5fWQ1LBAH+VHE7arKKxgS2cm+REkm+ik2rAaqtaqPH130zHNvy3qwP387Ck2J2 JhgRM1Q+vbIq3QynxAVNhU6Wgh7blOcIFRB8uZ7r9Uctg54fUL/UpVz4PG3MyBrbawoF cEcc4Ns79QTrpOPSJ/+lGCgVzt4nUzbvMTieaYCmKIYhUbi8H+9wn/QLDkGdxm2w/U7p zChg== 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=cD93DqVJc+dQCWDHgNPDZ4VaihggCtAcXjOCxa/EYd8=; b=gP1WgsGLMonaCHpVQp68J40Gu7CEViLaTnODhA8cU8cdOlNjD/rgx5cnaVJBIqyBC6 tZjDNYX3HR/Z54MDGxS0lxzU8Ku7OC8AuYjilWfkv/5RCvKQPlibjGyFLKEZgCTqZleI oL7JKn9pLWcMt6bOtf2z13OFN90GSeL7JSAkAZuGYH4KZ/UCn49xcBy0pU0UAuan19+D epyveSq1kojIUQ0oUa3OkPRK4/k/ElcHv243h8LikJxScwgsY7bMrgOLa5foaYSfkYd1 95p+aetvdyMcgqdUSy04GVDGy3VeZSUGZaExpL3EZEzuukrS1Ky971FhxPf5j7qhUpk+ Ibng== X-Gm-Message-State: AKGB3mKbp3B56Eejjl3ZQjCM6g4H5M2RZowf3lbLjbk1DT6Bm97Ggy9R vB+neaeAuleAnNAHmBQ08o28ow== X-Google-Smtp-Source: ACJfBouwOp/+c+UhDnpAJAu4QitKqkCAq+FPTgJrTB/gasLlnmsGx5r09H0Lc8xQLWoDQUFHoUEQwg== X-Received: by 10.99.97.197 with SMTP id v188mr3067721pgb.291.1515046496036; Wed, 03 Jan 2018 22:14:56 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id y5sm5921514pfa.128.2018.01.03.22.14.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jan 2018 22:14:55 -0800 (PST) From: Jagan Teki To: Shawn Guo Subject: [PATCH v2 5/7] ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple Date: Thu, 4 Jan 2018 11:42:23 +0530 Message-Id: <1515046345-15881-6-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_221508_275930_4A95F9DD X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. 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 Switch to use koe_tx31d200vm0baa LVDS timings from panel-simple instead hard coding the same in dts. Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/boot/dts/imx6q-icore-ofcap12.dts | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-icore-ofcap12.dts b/arch/arm/boot/dts/imx6q-icore-ofcap12.dts index 9e230f5..6e27c81 100644 --- a/arch/arm/boot/dts/imx6q-icore-ofcap12.dts +++ b/arch/arm/boot/dts/imx6q-icore-ofcap12.dts @@ -48,28 +48,31 @@ / { model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 12 Kit"; compatible = "engicam,imx6-icore", "fsl,imx6q"; + + panel { + compatible = "koe,tx31d200vm0baa"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &ldb { status = "okay"; lvds-channel@0 { - fsl,data-mapping = "spwg"; - fsl,data-width = <18>; + reg = <0>; status = "okay"; - display-timings { - native-mode = <&timing0>; - timing0: timing0 { - clock-frequency = <46800000>; - hactive = <1280>; - vactive = <480>; - hback-porch = <353>; - hfront-porch = <47>; - vback-porch = <39>; - vfront-porch = <4>; - hsync-len = <8>; - vsync-len = <2>; + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; }; }; };