Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp334934ybh; Mon, 9 Mar 2020 23:05:09 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvO7IvKdDkTuAjsxooroCZlz0NApbG2Quv36TzHmPsHMz1SeCPi1xoQhUdUNUgrEwRvn3fH X-Received: by 2002:a9d:23a1:: with SMTP id t30mr320226otb.253.1583820309413; Mon, 09 Mar 2020 23:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583820309; cv=none; d=google.com; s=arc-20160816; b=Wdulqgpqmwsb7uyzGv0OyZJaN9rlm51sdOKKo0vGUbPmB3NipORjjuNEhvpOmPCCWP 1pe/PL6DDvPH7gaWuIL/yIB7x8IeO/2fr3DK/ZuysVwDSmO7m4tBtZyLdWVVkFHV6Zk8 LFq1CZ1M0uIdCvDdJHAJyV2vSXUWPz+MIZ7aO4YiTyh/vCPzsZBLR/v8f1L/bOnfFo/V F5ZIcCPkb4UiqAd041heZZtrF/K5N4JCXglgyLPhWhZjleUEdreGiv2HDlidt0iNnOt5 /uVu1YB6QZrFzDH9usl5ejYrNZFFUJigq+ZwOU4CfcSKBH2YUeHeMafZHBuKdoxJKIkX Ed6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3CrBJbSNwCrnDGUS/JEkkpp3JpGgWPzg6UsBlwHRKfQ=; b=PmmTlYtQXGRxBmgB19vlaIEFhu1yOk3pfuV3v98U8EbxZbfMBjFxBssSFcWXSCs/X0 +U4V+SoHKfRVjoSxpSTvUdS92dAVaxLG+rnNoTVn4Ry6NydxAVj3Lqq+V0Y86iT16TOa Se0xSAAyK39BdddXFd+67U7h7WNnMAzFmxxsjJOkoA1VzPeaavkFRmmlulxsXCaNSdb9 /tgwMrF4lQWn0iTaRdrpeyrzl7osOqbegWL9ThmL91rcyVXCAR6pNW2bDx3yGBD66l+M Ja0fPbJPqIDwtzc1Q8Eh3CDIw6rVjOzBRliGndbPVm/b2wVb9lJnVHg1s8FYn6Mjjq3C SL9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Z599R8u7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s199si532649oih.169.2020.03.09.23.04.56; Mon, 09 Mar 2020 23:05:09 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=Z599R8u7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726220AbgCJGCw (ORCPT + 99 others); Tue, 10 Mar 2020 02:02:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:44024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbgCJGCv (ORCPT ); Tue, 10 Mar 2020 02:02:51 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D1FD2222D9; Tue, 10 Mar 2020 06:02:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583820171; bh=1qU2dN2D9iT9iz9xcw7xh6AsOJbP/pTimqmMLVf+cTk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z599R8u7pluw6gYoy0ucpWJOHxIY6Jer3PbRJiENCYdOsxV+QVEzHRhL6JYBs+iO6 tC0ETZUSjz6bYh67NKY0sHyTDxc0MTbRU5pppotgA7lDssq4uhuBReFsXAeMZON4go 2F/sk9gJ1IPfIRrnbWwt0p0f2+cnVd7QX0hpPSBk= Date: Tue, 10 Mar 2020 14:02:45 +0800 From: Shawn Guo To: peng.fan@nxp.com Cc: s.hauer@pengutronix.de, sboyd@kernel.org, robh+dt@kernel.org, viresh.kumar@linaro.org, rjw@rjwysocki.net, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, Anson.Huang@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, abel.vesa@nxp.com Subject: Re: [PATCH v2 04/14] clk: imx: pfdv2: switch to use determine_rate Message-ID: <20200310060235.GG15729@dragon> References: <1582099197-20327-1-git-send-email-peng.fan@nxp.com> <1582099197-20327-5-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1582099197-20327-5-git-send-email-peng.fan@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 19, 2020 at 03:59:47PM +0800, peng.fan@nxp.com wrote: > From: Peng Fan > > Per clk_ops, compared with round_rate, determine_rate could optionally > support the parent clock that should be used to provide the clock rate. > > In this patch, the parent clock is just parent->rate as round_rate. > > The following patch will calculate the best parent clock. > > Signed-off-by: Peng Fan Applied, thanks.