From patchwork Tue Jan 2 09:02:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10140131 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 BA46660362 for ; Tue, 2 Jan 2018 09:09:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B055D28A51 for ; Tue, 2 Jan 2018 09:09:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A399128A75; Tue, 2 Jan 2018 09:09:56 +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 56D5E28A51 for ; Tue, 2 Jan 2018 09:09:56 +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=TSo18FmY/9bI/5Ou6n7TuBSDCMH64qFyzQjBzSb2h+k=; b=BEzwijdAy4ljJ3OzrWApph0nJS UApFBsT69QjbNqIPTqioeS8u/MIQcj+Onbh89R6r76M4aYcR3PsNKdgP60Wd6SjNsnuAZvLJqWSdE HdCeg6FXhdDGvyehc2IYQFs2y6pJ4yEhBgrYTmLU4jy0rI/b/073UFBugCQP/4ffz2EX47vjB8fxj DB+d/OhtyxDoLxQsz80xgBhpgaKv8RtizSrMM/82n80gWQs4y6XDVn9vTGZhzpD49jX8Et0G6ds/S 3r+8c+fkJ3VTKkGaK9lS/n4RenvQ33HHHd6CqkEtZxThc9YhfmLnMRuBYXMNhqjaBUSlMQlvyvUno jeoSXPvg==; 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 1eWIa0-00060z-C9; Tue, 02 Jan 2018 09:09:52 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWIYH-0004oN-Re for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2018 09:08:16 +0000 Received: by mail-pg0-x243.google.com with SMTP id g7so24122255pgs.0 for ; Tue, 02 Jan 2018 01:07:55 -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=abhrqsxdMqL7vIm2EFIhY7dCYOGgNlMOnnM9lD0cc2M=; b=kv4PHe1d1LU67GksrDLLoFvCYups2Sn6C95djlqhqPJg4yhIePUhRFONfWVnZvDMg4 eR7pCHmV/q3N0/5QsWHUOvUCz65AzOVU4wEiNiRIaxDR/1/QGMwLnPMUMyuZoeh9adfp XXtQ3U+Y7z99D3HpufxDMvt3RliI+6pSw1pKRjBJ5/T1iaMAEt/SuaTd2/jXmnQbLy+i 9591tg1me8rKgqDB5wj9qY7zjSeJm7fXHvWvflb+W+0hN4F8rxwPFqxr+54ohF77FQvP soULxlwxemt1GwZmVYyCEMSgLAz9qsG1BO2LhdVITrF4mP25onrPyVDZh34bhkUukVIX S4pw== 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=abhrqsxdMqL7vIm2EFIhY7dCYOGgNlMOnnM9lD0cc2M=; b=kMHv1n2amayujo8+sXbrJI6hYAOcQy1nkFR8O1h1ezZXK4AtdJd25HwpgCVK+dVnNM gBQOo2AGQo36pUIXXE8QJMQ5p1H/KjrKN67AdZjJKZLoY/O1posGxIZpzt1g4fCnsm6a vse5URR/3mDlXT696cL9BHLBmRGfKmseEM195NG80ekNBW+8sD/zAERU7iVugOjKK66V X4XOnxwrDRUUh3Q4ut3ZX3oozQCdCaMVbqh/omQKoJPu4XJ/qF4ldWzubypsIhXQQ+Oy XCdaSUVp8Z2g/vAJusJzlfzR8FZnQvYIPQd5pJYWH7WUpdpY45W+yrFJcFiXk9z+52wo OebQ== X-Gm-Message-State: AKGB3mKB5N7jH+kxq94yMgZJTseL+eovHY1J7KVFvojXevgYYCudrdlM OYSh3GJ0xqM8nf9zKkkiFaUDLQ== X-Google-Smtp-Source: ACJfBosZxCLDv0jFvq/mdnnwQr/2vaqkz9Fu+QOVMEmOV5w9Znf8rX6ClPztUTCd17o4OO7JTEQJXA== X-Received: by 10.98.16.199 with SMTP id 68mr45260740pfq.182.1514884075192; Tue, 02 Jan 2018 01:07:55 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id l80sm91840884pfb.124.2018.01.02.01.07.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Jan 2018 01:07:54 -0800 (PST) From: Jagan Teki To: Shawn Guo Subject: [PATCH 5/5] ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple Date: Tue, 2 Jan 2018 14:32:18 +0530 Message-Id: <1514883738-16297-5-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514883738-16297-1-git-send-email-jagan@amarulasolutions.com> References: <1514883738-16297-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180102_010806_801889_11D2E52B X-CRM114-Status: GOOD ( 10.02 ) 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 --- 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>; }; }; };