linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V8 0/5] make mt7623 clock of hdmi stable
@ 2019-04-02  9:36 wangyan wang
  2019-04-02  9:36 ` [PATCH V8 1/5] drm/mediatek: remove flag CLK_SET_RATE_PARENT for mt2701 hdmi phy to not propagate rate change to parent wangyan wang
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: wangyan wang @ 2019-04-02  9:36 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, CK Hu
  Cc: wangyan wang, Matthias Brugger, Philipp Zabel, David Airlie,
	Daniel Vetter, chunhui dai, Colin Ian King, Sean Wang, Ryder Lee,
	linux-clk, linux-kernel, linux-arm-kernel, linux-mediatek,
	dri-devel, srv_heupstream

From: Wangyan Wang <wangyan.wang@mediatek.com>

V8 adopt maintainer's suggestion.
Here is the change list between V7 & V8

1. Make title more clear in patch commit message.

2. To make MT2701 HDMI stable, TVDPLL should not be adjusted and
it's the parent clock of HDMI phy, so HDMI phy could not adjust parent
rate. there are 3 steps to make MT2701 HDMI stable.
    1). remove flag CLK_SET_RATE_PARENT for mt2701 hdmi phy to not propagate
rate change to parent in "drm/mediatek: remove flag ...".
    2). Using new factor for tvdpll in mt2701 to match divider of DPI in
mt2701 in "drm/mediatek: using new...".
    3). No change parent rate in round_rate() for mt2701 hdmi phy in
"drm/mediatek: no change parent...".

3. Recalculate the rate of this clock, by querying hardware to
make implementation of recalc_rate() to match the definition.


Wangyan Wang (5):
  drm/mediatek: remove flag CLK_SET_RATE_PARENT for mt2701 hdmi phy
  drm/mediatek: fix the rate and divder of hdmi phy for MT2701
  drm/mediatek: using new factor for tvdpll in MT2701
  drm/mediatek: no change parent rate in round_rate() for mt2701 hdmi phy
  drm/mediatek: make implementation of recalc_rate() to match the definition

 drivers/gpu/drm/mediatek/mtk_dpi.c             |  8 ++---
 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c        | 35 +++---------------
 drivers/gpu/drm/mediatek/mtk_hdmi_phy.h        |  5 +--
 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 50 ++++++++++++++++++++++----
 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c | 23 ++++++++++++
 5 files changed, 76 insertions(+), 45 deletions(-)

-- 
2.14.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-08  4:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02  9:36 [PATCH V8 0/5] make mt7623 clock of hdmi stable wangyan wang
2019-04-02  9:36 ` [PATCH V8 1/5] drm/mediatek: remove flag CLK_SET_RATE_PARENT for mt2701 hdmi phy to not propagate rate change to parent wangyan wang
2019-04-08  3:53   ` CK Hu
2019-04-02  9:36 ` [PATCH V8 2/5] drm/mediatek: fix the rate and divder of hdmi phy for MT2701 wangyan wang
2019-04-02  9:36 ` [PATCH V8 3/5] drm/mediatek: using new factor for tvdpll in MT2701 wangyan wang
2019-04-08  3:54   ` CK Hu
2019-04-02  9:36 ` [PATCH V8 4/5] drm/mediatek: no change parent rate in round_rate() for mt2701 hdmi phy wangyan wang
2019-04-08  3:57   ` CK Hu
2019-04-02  9:36 ` [PATCH V8 5/5] drm/mediatek: make implementation of recalc_rate() to match the definition wangyan wang
2019-04-08  4:48   ` CK Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).