]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/bridge: tc358767: Add DSI-to-(e)DP mode support
authorMarek Vasut <marex@denx.de>
Fri, 29 Apr 2022 20:56:44 +0000 (22:56 +0200)
committerRobert Foss <robert.foss@linaro.org>
Thu, 12 May 2022 16:00:38 +0000 (18:00 +0200)
commit3080c21a043abc83e56da9bb5942eb3f4b92c90e
tree98e09573d3ac7a9c130731475190ae599cf50c18
parentd7fd32ecce914686756dedf586c8573e71f975a4
drm/bridge: tc358767: Add DSI-to-(e)DP mode support

Implement DSI-to-e(DP) mode, which is a mix of currently supported
DSI-to-DPI and DPI-to-(e)DP modes. The input side is configured as
either DSI or DPI, the DP AUX channel is registered for both input
side options, and the DSI host is attached for both DPI and (e)DP
output side options.

One notable detail is that the DSI-to-(e)DP mode requires the Pixel
PLL to be always enabled, which is not needed for DPI-to-(e)DP mode
which gets the matching clock direct from DPI Pixel Clock instead.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220429205644.245480-2-marex@denx.de
drivers/gpu/drm/bridge/tc358767.c