diff options
author | Jie Qiu <jie.qiu@mediatek.com> | 2016-01-04 20:36:39 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-06-16 17:30:38 +0300 |
commit | 56ba355d6b45c74fb9e93361e3af922fcc5d1129 (patch) | |
tree | 3a87970c72524348a6ae7fd8f75eb5004087784e /drivers/gpu/drm/mediatek/mtk_hdmi_regs.h | |
parent | 8f83f26891e12570780dcfc8ae376b655915ff6d (diff) | |
download | linux-56ba355d6b45c74fb9e93361e3af922fcc5d1129.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_hdmi_regs.h')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_hdmi_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_regs.h b/drivers/gpu/drm/mediatek/mtk_hdmi_regs.h index 209fbe194442..a5cb07d12c9c 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi_regs.h +++ b/drivers/gpu/drm/mediatek/mtk_hdmi_regs.h @@ -234,4 +234,5 @@ #define MHL_SYNC_AUTO_EN BIT(30) #define HDMI_PCLK_FREE_RUN BIT(31) +#define MTK_SIP_SET_AUTHORIZED_SECURE_REG 0x82000001 #endif |