Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753770AbdLUUHq (ORCPT ); Thu, 21 Dec 2017 15:07:46 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58768 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751866AbdLUUHo (ORCPT ); Thu, 21 Dec 2017 15:07:44 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EEA2F606DD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 21 Dec 2017 12:07:43 -0800 From: Stephen Boyd To: Alexander Kochetkov Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Michael Turquette , Heiko Stuebner , Elaine Zhang Subject: Re: [PATCH 1/2] clk: rename clk_core_get_boundaries() to clk_hw_get_boundaries() and expose Message-ID: <20171221200743.GM7997@codeaurora.org> References: <1513872282-5370-1-git-send-email-al.kochet@gmail.com> <1513872282-5370-2-git-send-email-al.kochet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513872282-5370-2-git-send-email-al.kochet@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 19 On 12/21, Alexander Kochetkov wrote: > In order to provide a way to know clock limits to clock providers. > > The patch is needed for fixing commit 5d890c2df900 ("clk: rockchip: > add special approximation to fix up fractional clk's jitter"). > Custom approximation function introduced by the patch, can > select frequency rate larger than one configured using > clk_set_max_rate(). > > Signed-off-by: Alexander Kochetkov > --- Can you convert to the determine_rate op instead of round_rate? That function should tell you the min/max limits so that you don't need to query that information from the core. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project