]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/rockchip: dw_hdmi_qp: Fixup usage of enable_gpio member in main struct
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Mon, 27 Oct 2025 22:26:41 +0000 (00:26 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 Nov 2025 21:52:50 +0000 (22:52 +0100)
commit53dd063bb6b342ca00d2a0c138ba58807a690417
treece53a3707767626b791b9a40e37ada43a2f70f33
parentca408d8d93d33423cafe3046f40bcc81bc6ee5f3
drm/rockchip: dw_hdmi_qp: Fixup usage of enable_gpio member in main struct

The name of the enable_gpio member in struct rockchip_hdmi_qp is too
generic, as initially "borrowed" from downstream BSP code. Moreover,
this hasn't been really in use so far, since there is neither a DT
providing an "enable-gpios" property to any of the "hdmi" nodes, nor a
binding documenting it.

The actual purpose of this GPIO line is to control the voltage bias for
the HDMI TX data lines when switching between TMDS and FRL operating
modes.

A previous patch introduced the "frl-enable-gpios" property of the
RK3588 HDMI TX Controller binding, hence pass the updated string to
devm_gpiod_get_optional(), rename the struct member accordingly and set
it to a low level.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20251027222641.25066-3-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c