drm/sun4i: Add support for HDMI voltage regulator
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 4 Sep 2018 04:40:52 +0000 (12:40 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Sep 2018 07:20:28 +0000 (09:20 +0200)
commit633ba1e086e1abbeef1ffd899911de8cf3987d9f
treedf2c74c9f296e748109a0df731543551c18174ec
parent50414b954ba647693db655fb753811dc895e8cbe
drm/sun4i: Add support for HDMI voltage regulator

Some boards have HDMI VCC pin connected to voltage regulator which may
not be turned on by default.

Add support for such boards by adding voltage regulator handling code to
HDMI driver.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
[Icenowy: change supply name to "hvcc"]
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180904044053.15425-11-icenowy@aosc.io
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h