public inbox for linux-rockchip@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add HDMI audio on the Radxa ROCK 5B
@ 2025-01-23 22:28 Detlev Casanova
  2025-01-23 22:28 ` [PATCH v2 1/2] drm/bridge: synopsys: Add audio support for dw-hdmi-qp Detlev Casanova
  2025-01-23 22:28 ` [PATCH v2 2/2] arm64: dts: rockchip: Add HDMI0 audio output on rock-5b Detlev Casanova
  0 siblings, 2 replies; 6+ messages in thread
From: Detlev Casanova @ 2025-01-23 22:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: Algea Cao, Heiko Stuebner, Geert Uytterhoeven, Kever Yang,
	dri-devel, Laurent Pinchart, Andrzej Hajda, kernel, David Airlie,
	Dragan Simic, Simona Vetter, Rob Herring, Detlev Casanova,
	Robert Foss, Sebastian Reichel, Jernej Skrabec, Sugar Zhang,
	linux-rockchip, FUKAUMI Naoki, devicetree, Conor Dooley,
	Jonas Karlman, Maarten Lankhorst, Maxime Ripard, Dmitry Baryshkov,
	Johan Jonker, linux-arm-kernel, Neil Armstrong, Jianfeng Liu,
	Alexey Charkov, Thomas Zimmermann, Krzysztof Kozlowski

To support HDMI audio on the rk3588 based devices, the generic HDMI
Codec framework is used in the dw-hdmi-qp DRM bridge driver.

The implementation is mainly based on the downstream driver, ported to the
generic HDMI Codec framework [1] recently merged in the DRM tree.
The parameters computation has been kept as is and the data stored in the
dw_hdmi_qp struct as been cleaned up.

The downstream kernel also implements a machine driver for HDMI audio but
it is doing exactly what the simple-audio-card driver does, so use that
instead in the ROCK 5B device tree.

Based on Linus' master branch.

Changes since v1:
 - Remove useless audio_mutex (was used downstream for multiple drivers access
   to audio functions)
 - Let hdmi_codec build and setup audio infoframes
 - Only access audio registers when connector is connected
 - Rebased on master branch

Detlev Casanova (1):
  arm64: dts: rockchip: Add HDMI0 audio output on rock-5b

Sugar Zhang (1):
  drm/bridge: synopsys: Add audio support for dw-hdmi-qp

 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi |   1 +
 .../boot/dts/rockchip/rk3588-rock-5b.dts      |  19 +
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c  | 424 ++++++++++++++++++
 3 files changed, 444 insertions(+)

-- 
2.48.1


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

end of thread, other threads:[~2025-01-28 13:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-23 22:28 [PATCH v2 0/2] Add HDMI audio on the Radxa ROCK 5B Detlev Casanova
2025-01-23 22:28 ` [PATCH v2 1/2] drm/bridge: synopsys: Add audio support for dw-hdmi-qp Detlev Casanova
2025-01-24  5:01   ` Dmitry Baryshkov
2025-01-27 20:34     ` Detlev Casanova
2025-01-28 13:37       ` Dmitry Baryshkov
2025-01-23 22:28 ` [PATCH v2 2/2] arm64: dts: rockchip: Add HDMI0 audio output on rock-5b Detlev Casanova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox