From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 In-Reply-To: <1513872282-5370-2-git-send-email-al.kochet@gmail.com> List-ID: 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