linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] drm: lcdif: Use drm_bridge_connector
@ 2024-10-18  6:48 Liu Ying
  2024-10-18  6:48 ` [PATCH 1/5] arm64: dts: imx8mp-kontron-bl-osm-s: Add HDMI connector Liu Ying
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Liu Ying @ 2024-10-18  6:48 UTC (permalink / raw)
  To: devicetree, imx, linux-arm-kernel, linux-kernel, dri-devel
  Cc: robh, krzk+dt, conor+dt, shawnguo, s.hauer, kernel, festevam,
	andrzej.hajda, neil.armstrong, rfoss, Laurent.pinchart, jonas,
	jernej.skrabec, maarten.lankhorst, mripard, tzimmermann, airlied,
	simona, marex, stefan, dmitry.baryshkov

Hi,

This patch series aims to use drm_bridge_connector in the i.MX8MP LCDIF
driver so that bridge drivers don't need to initialize DRM connectors.

Patch 1-3 add HDMI connectors to some i.MX8MP platforms's DT as preparation
work.  The Synopsys DW HDMI bridge core driver would try to find the bridge
of the HDMI connector after the LCDIF driver starts to use
drm_bridge_connector.

Patch 4 sets output_port to 1 in i.MX8MP HDMI TX driver, as a preparation
work too.  The Synopsys DW HDMI bridge core driver needs to know the output
port index so that the driver can use the port index to find and attach
the next bridge.  The next bridge attachment is needed after the LCDIF driver
starts to use drm_bridge_connector.

Patch 5 makes the LCDIF driver use drm_bridge_connector.

With this patch set, an in-flight ITE IT6263 bridge driver[1] doesn't need
to initialize a DRM connector.

[1] https://patchwork.freedesktop.org/patch/619465/?series=139266&rev=2

Liu Ying (5):
  arm64: dts: imx8mp-kontron-bl-osm-s: Add HDMI connector
  arm64: dts: imx8mp-kontron-smarc-eval-carrier: Add HDMI connector
  arm64: dts: imx8mp-msc-sm2s-ep1: Add HDMI connector
  drm/bridge: imx8mp-hdmi-tx: Set output_port to 1
  drm: lcdif: Use drm_bridge_connector

 .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 19 +++++++++++++++++++
 .../imx8mp-kontron-smarc-eval-carrier.dts     | 19 +++++++++++++++++++
 .../dts/freescale/imx8mp-msc-sm2s-ep1.dts     | 19 +++++++++++++++++++
 drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c   |  1 +
 drivers/gpu/drm/mxsfb/Kconfig                 |  1 +
 drivers/gpu/drm/mxsfb/lcdif_drv.c             | 17 ++++++++++++++++-
 6 files changed, 75 insertions(+), 1 deletion(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-10-21  7:23 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18  6:48 [PATCH 0/5] drm: lcdif: Use drm_bridge_connector Liu Ying
2024-10-18  6:48 ` [PATCH 1/5] arm64: dts: imx8mp-kontron-bl-osm-s: Add HDMI connector Liu Ying
2024-10-18  7:41   ` Alexander Stein
2024-10-18  6:48 ` [PATCH 2/5] arm64: dts: imx8mp-kontron-smarc-eval-carrier: " Liu Ying
2024-10-18  7:41   ` Alexander Stein
2024-10-18  6:48 ` [PATCH 3/5] arm64: dts: imx8mp-msc-sm2s-ep1: " Liu Ying
2024-10-18  7:41   ` Alexander Stein
2024-10-18  8:48   ` Marek Vasut
2024-10-18  9:00     ` Liu Ying
2024-10-18  9:35       ` Marek Vasut
2024-10-21  7:15         ` Frieder Schrempf
2024-10-18  6:48 ` [PATCH 4/5] drm/bridge: imx8mp-hdmi-tx: Set output_port to 1 Liu Ying
2024-10-18  7:32   ` Alexander Stein
2024-10-18 12:31   ` Dmitry Baryshkov
2024-10-18 13:12     ` Alexander Stein
2024-10-21  1:50     ` Liu Ying
2024-10-18  6:48 ` [PATCH 5/5] drm: lcdif: Use drm_bridge_connector Liu Ying
2024-10-18  7:34   ` Biju Das
2024-10-18  7:37     ` Liu Ying
2024-10-18  7:43       ` Biju Das
2024-10-18  7:35   ` Alexander Stein
2024-10-18 12:15   ` Dmitry Baryshkov
2024-10-21  1:51     ` Liu Ying

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).