mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] video: dw_mipi_dsi: drop unused and misleading dw_mipi_dsi_crtc_node()
@ 2025-12-01  8:59 Ahmad Fatoum
  2025-12-01  8:59 ` [PATCH 2/3] video: Rockchip: add MIPI-DSI support Ahmad Fatoum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2025-12-01  8:59 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The CRTC node would be the remote node on the other side of the graph
link and not the host's device.

Given that this function is unused anyway, let's drop it.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 drivers/video/dw_mipi_dsi.c | 6 ------
 include/video/dw_mipi_dsi.h | 2 --
 2 files changed, 8 deletions(-)

diff --git a/drivers/video/dw_mipi_dsi.c b/drivers/video/dw_mipi_dsi.c
index 0371806fe893..bf95b1b9f6ff 100644
--- a/drivers/video/dw_mipi_dsi.c
+++ b/drivers/video/dw_mipi_dsi.c
@@ -1029,12 +1029,6 @@ struct dw_mipi_dsi *dw_mipi_dsi_bind(struct device *dev,
 }
 EXPORT_SYMBOL_GPL(dw_mipi_dsi_bind);
 
-struct device_node *dw_mipi_dsi_crtc_node(struct dw_mipi_dsi *dsi)
-{
-	return dsi->dsi_host.dev->of_node;
-}
-EXPORT_SYMBOL_GPL(dw_mipi_dsi_crtc_node);
-
 MODULE_AUTHOR("Chris Zhong <zyw@rock-chips.com>");
 MODULE_AUTHOR("Philippe Cornu <philippe.cornu@st.com>");
 MODULE_AUTHOR("Yannick Fertré <yannick.fertre@st.com>");
diff --git a/include/video/dw_mipi_dsi.h b/include/video/dw_mipi_dsi.h
index 9e8b279bb911..01bca73d83fd 100644
--- a/include/video/dw_mipi_dsi.h
+++ b/include/video/dw_mipi_dsi.h
@@ -76,6 +76,4 @@ dw_mipi_dsi_bind(struct device *dev,
 		 const struct dw_mipi_dsi_plat_data *plat_data);
 static inline void dw_mipi_dsi_unbind(struct dw_mipi_dsi *dsi) { }
 
-struct device_node *dw_mipi_dsi_crtc_node(struct dw_mipi_dsi *dsi);
-
 #endif /* __DW_MIPI_DSI__ */
-- 
2.47.3




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

end of thread, other threads:[~2025-12-01 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-01  8:59 [PATCH 1/3] video: dw_mipi_dsi: drop unused and misleading dw_mipi_dsi_crtc_node() Ahmad Fatoum
2025-12-01  8:59 ` [PATCH 2/3] video: Rockchip: add MIPI-DSI support Ahmad Fatoum
2025-12-01  8:59 ` [PATCH 3/3] video: dw_mipi_dsi: activate pattern generator during enable as a hack Ahmad Fatoum
2025-12-01 10:44 ` [PATCH 1/3] video: dw_mipi_dsi: drop unused and misleading dw_mipi_dsi_crtc_node() Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox