[PATCH v9 5/9] drm/bridge: anx7625: Check for Type-C during panel registration

Chen-Yu Tsai wenst at chromium.org
Mon Jan 9 10:11:34 UTC 2023


On Mon, Jan 9, 2023 at 4:41 PM Pin-yen Lin <treapking at chromium.org> wrote:
>
> 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: Chen-Yu Tsai <wenst at chromium.org>
Tested-by: Chen-Yu Tsai <wenst at chromium.org>

on MT8192 based Hayato (ASUS Chromebook Flip CM3200).


More information about the dri-devel mailing list