All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Add HDMI CEC support to Rockchip RK3588/RK3576 SoCs
@ 2025-07-04 14:23 ` Cristian Ciocaltea
  0 siblings, 0 replies; 22+ messages in thread
From: Cristian Ciocaltea @ 2025-07-04 14:23 UTC (permalink / raw)
  To: Sandy Huang, Heiko Stübner, Andy Yan, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
	Andrzej Hajda, Neil Armstrong, Robert Foss, Dmitry Baryshkov,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Catalin Marinas,
	Will Deacon
  Cc: kernel, dri-devel, linux-arm-kernel, linux-rockchip, linux-kernel,
	Algea Cao, Derek Foreman

The first two patches in the series implement the CEC capability of the
Synopsys DesignWare HDMI QP TX controller found in RK3588 & RK3576 Socs.

This is based on the downstream code, but rewritten on top of the CEC
helpers added recently to the DRM HDMI connector framework.

The next two patches are needed for RK3576 in order to fixup the timer
base setup according to the actual reference clock rate, which differs
slightly from RK3588.

Please note the CEC helpers are currently affected by a resource
deallocation issue which may crash the kernel and freeze the system
under certain test conditions.  I've already submitted a patch [1] that
seems to correct the problem.

[1] https://lore.kernel.org/all/20250703-hdmi-cec-helper-unreg-fix-v1-1-7e7b0eb578bb@collabora.com/

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
---
Cristian Ciocaltea (5):
      drm/rockchip: dw_hdmi_qp: Provide CEC IRQ in dw_hdmi_qp_plat_data
      drm/bridge: dw-hdmi-qp: Add CEC support
      drm/rockchip: dw_hdmi_qp: Provide ref clock rate in dw_hdmi_qp_plat_data
      drm/bridge: dw-hdmi-qp: Fixup timer base setup
      arm64: defconfig: Enable DW HDMI QP CEC support

 arch/arm64/configs/defconfig                   |   1 +
 drivers/gpu/drm/bridge/synopsys/Kconfig        |   8 +
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c   | 231 ++++++++++++++++++++++++-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.h   |  14 ++
 drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c |  17 +-
 include/drm/bridge/dw_hdmi_qp.h                |   2 +
 6 files changed, 269 insertions(+), 4 deletions(-)
---
base-commit: 8d6c58332c7a8ba025fcfa76888b6c37dbce9633
change-id: 20250703-rk3588-hdmi-cec-cea8f523df48


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2025-07-05 13:26 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-04 14:23 [PATCH 0/5] Add HDMI CEC support to Rockchip RK3588/RK3576 SoCs Cristian Ciocaltea
2025-07-04 14:23 ` Cristian Ciocaltea
2025-07-04 14:23 ` [PATCH 1/5] drm/rockchip: dw_hdmi_qp: Provide CEC IRQ in dw_hdmi_qp_plat_data Cristian Ciocaltea
2025-07-04 14:23   ` Cristian Ciocaltea
2025-07-04 14:37   ` Heiko Stübner
2025-07-04 14:37     ` Heiko Stübner
2025-07-04 14:46     ` Cristian Ciocaltea
2025-07-04 14:46       ` Cristian Ciocaltea
2025-07-04 14:23 ` [PATCH 2/5] drm/bridge: dw-hdmi-qp: Add CEC support Cristian Ciocaltea
2025-07-04 14:23   ` Cristian Ciocaltea
2025-07-05 13:23   ` Dmitry Baryshkov
2025-07-05 13:23     ` Dmitry Baryshkov
2025-07-04 14:23 ` [PATCH 3/5] drm/rockchip: dw_hdmi_qp: Provide ref clock rate in dw_hdmi_qp_plat_data Cristian Ciocaltea
2025-07-04 14:23   ` Cristian Ciocaltea
2025-07-04 15:07   ` Maxime Ripard
2025-07-04 15:07     ` Maxime Ripard
2025-07-04 15:26     ` Cristian Ciocaltea
2025-07-04 15:26       ` Cristian Ciocaltea
2025-07-04 14:23 ` [PATCH 4/5] drm/bridge: dw-hdmi-qp: Fixup timer base setup Cristian Ciocaltea
2025-07-04 14:23   ` Cristian Ciocaltea
2025-07-04 14:23 ` [PATCH 5/5] arm64: defconfig: Enable DW HDMI QP CEC support Cristian Ciocaltea
2025-07-04 14:23   ` Cristian Ciocaltea

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.