diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2024-03-28 14:45:32 +0100 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2024-03-28 14:48:11 +0100 |
commit | 0d9f1748ac170ee6cfcce8f99fb65a9f157a9f29 (patch) | |
tree | f7cfdd7cd7a1eb1516f36b99e9988bb8caf1bbd3 | |
parent | b11c808072fbd21808adae0685ff91d15a16e033 (diff) |
Revert "Revert "drm/bridge: lt8912b: set hdmi or dvi mode""
This reverts commit 34a7716e046916220534baff7ec73341bf355aa6.
At least one monitor is just not working fine without this HDMI
bit set, so let's keep this aligned with mainline till we have a better
understanding of the issue.
Upstream-Status: Inappropriate [other]
This is just making the code the same as it is upstream.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
-rw-r--r-- | drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c index e841a8a4507a..2fdb52216b8a 100644 --- a/drivers/gpu/drm/bridge/lontium-lt8912b.c +++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c @@ -341,6 +341,8 @@ static int lt8912_video_setup(struct lt8912 *lt) vsync_activehigh ? BIT(0) : 0); ret |= regmap_update_bits(lt->regmap[I2C_MAIN], 0xab, BIT(1), hsync_activehigh ? BIT(1) : 0); + ret |= regmap_update_bits(lt->regmap[I2C_MAIN], 0xb2, BIT(0), + lt->connector.display_info.is_hdmi ? BIT(0) : 0); return ret; } |