drm: sun4i: Add support for enabling DDC I2C bus to sun8i_dw_hdmi glue
authorOndrej Jirman <megous@megous.com>
Tue, 6 Aug 2019 15:57:42 +0000 (17:57 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 12 Aug 2019 08:07:04 +0000 (10:07 +0200)
commit4c8b4c3855b0049f31be5bbfb19042005e98e822
treeb8f2928a25defce1b50565ae23a457c4ea5d803e
parentf6700060f53f0764fb970fa1cb716a7f671f0581
drm: sun4i: Add support for enabling DDC I2C bus to sun8i_dw_hdmi glue

Orange Pi 3 board requires enabling a voltage shifting circuit via GPIO
for the DDC bus to be usable.

Add support for hdmi-connector node's optional ddc-en-gpios property to
support this use case.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190806155744.10263-4-megous@megous.com
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h