From patchwork Sun Feb 4 17:49:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10199423 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 9151B60318 for ; Sun, 4 Feb 2018 17:56:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A9192843C for ; Sun, 4 Feb 2018 17:56:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E7F12859F; Sun, 4 Feb 2018 17:56:26 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, 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 126EE2843C for ; Sun, 4 Feb 2018 17:56:26 +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=uhtwcPMalNniBaWQ/dFy1HewMBiHnVmw7oR7hS+mR1c=; b=NnPqTqYXdkF+JaZNEvU9wrxPhy PNxjt3/3pzzjyqknWWdZXZfCKUE2BuLvnxo34n3LNbtkLFmkOpuhoNHFL7iKTL7a7/4ep3h7kd8gY e88hUPoAmyT2URVe9RpWXPxXUjYcNUleIkQIkrz/ELaStLHBymEmX7/QDgKEmpbBQ3gzImRJVhFPt Au7O9C+UrHoaRODW7OejNWKJtPy8PbUMF19/TGKbdvhvbKxxj64VXKwy9zAgpsqTnmD7JKU+W9YyZ lQdvcOIVqfENIKldN9Smvgmbn3VBsfT+1Qeqld1py7x0TJesN/rawf5eD6uodFux0chTVCq11/29h 5l9yxJdg==; 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 1eiOWe-0003Q9-8x; Sun, 04 Feb 2018 17:56:24 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eiOVa-0001B7-9O for linux-arm-kernel@lists.infradead.org; Sun, 04 Feb 2018 17:55:23 +0000 Received: by mail-pg0-x242.google.com with SMTP id g2so706080pgn.7 for ; Sun, 04 Feb 2018 09:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pYWwN2qhVx2B6kj9wYN/hHTTyZbNeOvgGq0Q8dWyoXw=; b=Y2bI68f2HB+mSGp2HLXv0hqw19W0Ghqy79zDKBtG9rmHcgqIY3SXJofJYJvom7GPDn Vb9emRqgPyJKS57FNUnCc8IzcIpaEP2zFL4vzOVYYuW9jLSU+hswLsm1vGBZCx10h+Rq X+LHVMU411aXiRLlKjp7N2ZcWgJrfbD0hFh82SI2bAlhNc20lmYtDqJS4O5NFe5RcYPH AnPT+xM5BCZsWXgz+TMnaMqb7MYU1VeX9xwlnaAFhzjTy3h504l0bBWdTifi8gbfoxF2 AS8D6mOmtgtYcnPErJeZHRaUscFbzhhKO8VKD/qD0xCjjoDWNx40eTI5HBGU7/lcoADm WYhw== 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=pYWwN2qhVx2B6kj9wYN/hHTTyZbNeOvgGq0Q8dWyoXw=; b=cfdczWpQbvY/NRj/5wb/BvbYyOyMaaUQeRLUtmVIvjSCGUuv//gV0sUL9L2oAmyJGf TFTQh7uq/ISA6JuRFOt5XvjpR3fmPLSPT2nlHlULG+Ok8X+yfY8cB1pV35L4XZ0syixW no8KN/PmxJGScMZ7rIC53Dt7afeGDrl/QDo+OHsAHsPNL8arv3ZMcZdlxJSpdjeMKr43 C9bN+ZV3OQaGlM7vp0mCX+Ow/0HR3S3i+nIJkXrwHbAkQz9W87yti98i/Obj7Jacu4L0 hwm4OBISLUI3wwEIOh22PvmqrzwnuBOhQZB99xHcJLvy5LGijLdfEmz+01xrxdy+Ga+4 2FTA== X-Gm-Message-State: APf1xPB4MkDwccPpfXYbH0D5uTS0VZzsgrqufS+hEOcZ9EvTs/BcIrxM PElqPntDggszKDlRyzqlXIVJhrHr X-Google-Smtp-Source: AH8x224K3zzbl0UHEP+VnViM/hCRyFsSsWvfN6rfaH2DBPcOoESnoDwTuK8maYfxV4wHF+dNHf8dbA== X-Received: by 10.99.6.201 with SMTP id 192mr2505136pgg.50.1517766906120; Sun, 04 Feb 2018 09:55:06 -0800 (PST) Received: from localhost.localdomain ([115.97.187.51]) by smtp.gmail.com with ESMTPSA id u86sm13113279pfa.102.2018.02.04.09.55.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Feb 2018 09:55:05 -0800 (PST) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Shawn Guo Subject: [PATCH v3 5/7] ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple Date: Sun, 4 Feb 2018 23:19:29 +0530 Message-Id: <1517766571-409-6-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517766571-409-1-git-send-email-jagan@amarulasolutions.com> References: <1517766571-409-1-git-send-email-jagan@amarulasolutions.com> 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 , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , 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 v3, 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>; }; }; };