]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/bridge: ti-sn65dsi83: Set bridge type
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 20 Jan 2025 13:21:34 +0000 (14:21 +0100)
committerRobert Foss <rfoss@kernel.org>
Tue, 18 Feb 2025 09:09:39 +0000 (10:09 +0100)
This is a DSI to LVDS bridge, so set the bridge type accordingly.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250120132135.554391-1-alexander.stein@ew.tq-group.com
drivers/gpu/drm/bridge/ti-sn65dsi83.c

index 8da9eb3832dd1f31f4d325e5121910509db6b9e6..a2c723f435ec850ac7ffa15cb9bf2e37bb9defc3 100644 (file)
@@ -990,6 +990,7 @@ static int sn65dsi83_probe(struct i2c_client *client)
        ctx->bridge.funcs = &sn65dsi83_funcs;
        ctx->bridge.of_node = dev->of_node;
        ctx->bridge.pre_enable_prev_first = true;
+       ctx->bridge.type = DRM_MODE_CONNECTOR_LVDS;
        drm_bridge_add(&ctx->bridge);
 
        ret = sn65dsi83_host_attach(ctx);