drm/mediatek: enable hdmi output control bit
authorJie Qiu <jie.qiu@mediatek.com>
Mon, 4 Jan 2016 17:36:39 +0000 (18:36 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 16 Jun 2016 14:30:38 +0000 (16:30 +0200)
commit56ba355d6b45c74fb9e93361e3af922fcc5d1129
tree3a87970c72524348a6ae7fd8f75eb5004087784e
parent8f83f26891e12570780dcfc8ae376b655915ff6d
drm/mediatek: enable hdmi output control bit

MT8173 HDMI hardware has a output control bit to enable/disable HDMI
output. Because of security reason, so this bit can ONLY be controlled
in ARM supervisor mode. Now the only way to enter ARM supervisor is the
ARM trusted firmware. So atf provides a API for HDMI driver to call to
setup this HDMI control bit to enable HDMI output in supervisor mode.

Signed-off-by: Jie Qiu <jie.qiu@mediatek.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/mediatek/mtk_hdmi.c
drivers/gpu/drm/mediatek/mtk_hdmi_regs.h