]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm: bridge: adv7511: Fix ADV7535 HPD enablement
authorJagan Teki <jagan@amarulasolutions.com>
Sun, 9 Jan 2022 17:29:49 +0000 (22:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:05:56 +0000 (14:05 +0200)
commit01c69900e54168e6f61a8769c70c9b605efc6658
tree4342b505c43c4242ca05a7ee207dc0d03b1844c8
parent7debe80d8a84a7c4c93aefbcb0d6430fc0c039e7
drm: bridge: adv7511: Fix ADV7535 HPD enablement

[ Upstream commit 3dbc84a595d17f64f14fcea00120d31e33e98880 ]

Existing HPD enablement logic is not compatible with ADV7535
bridge, thus any runtime plug-in of HDMI cable is not working
on these bridge designs.

Unlike other ADV7511 family of bridges, the ADV7535 require
HPD_OVERRIDE bit to set and reset for proper handling of HPD
functionality.

Fix it.

Fixes: 8501fe4b14a3 ("drm: bridge: adv7511: Add support for ADV7535")
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220109172949.168167-1-jagan@amarulasolutions.com
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/bridge/adv7511/adv7511.h
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c