media: adv7604: fix HPD support for adv7611/12
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 24 Mar 2021 07:56:42 +0000 (08:56 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 6 Apr 2021 17:33:23 +0000 (19:33 +0200)
commit1cf233d89fcd0171d078d2479c0e73013c15c859
tree1631d5567c31253a0ab37f5d3127d8c627a6615a
parent54676d5f5630b79f7b00c7c43882a58c1815aaf9
media: adv7604: fix HPD support for adv7611/12

For the adv7604 the hotplug detect pin is controlled through gpio pins from
the SoC, but the adv7611 and adv7612 control the hotplug detect pin
themselves.

But the driver had no support for this, so the HPD was always high, even
when changing the EDID. Add proper support for this to the driver.

Tested with an adv7612.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/adv7604.c