]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/meson: dw-hdmi: add bandgap setting for g12
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 26 Apr 2024 16:02:54 +0000 (18:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:14:56 +0000 (12:14 +0200)
commit81230fa0f08064efce94b3b11b8933f6d3447760
tree4ec3281999e3039358dad9a9e18b1cdf5873e10b
parent87615c9548e39c1d4e8d1afd86440d926b0fe866
drm/meson: dw-hdmi: add bandgap setting for g12

[ Upstream commit 08001033121dd92b8297a5b7333636b466c30f13 ]

When no mode is set, the utility pin appears to be grounded. No signal
is getting through.

This is problematic because ARC and eARC use this line and may do so even
if no display mode is set.

This change enable the bandgap setting on g12 chip, which fix the problem
with the utility pin. This is done by restoring init values on PHY init and
disable.

Fixes: 3b7c1237a72a ("drm/meson: Add G12A support for the DW-HDMI Glue")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240426160256.3089978-3-jbrunet@baylibre.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240426160256.3089978-3-jbrunet@baylibre.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/meson/meson_dw_hdmi.c