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 2B167EB64DA for ; Wed, 19 Jul 2023 06:13:41 +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=0wFh2eka6vLDjMJ4Q/i6gSQdImwrsYtHx7Eurz00DnA=; b=a/itglZDiSCUX1 r8IavXVRp1AXHkbbzcFpYHbhkZdurXTicQXXMhFZmul38uMmFfxVGk5FRMMdpKyYfdZzyIREjrH2l A0pO80XIgMg5NRc1/2v+FvBQUuzehCjUeQXRngQVh3T6NDgpqwA6frRjK7HZ29slQ5N2Y5giCZIeb tklEITz6EtDHbpEq2qNqG5HpJYgqfskwC6e2SBDyhJdF5ugiAXF0D4g7VDSzur22dotcMBC0BRy+V wA5/MPD79XyjU3kZ6kQsrBgZa88IO5dFVDfbi7H3NUoLu6mM1NgFWFnng2u0qLy2JTadXZVU1CLo+ xNPyu+y0CzRcUWTck66w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM0R5-005bZb-2D; Wed, 19 Jul 2023 06:13:19 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM0R0-005bUy-2G for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 06:13:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=UJsIi3D4zDu0VjcUmmlsHRVnmLwOFqmIT/kb3xsdkMc=; b=o2jnpYazP6WYMUBu5OkKAEO28H XoRCpfKd/wpaSTz+1kH2BKkahN7ZTvCotHl0FfO6vtQkYg/0gDDlyYet/vEaKMa9BPUouAE937FX9 HZm7bTSXw60wwnFnd2dKVQUl0heFuT66Rvb78KBH/AYbV2VQR8ZjcPDzHnQ+g1omMLJrWSkYLLT/5 lzCYcK42/+lguFSqnPb2QTz2lvpt1ydn5ncJX4KxCV7wM3t/mCD3YxVqJXm3O0gFgshKWmS+DaY10 G1NFcUlndVejD+78vsPZ8IDvrO+Mikvi8JQnt8wnOZG82tMe91/a+Xy85KB8cSscnefS7st1DV6QM aL+umnkA==; Received: from mx1.tq-group.com ([93.104.207.81]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLfKE-00BGQR-20 for linux-arm-kernel@lists.infradead.org; Tue, 18 Jul 2023 07:40:52 +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=1689666050; x=1721202050; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UJsIi3D4zDu0VjcUmmlsHRVnmLwOFqmIT/kb3xsdkMc=; b=hIjhWL9aFgOvnkOH2wBpYe+eCbKaCQIXfcxbAMNh/Nc9a09BuCY0A/89 U7ZyS9izFPqhJM0mkmDwD/a/kmEZUyIHPnLtRcLKmky0SFA6C8cNOcDwZ oRO27U43uvTFNWCCGa1UedEu67C0tpp1v3L8y1h8clBPL4CIwcyH43vIv zEqVI5iaaLl07PmMs5qIjDXN7VArwXs2gUV1436fGUoKU8BjX733WtNfL UDI7508vbZQvuURKdbLVyzMebwALmwJP8CL7evuucqJxpLegjLqz9MFm3 OaYDj+qrFr2XcmAH0Cw91meegBIrFovYBpEhDwIKv/mFGN8n/A905nWPD w==; X-IronPort-AV: E=Sophos;i="6.01,213,1684792800"; d="scan'208";a="31978588" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Jul 2023 09:39:37 +0200 Received: from steina-w.localnet (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DA074280078; Tue, 18 Jul 2023 09:39:36 +0200 (CEST) From: Alexander Stein To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: neil.armstrong@linaro.org, conor+dt@kernel.org, rfoss@kernel.org, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, shawnguo@kernel.org, s.hauer@pengutronix.de, jernej.skrabec@gmail.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, andrzej.hajda@intel.com, kernel@pengutronix.de, linux-imx@nxp.com, Liu Ying Subject: Re: [PATCH 0/9] drm/bridge: imx: Add i.MX93 MIPI DSI support Date: Tue, 18 Jul 2023 09:39:36 +0200 Message-ID: <3750806.kQq0lBPeGt@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20230717061831.1826878-1-victor.liu@nxp.com> References: <20230717061831.1826878-1-victor.liu@nxp.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230718_084050_818480_4C1B2B8A X-CRM114-Status: GOOD ( 18.44 ) 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Am Montag, 17. Juli 2023, 08:18:22 CEST schrieb Liu Ying: > Hi, > = > This series aims to add MIPI DSI support for Freescale i.MX93 SoC. > = > There is a Synopsys DesignWare MIPI DSI host controller and a Synopsys > Designware MIPI DPHY embedded in i.MX93. Some configurations and > extensions to them are controlled by i.MX93 media blk-ctrl. > = > Add a DRM bridge for i.MX93 MIPI DSI by using existing DW MIPI DSI > bridge helpers and implementing i.MX93 MIPI DSI specific extensions. > = > Note that since this series touches the dw-mipi-dsi driver, tests are > needed to be done for meson, rockchip and stm. > = > Patch 1 ~ 7 do preparation work for adding i.MX93 MIPI DSI DRM bridge > driver. > = > Patch 8 adds DT-binding documentation for i.MX93 MIPI DSI. > = > Patch 9 adds i.MX93 MIPI DSI DRM bridge. > = > Liu Ying (9): > drm/bridge: synopsys: dw-mipi-dsi: Add dw_mipi_dsi_get_bridge() helper > drm/bridge: synopsys: dw-mipi-dsi: Add input bus format negotiation > support > drm/bridge: synopsys: dw-mipi-dsi: Force input bus flags > drm/bridge: synopsys: dw-mipi-dsi: Add mode fixup support > drm/bridge: synopsys: dw-mipi-dsi: Use pixel clock rate to calculate > lbcc > drm/bridge: synopsys: dw-mipi-dsi: Set minimum lane byte clock cycles > for HSA and HBP > drm/bridge: synopsys: dw-mipi-dsi: Disable HSTX and LPRX timeout check > dt-bindings: display: bridge: Document Freescale i.MX93 MIPI DSI > drm/bridge: imx: Add i.MX93 MIPI DSI support > = > .../display/bridge/fsl,imx93-mipi-dsi.yaml | 115 +++ > drivers/gpu/drm/bridge/imx/Kconfig | 10 + > drivers/gpu/drm/bridge/imx/Makefile | 1 + > drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c | 934 ++++++++++++++++++ > drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 91 +- > include/drm/bridge/dw_mipi_dsi.h | 16 + > 6 files changed, 1163 insertions(+), 4 deletions(-) > create mode 100644 > Documentation/devicetree/bindings/display/bridge/fsl,imx93-mipi-dsi.yaml > create mode 100644 drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c Thanks for posting this patch series. I was trying to use this driver on ou= r = TQMa93xxLA platform where the DSI signals are connected to a TC9595 (driver = tc358767) DSI-to-DP bridge. Unfortunately this bridge requires the DSI signals to be in LP-11 upon rese= t = and while in idle, otherwise not even DP AUX channel is functional. Apparently DSI is currently not in LP-11. But reading the RM I have no idea = how to configure the DSI host to achieve that. Do you have additional = information which might help me here? Also could you provide your DT configuration? Thanks and best regards, Alexander -- = TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel