diff options
author | chunhui dai <chunhui.dai@mediatek.com> | 2018-10-03 06:41:47 +0300 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2018-10-03 06:56:32 +0300 |
commit | be28b6507c46050f5b7244d9d98a19c03b9cf074 (patch) | |
tree | 4fdd9687ee93c513674bdb5728b7fee0396442ea /drivers/gpu/drm/mediatek/mtk_hdmi.c | |
parent | d08b5ab972449b0ab494600fa985979e91e090ca (diff) | |
download | linux-be28b6507c46050f5b7244d9d98a19c03b9cf074.tar.xz |
drm/mediatek: separate hdmi phy to different file
Different IC has different phy setting of HDMI.
This patch separates the phy hardware relate part for mt8173.
Signed-off-by: chunhui dai <chunhui.dai@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_hdmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 2d45d1dd9554..2ca9f6a64dab 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c @@ -233,6 +233,7 @@ static void mtk_hdmi_hw_vid_black(struct mtk_hdmi *hdmi, bool black) static void mtk_hdmi_hw_make_reg_writable(struct mtk_hdmi *hdmi, bool enable) { struct arm_smccc_res res; + struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(hdmi->phy); /* * MT8173 HDMI hardware has an output control bit to enable/disable HDMI |