]> git.baikalelectronics.ru Git - kernel.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)
commitc2998575fdce404c32d6a4a8cd564b1facb4c948
tree98e09573d3ac7a9c130731475190ae599cf50c18
parentc1b62e3d5ba1b4cbffb37f4806dce6343870e375
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