Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1633321imu; Wed, 23 Jan 2019 22:19:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Cx9LLqAbK28WxO8+MUBJdyo2EVsey4Fz6Ku0OzEarog5ctFAz2ArFEh7A3OcBsHYyeUra X-Received: by 2002:a17:902:4464:: with SMTP id k91mr5397426pld.13.1548310768306; Wed, 23 Jan 2019 22:19:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548310768; cv=none; d=google.com; s=arc-20160816; b=cZWFDpRppqUto8p7RcrcnXDxLYh7UrSW8+QEwDrAHLt5MQm4GfOWJJcODoIVbi4LD6 1RJ3IUU1Pc92+85AFOGq1sJ5/PRw+KwTip2rK6SjtdaYzX9w4WG9HX+7SHt7gHD3m8Jw askf6ILTNKe/qsH/yS3OLge7Ub+95U92Enomo0z9VXzC3V545XTbBE3Yr3+WQbDG2BCV OFwngGsupV3hnLXi7ZpvuRaN38iKyAkULOtWIT0TtcFwd/JgYGG4BaUCURmklV6g+LEP qPde6RSoVXkCDyMvWYkh6zdwupqnu7Lcj+ou6RvPeFrySnTWiqdHZaELDRuNMn7Bnt1N Ul+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=KU74zj5xqgwa//mGAVi2RL4765P6PO2lTJwCDTelmVw=; b=tRV42ZJIG/HnnKvZtRoHc87AV6Zej/ze4fPyjtR3ITqQuubTx6lKM52ZJRY2F8e7qo yxuSHkvCp7Pu5TX/z1f5M5MfqdaAMMs3b/te5xWH5ouhGI9OxaRiadJkpJlm6iWsoYpE W2s9Tfg1SoEG4wyNI+rFG0ImCvgMcD21uX4QI+sGYumILxJOuJsb+ak8VtMCkM4dJtSS 1sgLnaNL4Gcx5x2SnzFpMqvHxaZ2mZxH6nhvU7iWPwvuQjZiFlUCI3pYtgrJRLg0J+uh kjTWJ51C4x1IVFfY+WBSss9X2tpovdRG5dYNSuOnPuiZGidWaUMW7C7Nn+dfa2qts9QG G4Qg== 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 r7si16943496ple.281.2019.01.23.22.19.12; Wed, 23 Jan 2019 22:19:28 -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 S1726283AbfAXGR1 (ORCPT + 99 others); Thu, 24 Jan 2019 01:17:27 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:28686 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725287AbfAXGR0 (ORCPT ); Thu, 24 Jan 2019 01:17:26 -0500 X-UUID: 11b2ad6eddbd46aa961f22506c559675-20190124 X-UUID: 11b2ad6eddbd46aa961f22506c559675-20190124 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1433468263; Thu, 24 Jan 2019 14:17:20 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 24 Jan 2019 14:17:19 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 24 Jan 2019 14:17:19 +0800 Message-ID: <1548310639.4220.3.camel@mtksdaap41> Subject: Re: [PATCH V2,4/8] drm/mediatek: fix the rate and divder of hdmi phy for MT2701 From: CK Hu To: Wangyan Wang CC: Michael Turquette , Matthias Brugger , Stephen Boyd , Philipp Zabel , David Airlie , chunhui dai , Sean Wang , Ryder Lee , Colin Ian King , , , , , , , , Date: Thu, 24 Jan 2019 14:17:19 +0800 In-Reply-To: <20190118125928.3279-5-wangyan.wang@mediatek.com> References: <20190118125928.3279-1-wangyan.wang@mediatek.com> <20190118125928.3279-5-wangyan.wang@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-01-18 at 20:59 +0800, Wangyan Wang wrote: > From: chunhui dai Describe something here. > > Fixes: 0fc721b2968e ("drm/mediatek: add hdmi driver for MT2701 and MT7623") > Signed-off-by: chunhui dai Any one who pass a patch should sign off it. Regards, CK > --- > drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c b/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c > index 43bc058d5528..88dd9e812ca0 100644 > --- a/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c > +++ b/drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c > @@ -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; >