All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: DSI/DRM multiplexer bridge
@ 2023-04-05 14:09 Alexander Stein
  2023-04-05 14:39 ` Jagan Teki
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Stein @ 2023-04-05 14:09 UTC (permalink / raw)
  To: dri-devel

Hi,

my platform has a DIP switch controlled multiplexer for MIPI DSI output 
signals. One output has a TI SN65DSI84 (LVDS) and the other output has a TI 
SN65DSI86 (eDP) attached to it. The Multiplexer status can be read back from a 
GPIO. The GPIO is also IRQ capable, so it would be possible to support hotplug 
additionally later on.

My initial idea was to create a DRM multiplexer bridge driver which (depending 
on the input GPIO) allows only one output to be enabled. Unfortunately ti-
sn65dsi86.c driver expects a DSI host on remote node 0 (see ti_sn_attach_host 
and ti_sn_bridge_parse_dsi_host), so it does not work. ti-sn65dsi83.c just 
requires a drm_bridge.

What is the best approach for this? I currently see two approaches:
* Create an explicit DSI/DRM multiplexer bridge driver which registers itself 
as DSI host
* Create a DRM multiplexer bridge (only). But this needs to remove the DSI 
device registration from ti-sn65dsi86.c

I am aware that DSI support is suboptimal, so I'm not sure which approach on 
the TI bridge drivers is the correct one and needs to be considered as given.
Any ideas?

Best regards,
Alexander
-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



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

end of thread, other threads:[~2023-04-12  6:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 14:09 RFC: DSI/DRM multiplexer bridge Alexander Stein
2023-04-05 14:39 ` Jagan Teki
2023-04-06  8:33   ` Alexander Stein
2023-04-06  8:37     ` Daniel Vetter
2023-04-06  9:55       ` Jagan Teki
2023-04-11  7:47         ` Alexander Stein
2023-04-12  6:22           ` Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.