]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/bridge: simple-bridge: Add support for radxa ra620
authorAndy Yan <andy.yan@rock-chips.com>
Fri, 22 Aug 2025 06:39:50 +0000 (14:39 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 22 Aug 2025 18:10:17 +0000 (21:10 +0300)
The RA620 is an active DP to HDMI converter chip, basically
no software is involved to drive it.

Add it to simple bridge to make it can be find by the drm bridge chain.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250822063959.692098-7-andyshrk@163.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/bridge/simple-bridge.c

index 3d15ddd394703a351c1a537e7ab5f1487e024ee4..1f16d568bcc4e0fb56c763244389e6fecbcb2231 100644 (file)
@@ -261,6 +261,11 @@ static const struct of_device_id simple_bridge_match[] = {
                        .timings = &default_bridge_timings,
                        .connector_type = DRM_MODE_CONNECTOR_VGA,
                },
+       }, {
+               .compatible = "radxa,ra620",
+               .data = &(const struct simple_bridge_info) {
+                       .connector_type = DRM_MODE_CONNECTOR_HDMIA,
+               },
        }, {
                .compatible = "ti,opa362",
                .data = &(const struct simple_bridge_info) {