From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E1F1C10F0E for ; Tue, 9 Apr 2019 09:55:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F88D20830 for ; Tue, 9 Apr 2019 09:55:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TXkwWIgr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F88D20830 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cfgc6k5+pEVPuvyd+Sqp8miknntLVwibiwdGFVxCQgg=; b=TXkwWIgrZgDfNk IHf3Fx2TYvzFxfnYDfDnUMdT4dxtrF1EGqfokIF20dPsDQRskx/sdh6pT7n6NtrSNlhrNEy8EIY7O i0OainBqajI2d59ui8f5tzmlg6vAgcDTBMza2T0PppTu37zKh7xUAcRX9M7OCrk9LYMwazN9Fr2GT N3CICrIRm4dbS83WNeqWYk05vAUiDdWeizpqGlLgEYs1iiOHnR7guwO7fMpFg2Dcne1bf36UdinzQ xPz2XLhYNljLRVJIPvFDQEQEp7dB4uW+VNrN64PB02flB5q83bsTLdoxJYAprdqm/Y/D5d11CENb5 rgxseayVE6hld1VE0V8g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDnTN-0005AK-Q7; Tue, 09 Apr 2019 09:55:21 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDnTI-00054T-T7; Tue, 09 Apr 2019 09:55:18 +0000 X-UUID: fa40f5daf92140d8b71bbceca5e57304-20190409 X-UUID: fa40f5daf92140d8b71bbceca5e57304-20190409 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1471299613; Tue, 09 Apr 2019 01:55:04 -0800 Received: from mtkmbs08n2.mediatek.inc (172.21.101.56) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 9 Apr 2019 02:55:03 -0700 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 9 Apr 2019 17:55:00 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 9 Apr 2019 17:55:00 +0800 Message-ID: <1554803700.4573.2.camel@mtksdaap41> Subject: Re: [PATCH V10 0/5] make mt7623 clock of hdmi stable From: CK Hu To: wangyan wang Date: Tue, 9 Apr 2019 17:55:00 +0800 In-Reply-To: <20190409065307.82280-1-wangyan.wang@mediatek.com> References: <20190409065307.82280-1-wangyan.wang@mediatek.com> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: A9E3ABC3D003D8A67525A74E6C1333482FF6F4303CB99A21F1AB2EC1BD8EE2BD2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190409_025516_953747_96723CD9 X-CRM114-Status: GOOD ( 14.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ryder Lee , Philipp Zabel , srv_heupstream@mediatek.com, chunhui dai , Stephen Boyd , Michael Turquette , Sean Wang , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , linux-mediatek@lists.infradead.org, Daniel Vetter , Matthias Brugger , Colin Ian King , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Wangyan: This version still has alignment problem, but I've fixed it and for this series, Applied to mediatek-drm-fixes-5.1 [1], thanks. [1] https://github.com/ckhu-mediatek/linux.git-tags/commits/mediatek-drm-fixes-5.1 Regards, CK On Tue, 2019-04-09 at 14:53 +0800, wangyan wang wrote: > From: Wangyan Wang > > V10 adopt maintainer's suggestion. > Here is the change list between V9 & V10 > > 1. Align the first character to the right of '(' in > mtk_hdmi_phy_clk_get_data() of "drm/mediatek: remove flag ..." > 2. Align the first character to the right of '(' in > mtk_hdmi_pll_recalc_rate() of "drm/mediatek: make implementation ..." > 3. Align the first character to the right of '(' in > mtk_hdmi_pll_round_rate() of "drm/mediatek: no change ..." > 4. move patch " drm/mediatek: make implementation ..." before > patch "drm/mediatek: no change parent ..." > 5. 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...". > > 6. 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: make implementation of recalc_rate() to match the definition > drm/mediatek: no change parent rate in round_rate() for mt2701 hdmi phy > > 03_27_ck.diff | 91 ++++++++++++++++++++++++ > 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 +++++++ > patch1.diff | 75 ++++++++++++++++++++ > patch_5_4.diff | 95 ++++++++++++++++++++++++++ > remove_parent_flag.diff | 75 ++++++++++++++++++++ > 9 files changed, 412 insertions(+), 45 deletions(-) > create mode 100644 03_27_ck.diff > create mode 100644 patch1.diff > create mode 100644 patch_5_4.diff > create mode 100644 remove_parent_flag.diff > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel