From patchwork Mon Mar 26 08:05:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10307301 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 399CD60353 for ; Mon, 26 Mar 2018 08:06:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 230FE295B3 for ; Mon, 26 Mar 2018 08:06:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16483295B5; Mon, 26 Mar 2018 08:06:28 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 19D7B295B3 for ; Mon, 26 Mar 2018 08:06:27 +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: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:In-Reply-To: References:List-Owner; bh=UCN3t45mzxvHuJ+MRwC4avWgMfVA2PGKhZDFGv3oFxA=; b=X2a Ze6PkLGGKx7vDmvoQ5T9yS6Zd0foUwNuYCGXFN1jfwvsDFTaWSYA93IKpuxzSbz6JQHi4vD0QNAVe 54YcI6+vynXzkcPCoCs7DU7ky78LUaoFq2l+EfgVy3IVnMz/Gm2AOdyYMErRtUzhxvMOHmRl8V9ir XtlMrne9wQlTX20lm5hjzQQnBcOEHRLoY5BieqgPN2Pf5E31gieMuPJsfq9JCRU6bYeMlmT5ty8cA aI36esu0ZDr/pX2Q/TgLu3y73EwhLf1q1YS9/j2EQ4WvDS8KgA2p6Knu42cZ1B4Sozgv/1/OwX2d3 l0qyU/2RknrpvNO4H+Tm7H2Wk6HHQdQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0N91-0005Tm-Fn; Mon, 26 Mar 2018 08:06:19 +0000 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0N8y-0005S8-8J for linux-arm-kernel@lists.infradead.org; Mon, 26 Mar 2018 08:06:18 +0000 Received: by mail-pl0-x243.google.com with SMTP id g20-v6so211950plo.9 for ; Mon, 26 Mar 2018 01:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=+bJuVaLTvj+IGSsT29jD1en7Hc+OOxgv/Vx6Kejp7Ms=; b=GehlXXRzC4IaHvR5uQM9819mAsVUcnAO/GSZkalNQiLQWcd5z9BWqeWxclzQgTRbOn Spwj+FX/NIGwU90V8VYT6AEuMfjkB97PIUVdb/dx4CoQ6ckhplW526mP2b7RcPdARyV/ xbfKGkmyz4ZC9ErOg5HCRT1QUwqhM8qFKZdws= 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; bh=+bJuVaLTvj+IGSsT29jD1en7Hc+OOxgv/Vx6Kejp7Ms=; b=L6LcS+cNLE+a/Ved0G+5uPNJLo6ylePPVGSOAKT7+Yq/RdOraqdzhE20v+LNf4nCsS lY9/eKyNUzLXrmnhzr7F5sGx4Ehao2ykJlmW1dJLKcD395uxQbVo+xv9psIj/be4CBqH zHAHJZ6KOT33HpddBGNtuN5T6kEf3Pd5I2LPg7vWr8BMGsicT6kavIRIpFwnUXPSrE/l cSB1/4i1gFPrG6iyFAtyp6uFvBxNV8vB/iCuBpW//VbrQCOR6G570AU0IGpWbDdYKKXp 7uYz+p0RJWEYtlNF64jatYXdKJh+13xh1U5MOHYfdbwkN7U3Y2P0mAbHAS2qizVyLVER ggEg== X-Gm-Message-State: AElRT7FGOOzo3EGqn9ONICnzyGNr/KOHdNgZSO/RAjv6wyu6HuDw7Vpp 7D7pfqfWOSKWseP8xg8tHDBTdA== X-Google-Smtp-Source: AG47ELvx5Kg7/rqBqh2tLR93UxV38aJsH1jNacNQ1YSuUme69Tyk/PAEkS2o25j1h2gp3UQUyD4zmQ== X-Received: by 2002:a17:902:b288:: with SMTP id u8-v6mr38974916plr.339.1522051565400; Mon, 26 Mar 2018 01:06:05 -0700 (PDT) Received: from localhost.localdomain ([115.97.190.51]) by smtp.gmail.com with ESMTPSA id k2sm2021768pfb.123.2018.03.26.01.06.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Mar 2018 01:06:04 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v4] ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple Date: Mon, 26 Mar 2018 13:35:53 +0530 Message-Id: <20180326080554.11559-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180326_010616_296929_015C9B1C X-CRM114-Status: GOOD ( 12.31 ) 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 v4: - Send as seprate patch from previous series https://patchwork.kernel.org/patch/10199423/ Changes for v3, v2: - none arch/arm/boot/dts/imx6q-icore-ofcap12.dts | 31 +++++++++++++++++-------------- arch/arm/boot/dts/imx6qdl-icore.dtsi | 2 +- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-icore-ofcap12.dts b/arch/arm/boot/dts/imx6q-icore-ofcap12.dts index 9e230f56c5fb..6e27c8143f82 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>; }; }; }; diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi index b3a463a5908b..1bce85c3376b 100644 --- a/arch/arm/boot/dts/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi @@ -49,7 +49,7 @@ reg = <0x10000000 0x80000000>; }; - backlight { + backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; pwms = <&pwm3 0 100000>; brightness-levels = <0 4 8 16 32 64 128 255>;