Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4333imu; Thu, 24 Jan 2019 18:29:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN7O9K3DDq3ijwW8qhOiwnXTnWFrh8vTq6LhqAVPfFsOkVS+2hsyl0lkktori3qXz4GUQOes X-Received: by 2002:a17:902:9305:: with SMTP id bc5mr8954438plb.86.1548383360072; Thu, 24 Jan 2019 18:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548383360; cv=none; d=google.com; s=arc-20160816; b=Y4rp5h9zynFDZafPw/hr9FF/X9OewNX6s3OGdUNoHXy2DLiws4gkhyK7usA/+Va9vW AV762QZkwsC+uB8v62w6Wwih5rIHVgj8qQwQhioWGyrmuRYK4pQ4zFccTQwQiPbe5FYP OAisa86WJGoGf+GY8kxCpOzd/G0yevlkoZhBscUmBbGqTkB/X6XM7h1E90rfqAaKQ6BP Xi8hNzg7K7TMDrBgmQnoGrQ2GKjiVMeyZVKH1El3l8kaNGXxPyuBfAM6kGaom9I8l26u UYlL0xy/3oJnnwSc4YaytaTbXqa3DbU4njOOkkGqzmDG81xwgLxwSwy8igPX71fvsxpM BVmg== 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=YzP4Ka1IlkcZViFExLwcgZjnbOlhJ812dX9+C9dkL2o=; b=uNoEI1HnUYTOBI0gBeihgGynuTf5putcyrZnbKgLycs4zt7Fsi8r2CP3GTxW3+ECSO N+Qv0GSGiJcpyQEyxHa8kNMwwJKJ8p3zCBDn/XPJxceXA7BOy5g3Dzj/EhvcsoIsQdEp zPFQoP+1umLhMWa5uusikP8zTKBx0pTY/QrB9C24BG2TKpDeM2mSarddqWvLjVeSpjBr flxSIOmXKgEzoQSy419EhACjN60uMnYRtB9w+64Ja2ZP6k2XNgsoDAXfdBXXcAzCfZjJ oaNv7Dd2oTb4E21fB0YQUdDePSxiSpSEYdprnKKDYw/r2HbdMnDDVrVnLXfRitnNQjGM f+9Q== 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 z38si4669264pga.193.2019.01.24.18.29.04; Thu, 24 Jan 2019 18:29:20 -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 S1728672AbfAYC2n (ORCPT + 99 others); Thu, 24 Jan 2019 21:28:43 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:15543 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728372AbfAYC2m (ORCPT ); Thu, 24 Jan 2019 21:28:42 -0500 X-UUID: 7d55a966bba44f91bc7928b74472a746-20190125 X-UUID: 7d55a966bba44f91bc7928b74472a746-20190125 Received: from mtkcas32.mediatek.inc [(172.27.4.250)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 2046741440; Fri, 25 Jan 2019 10:28:37 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 25 Jan 2019 10:28:36 +0800 Received: from [10.16.6.141] (10.16.6.141) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 25 Jan 2019 10:28:35 +0800 Message-ID: <1548383315.19561.4.camel@mszsdaap41> Subject: Re: [PATCH V2,4/8] drm/mediatek: fix the rate and divder of hdmi phy for MT2701 From: mtk14994 To: CK Hu CC: Michael Turquette , Matthias Brugger , Stephen Boyd , Philipp Zabel , David Airlie , chunhui dai , Sean Wang , Ryder Lee , Colin Ian King , , , , , , , , Date: Fri, 25 Jan 2019 10:28:35 +0800 In-Reply-To: <1548310639.4220.3.camel@mtksdaap41> References: <20190118125928.3279-1-wangyan.wang@mediatek.com> <20190118125928.3279-5-wangyan.wang@mediatek.com> <1548310639.4220.3.camel@mtksdaap41> 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 Dear CK, OK,I will modify according your comments in V3. Best Regards Wangyan Wang On Thu, 2019-01-24 at 14:17 +0800, CK Hu wrote: > 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; > > > >