exynos-linux-stable/drivers/gpu/drm/bridge
John Stultz bad4c8f1bc drm/bridge: adv7511: Re-write the i2c address before EDID probing
commit 3587c856675c45809010c2cee5b21096f6e8e938 upstream.

I've found that by just turning the chip on and off via the
POWER_DOWN register, I end up getting i2c_transfer errors on
HiKey.

Investigating further, it turns out that some of the register
state in hardware is getting lost, as the device registers are
reset when the chip is powered down.

Thus this patch simply re-writes the i2c address to the
ADV7511_REG_EDID_I2C_ADDR register to ensure its properly set
before we try to read the EDID data.

Cc: David Airlie <airlied@linux.ie>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1484614372-15342-7-git-send-email-john.stultz@linaro.org
Signed-off-by: Nhan Nguyen <nhan.nguyen.yb@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-15 15:53:20 +01:00
..
adv7511 drm/bridge: adv7511: Re-write the i2c address before EDID probing 2017-11-15 15:53:20 +01:00
analogix drm/bridge: analogix dp: Fix runtime PM state on driver bind 2017-03-30 09:41:28 +02:00
analogix-anx78xx.c drm/bridge: Call drm_connector_cleanup directly 2016-10-05 15:20:36 +02:00
analogix-anx78xx.h drm/bridge: Add Analogix anx78xx support 2016-05-12 11:32:14 +02:00
dumb-vga-dac.c drm/bridge: Add RGB to VGA bridge support 2016-10-10 10:58:44 +05:30
dw-hdmi-ahb-audio.c drm/bridge: dw-hdmi: Delete unnecessary assignment for the field "owner" 2016-08-23 11:34:26 -04:00
dw-hdmi-audio.h drm/bridge: dw-hdmi: Use dashes in filenames 2015-11-24 17:52:58 +01:00
dw-hdmi.c drm/bridge: Drop drm_connector_unregister and call drm_connector_cleanup directly 2016-10-10 11:19:42 +02:00
dw-hdmi.h drm/bridge: dw-hdmi: Use dashes in filenames 2015-11-24 17:52:58 +01:00
Kconfig drm/bridge: Add RGB to VGA bridge support 2016-10-10 10:58:44 +05:30
Makefile drm/bridge: Add RGB to VGA bridge support 2016-10-10 10:58:44 +05:30
nxp-ptn3460.c drm/bridge: Call drm_connector_cleanup directly 2016-10-05 15:20:36 +02:00
parade-ps8622.c drm/bridge: Call drm_connector_cleanup directly 2016-10-05 15:20:36 +02:00
sii902x.c drm/bridge: Add sii902x driver 2016-06-20 15:55:49 +02:00
tc358767.c drm/bridge: Drop drm_connector_unregister and call drm_connector_cleanup directly 2016-10-10 11:19:42 +02:00