]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/rockchip: dw_hdmi_qp: Use bit macros for RK3576 regs
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 21 Oct 2025 10:19:17 +0000 (13:19 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 Nov 2025 22:10:37 +0000 (23:10 +0100)
commit97ffefaaf4e9ab3aeddb2273e1a9b2854c481b11
tree97935c3c8bc1a73b4b91712a73c539d3b1f46eac
parentba9c2fe18c171fabe0958502e080e000671ac36f
drm/rockchip: dw_hdmi_qp: Use bit macros for RK3576 regs

For consistency and improved readability, redefine a few RK3576 specific
register configurations by relying on GENMASK() and unshifted values for
color depth and output format.  Those are not used at the moment, but
will be needed soon to support the related features.

While at it, drop a few other defines which are unlikely to be ever
required.

Acked-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20251021-rk3588-10bpc-v3-4-3d3eed00a6db@collabora.com
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c