drm/mediatek: fix the rate and divder of hdmi phy for MT2701
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Wangyan Wang
From: chunhui dai <[email protected]>
Describe something here.
Quoted 3 lines
Fixes 0fc721b2968e ("drm/mediatek: add hdmi driver for MT2701 and MT7623")Signed-off-by chunhui dai <[email protected]>
Any one who pass a patch should sign off it.
Regards,
CK
Quoted 19 lines
--- drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c +2
-2@@ -114,8 +114,8 @@ static int mtk_hdmi_pll_set_rate(struct clk_hw *hw, unsigned long rate,if (rate <=64000000 ) pos_div =3 ; -else if (rate <=12800000 ) - pos_div =1 ; +else if (rate <=128000000 ) + pos_div =2 ;else pos_div =1 ;
Dear CK,
OK,I will modify according your comments in V3.
Best Regards
Wangyan Wang
Quoted 35 lines · CK Hu
Quoted 1 line · Wangyan Wang
From: chunhui dai <[email protected]>
Describe something here.
Quoted 3 lines
Fixes 0fc721b2968e ("drm/mediatek: add hdmi driver for MT2701 and MT7623")Signed-off-by chunhui dai <[email protected]>Any one who pass a patch should sign off it.
Regards,
CKQuoted 19 lines
--- drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c +2
-2@@ -114,8 +114,8 @@ static int mtk_hdmi_pll_set_rate(struct clk_hw *hw, unsigned long rate,if (rate <=64000000 ) pos_div =3 ; -else if (rate <=12800000 ) - pos_div =1 ; +else if (rate <=128000000 ) + pos_div =2 ;else pos_div =1 ;