Skip to content

make mt7623 clock of hdmi stable

wangyan wang linux-mediatek 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest8 patches 0 repliesNew

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/mediatek: recalculate hdmi phy clock of MT2701 by querying hardwaredrivers/gpu/drm/mediatek/mtk_hdmi_phy.c drivers/gpu/drm/mediatek/mtk_hdmi_phy.h drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c +1 more+46 -70 replies
2/8drm/mediatek: move the setting of fixed dividerdrivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c+1 -40 replies
3/8drm/mediatek: using different flags of clk for HDMI phydrivers/gpu/drm/mediatek/mtk_hdmi_phy.c drivers/gpu/drm/mediatek/mtk_hdmi_phy.h drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c +1 more+8 -80 replies
4/8drm/mediatek: fix the rate and divder of hdmi phy for MT2701drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c+2 -20 replies
5/8clk: mediatek: add MUX_GATE_FLAGS_2drivers/clk/mediatek/clk-mtk.c drivers/clk/mediatek/clk-mtk.h+15 -70 replies
6/8clk: mediatek: using CLK_MUX_ROUND_CLOSEST for the clock of dpi1_seldrivers/clk/mediatek/clk-mt2701.c+2 -20 replies
7/8drm/mediatek: using new factor for tvdpll in MT2701drivers/gpu/drm/mediatek/mtk_dpi.c+3 -50 replies
8/8drm/mediatek: fix the rate of parent for hdmi phy in MT2701drivers/gpu/drm/mediatek/mtk_hdmi_phy.c drivers/gpu/drm/mediatek/mtk_hdmi_phy.h drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c +1 more+25 -170 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchCK Hu
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH V4 0/8] make mt7623 clock of hdmi stable

From: Wangyan Wang <wangyan.wang-NuS5LvNUpcJWk0Htik3J/[email protected]>

V4 adopt maintainer's suggestion.
Here is the change list between V3 & V4
1. add Reviewed-by:CK Hu <ck.hu-NuS5LvNUpcJWk0Htik3J/[email protected]> in commit message.

2. describe the reason why mt7623 clock of hdmi is more stable than before.
the tvdpll should be stable in hdmi normal setting to guarantee clock of hdmi stable, but the tvdpll may be changed in original code ,the patch is to deal with the problem, you can find more descriptions in patch "drm/mediatek:using different flags of clk ...".

chunhui dai (8):
drm/mediatek: recalculate hdmi phy clock of MT2701 by querying
hardware
drm/mediatek: move the setting of fixed divider drm/mediatek: using different flags of clk for HDMI phy drm/mediatek: fix the rate and divder of hdmi phy for MT2701
clk: mediatek: add MUX_GATE_FLAGS_2
clk: mediatek: using CLK_MUX_ROUND_CLOSEST for the clock of dpi1_sel drm/mediatek: using new factor for tvdpll in MT2701 drm/mediatek: fix the rate of parent for hdmi phy in MT2701

 drivers/clk/mediatek/clk-mt2701.c              |  4 +-
 drivers/clk/mediatek/clk-mtk.c                 |  2 +-
 drivers/clk/mediatek/clk-mtk.h                 | 20 ++++++---
 drivers/gpu/drm/mediatek/mtk_dpi.c             |  8 ++--
 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c        | 34 ++++------------
 drivers/gpu/drm/mediatek/mtk_hdmi_phy.h        |  7 +---
 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 56 +++++++++++++++++++++++---
 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c | 23 +++++++++++
 8 files changed, 102 insertions(+), 52 deletions(-)
Signature · 1 line
2.14.1