From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2F7AC433EF for ; Thu, 5 May 2022 07:49:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=USaZ0g6upmQq/TX/mFxnFLOhwBkoRjZFt/kedTN+oqA=; b=V2yxsj3MkJvwhd dJRtkxu183V+zxeML28U+Zvy7oy61AfjNnEoNnm7w2OOTKfjfuVkWlyIYIVAEXArbUtop6DLulA+h c57ZvWmqQXQYCqJDMKEAa3o7lS2eKy/g7pLjR1q0jyn9MyoHEBYHabkwqSNFm8Vbw2tpjvxOfyYA+ KAiG3wEzcN9rNihenyWiXx3Ip2Jp1Fui6rH4lxhxplAPoXYCUBWf1mhv+Bh2+jzaLJNf1OSlo0WS4 Wtg9+U5UucQ6KIB+vN1LiUzCEyo+g3ggyyKTruYLhYFjOeZioDzey8w3Cy72o9wuTkYFGpK3e4mx9 xZJK1EXzTrMr7fdUiVQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmWE8-00ETx8-MV; Thu, 05 May 2022 07:48:44 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmWE3-00ETuO-IW for linux-arm-kernel@lists.infradead.org; Thu, 05 May 2022 07:48:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1651736919; x=1683272919; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=F4dENisAXGRQZLCjLMdR77U0d0wTf0aLrQGcAe07jmg=; b=cE+l6MftVPYtBDnsaTktIHr3z3E3PlBSUdCMTok0AIFT2TOCgHWzcKM0 V1oZZ/5PudcS1l4ra3rOV6zsi5ImjeQ3mZxcDHVpDmx+9IsVQjY9sBy8d COgsfG0yuLwVt0lR95A4sK8q176Crf/ta3PSAZyD1FoseUtB9ZWw2PS+y 7zp2VA/lXirsw17R9mhxgpt+49Y3iTbfTPr/zDoHKfCldEqkKHAvDvAgm fh047ZbG6SHsEC6s0LtI+wJb18okN8AU2z/4AKkmbFiOosSokBZbor+Uv m9L291yXm/yTXY0ZlXQC8pAtqo1pOPDf0KUVQo4A0Xch5GtOZPR/T9xp0 w==; X-IronPort-AV: E=Sophos;i="5.91,200,1647298800"; d="scan'208";a="23686397" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 05 May 2022 09:48:37 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 05 May 2022 09:48:37 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 05 May 2022 09:48:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1651736917; x=1683272917; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=F4dENisAXGRQZLCjLMdR77U0d0wTf0aLrQGcAe07jmg=; b=COoldgr9FO3FV21yHf7gZp5ZmhOoIWrWCP0OmGxmUxfFh2DQYvSpOlKq vuPxResIGjMeoBOY/sZ6+x4Ux27GqIdD2HnAn4EgfOd7PMTkITUVETLYR zku7qfFROcjiN87YPJSsCaJfXd3ol8gRVBwd4F/nDeEsh6nyg49vzNqy3 zHJZv3cmlbWgXWE6ibUGXMVohVHWAmH52h4l/NwG1RTtHeRp/RfsgXLof Qc140HEPK1+x958abZIi9LogQL4U1NIcUcct7r7D0g58sYi59zdxMxNpS SogtCeo0uB/OSOjEwVb0qz5AO+6FIFvmbsmQGE0TiuNHL7r2VZv5iRDWl g==; X-IronPort-AV: E=Sophos;i="5.91,200,1647298800"; d="scan'208";a="23686396" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 05 May 2022 09:48:37 +0200 Received: from steina-w.localnet (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id CF0DD280075; Thu, 5 May 2022 09:48:36 +0200 (CEST) From: Alexander Stein To: Jagan Teki Cc: Andrzej Hajda , Inki Dae , Marek Szyprowski , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Frieder Schrempf , Fancy Fang , Tim Harvey , Michael Nazzareno Trimarchi , Adam Ford , Neil Armstrong , Robert Foss , Laurent Pinchart , Tommaso Merciai , linux-arm-kernel@lists.infradead.org, Matteo Lisi , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, NXP Linux Team , linux-amarula Subject: Re: (EXT) Re: (EXT) [PATCH v2 00/12] drm: bridge: Add Samsung MIPI DSIM bridge Date: Thu, 05 May 2022 09:48:34 +0200 Message-ID: <3431938.iIbC2pHGDl@steina-w> Organization: TQ-Systems GmbH In-Reply-To: References: <20220504114021.33265-1-jagan@amarulasolutions.com> <2184168.iZASKD2KPV@steina-w> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220505_004840_119674_EAB6BAEF X-CRM114-Status: GOOD ( 32.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Jagan, thanks for the quick response. Am Donnerstag, 5. Mai 2022, 09:38:48 CEST schrieb Jagan Teki: > On Thu, May 5, 2022 at 12:57 PM Alexander Stein > > wrote: > > Hello Jagan, > > > > thanks for the second version of this patchset. > > > > Am Mittwoch, 4. Mai 2022, 13:40:09 CEST schrieb Jagan Teki: > > > This series supports common bridge support for Samsung MIPI DSIM > > > which is used in Exynos and i.MX8MM SoC's. > > > > > > Previous v1 can be available here [1]. > > > > > > The final bridge supports both the Exynos and i.MX8MM DSI devices. > > > > > > On, summary this patch-set break the entire DSIM driver into > > > - platform specific glue code for platform ops, component_ops. > > > - common bridge driver which handle platform glue init and invoke. > > > > > > Patch 0000: Samsung DSIM bridge > > > > > > Patch 0001: Common lookup code for OF-graph or child > > > > > > Patch 0002: platform init flag via driver_data > > > > > > Patch 0003/10: bridge fixes, atomic API's > > > > > > Patch 0011: document fsl,imx8mm-mipi-dsim > > > > > > Patch 0012: add i.MX8MM DSIM support > > > > > > Tested in Engicam i.Core MX8M Mini SoM. > > > > > > Anyone interested, please have a look on this repo [2] > > > > > > [2] https://github.com/openedev/kernel/tree/imx8mm-dsi-v2 > > > [1] > > > https://patchwork.kernel.org/project/dri-devel/cover/20220408162108.1845 > > > 83-> 1-jagan@amarulasolutions.com/ > > > > > > Any inputs? > > > > I was able to get my LVDS display running using this driver and an LVDS > > bridge. Actually my setup is similar to yours. My chain is like this: > > MIPI-DSI -> sn65dsi83 -> LVDS panel > > I noticed some things though: > > My setup only works if I use less than 4 lanes. See [1]. When using 4 > > lanes > > the image is flickering, but the content is "visible". Your DT has only 2 > > lanes configured, do you have the possibility to use 4 lanes? I have no > > idea how to tackle this. It might be the DSIM side or the bridge side. > > Apparently the downstream kernel from NXP supports 4 lanes, if I can trust > > the config. I have no way to verify this though. > > What is dsi_lvds_bridge node? have you added your dts changes on top > of imx8mm-dsi-v2 branch I'm pointing it. I cherry-picked your commits and applied them on (currently) next-20220504. Maybe you missed the links at the end of my mail. The branch I am talking about is https://github.com/tq-steina/linux/commits/imx8mm-dsi-lvds This includes your commits as well as my additions. > I will check 4 lanes and let you know. Great, thanks. > > Another thing is I get the following warning > > > > > sn65dsi83 2-002d: Unsupported LVDS bus format 0x100a, please check > > > output > > > > bridge driver. Falling back to SPWG24. > > This couldn't be much affected but will fix it. > > > This seems to be caused by a wrong bridge chain. Using commit 81e80429 at > > [2]> > > I get the following output: > > > bridge chain: /soc@0/bus@30800000/i2c@30a40000/dsi-lvds-bridge@2d -> / > > > > panel_lvds0 -> /soc@0/bus@32c00000/dsi@32e10000 -> > > Which seems weird. I would have expected something like > > dsi@32e10000 -> dsi-lvds-bridge@2d -> panel_lvds0 > > Do you happen to see somthing similar? But this is completely unrelated to > > your patchset though. > > Can you share the link to the exact commit? This is the commit introducing this output: https://github.com/tq-steina/linux/commit/ 81e80429341cd0a4f119ec9cf50839498915443b Best regards, Alexander _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel