1
0
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
9a769db9af Add HDMI CEC support for the DesignWare HDMI QP controller
Backport the generic DRM HDMI CEC helpers (drm_hdmi_cec_helper and
drm_hdmi_cec_notifier_helper) along with the drm_connector CEC state,
drm_bridge CEC callbacks, and drm_bridge_connector glue that the
adapter registration path requires. Propagate the HDMI physical
address to the CEC adapter from the HDMI state helper hotplug path.

Implement the CEC adapter in dw-hdmi-qp: register definitions, IRQ
handling, transmit and receive paths, logical address programming,
and enable/disable. Pass the named "cec" IRQ and the HDMI reference
clock rate down from dw_hdmi_qp-rockchip so the timer base is
initialised from the actual reference clock.

Enable CONFIG_DRM_DW_HDMI_QP_CEC in tart_defconfig.
2026-08-09 22:18:44 -04:00
dvab-sarma
2bef665401 [PATCH 4/4] drm/rockchip: dw_hdmi_qp: Do not send HPD events for all connectors
Date: Wed, 03 Dec 2025 20:27:55 +0200	[thread overview]
Message-ID: <20251203-dw-hdmi-qp-scramb-v1-4-836fe7401a69@collabora.com> (raw)
In-Reply-To: <20251203-dw-hdmi-qp-scramb-v1-0-836fe7401a69@collabora.com>

In order to optimize the HPD event handling and run the detect cycle on
the affected connector only, make use of
drm_connector_helper_hpd_irq_event() instead of
drm_helper_hpd_irq_event().

Additionally, move devm_request_threaded_irq() after bridge connector
initialization.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
2025-12-04 17:09:30 -06:00
dvab-sarma
4176d76292 These changes enable the dp0 node of rk3588(s), which enables DisplayPort of the SoC. This is essential as the seconday hdmi port of Orange pi 5 pro is fundamentally a DP port
with dp to hdmi converter bridge present. By enabling this, we can use the 2nd hdmi as a secondary display for AOSP(or even primary if first hdmi port is not used).
2025-12-04 02:12:24 -06:00
dvab-sarma
7e144d9afa can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00