[PATCH v14 05/10] drm/bridge: anx7625: Check for Type-C during panel registration
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Wed Mar 22 12:17:30 UTC 2023
Il 22/03/23 11:46, Pin-yen Lin ha scritto:
> The output port endpoints can be connected to USB-C connectors.
> Running drm_of_find_panel_or_bridge() with such endpoints leads to
> a continuous return value of -EPROBE_DEFER, even though there is
> no panel present.
>
> To avoid this, check for the existence of a "mode-switch" property in
> the port endpoint, and skip panel registration completely if so.
>
> Signed-off-by: Pin-yen Lin <treapking at chromium.org>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the dri-devel
mailing list