]> git.dujemihanovic.xyz Git - linux.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)
committerNeil Armstrong <neil.armstrong@linaro.org>
Fri, 3 May 2024 08:48:54 +0000 (10:48 +0200)
commit08001033121dd92b8297a5b7333636b466c30f13
tree6335a28246568a07bef37e4eac0c052711c5fe19
parent04703bfd7f99c016a823c74712b97f8b5590ce87
drm/meson: dw-hdmi: add bandgap setting for g12

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
drivers/gpu/drm/meson/meson_dw_hdmi.c