Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp91234imp; Tue, 19 Feb 2019 18:54:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IZh1ozklaTr2017q1WCkPp1ENrzpJuGlGMPAm0zPTW/W2muwxA01XjZB1MxR0A96N1XwgwJ X-Received: by 2002:a17:902:76c7:: with SMTP id j7mr1669674plt.121.1550631292893; Tue, 19 Feb 2019 18:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550631292; cv=none; d=google.com; s=arc-20160816; b=00wywMFEQST5YCGSFRIYF6hE5mAcTov9YBqPxJJPbFq/bm0d4fb4cmaP+8oxaklI3a +wdPAsGc2L7o2zncrJBSm/hD3DG2emGPsMdBEWAMTdwN7YpqjyxAFA+FgxgH8kKMt9ZJ pjrhimJmdUbpBxQlRtoGI+5JzumP9FFcc3uLQjQMWsTS4zYd8RCWZ6eRvvQgsn4OW4cH quo+7yXYVWux2+yra+pDcOQ5e5t+V17F5tFkB4y0bAe407xT8j2haZfjdCszdOyHZjMr 1p5xlRgABRB0zAAv76ReAcOLl+aFOEp6A1ygolmAEP9/55k3Fu2Ab1n6U59DVzBAyXq5 Otxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=EQauOSNdowW5BxnIPEyhSQ6haufjDvWcmFPB4bGoc54=; b=OiYYAG0fgzS1fnAjSy9OrRJVtqUbm2EuQbdQKF2zwvYxNUWvKNn6R81/lc038Ru5El bMRQOcOdNLCCQ+KLZ2Nt6yQqCW46JcQJNmKmvG4+TYMK0HF5dALu9tdZJt8jOOu4Xg9U msMrefsinzKVHCy3bdhbnt4muRmX3u+P0KmzrrOm/em5ZtKyFhx94kMvJ7LAN/5GkYCz l4IPJdbnj3xBy/abos9HQAz2Z2wXiBi+sCmOZQMmvtxqNsI9QBYBpg3yTpq+bEt5pfUH r6ZyitrVgNd5OuyUr0bpKaCLlkodCf5rz5nfgRl8j5Yj7qsY849LOuqK4/5GLHJrHa27 87NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m22si16233672pgv.188.2019.02.19.18.54.35; Tue, 19 Feb 2019 18:54:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729172AbfBTCyM (ORCPT + 99 others); Tue, 19 Feb 2019 21:54:12 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:6933 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726208AbfBTCyM (ORCPT ); Tue, 19 Feb 2019 21:54:12 -0500 X-UUID: 0f66d9f8c5074e0ba703fcc9af5dfac8-20190220 X-UUID: 0f66d9f8c5074e0ba703fcc9af5dfac8-20190220 Received: from mtkcas32.mediatek.inc [(172.27.4.250)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 168051475; Wed, 20 Feb 2019 10:54:03 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N1.mediatek.inc (172.27.4.75) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 20 Feb 2019 10:54:01 +0800 Received: from mszsdaap41.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 20 Feb 2019 10:54:00 +0800 From: wangyan wang 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 , , , , , , Subject: [PATCH V5 0/8] make mt7623 clock of hdmi stable Date: Wed, 20 Feb 2019 10:53:49 +0800 Message-ID: <20190220025357.7354-1-wangyan.wang@mediatek.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wangyan Wang V4 adopt maintainer's suggestion. Here is the change list between V4 & V5 1. add Reviewed-by:CK Hu in " drm/mediatek: fix the rate ..." 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(-) -- 2.14.1