Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752745AbdHHP6p (ORCPT ); Tue, 8 Aug 2017 11:58:45 -0400 Received: from gloria.sntech.de ([95.129.55.99]:40060 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752433AbdHHP6m (ORCPT ); Tue, 8 Aug 2017 11:58:42 -0400 From: Heiko Stuebner To: Elaine Zhang Cc: mturquette@baylibre.com, sboyd@codeaurora.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, huangtao@rock-chips.com, cl@rock-chips.com, xxx@rock-chips.com, xf@rock-chips.com Subject: Re: [PATCH 2/2] clk: rockchip: add special approximation to fix up fractional clk's jitter Date: Tue, 08 Aug 2017 17:58:40 +0200 Message-ID: <5870913.YR5OS93x3L@phil> User-Agent: KMail/5.2.3 (Linux/4.9.0-2-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <3942563.TMEkxTS0ar@phil> References: <1500624187-12165-1-git-send-email-zhangqing@rock-chips.com> <5990882.df1suBpf8V@phil> <3942563.TMEkxTS0ar@phil> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 20 Am Dienstag, 1. August 2017, 18:22:24 CEST schrieb Heiko Stuebner: > From: Elaine Zhang > > From Rockchips fractional divider description: > 3.1.9 Fractional divider usage > To get specific frequency, clocks of I2S, SPDIF, UARTcan be generated by > fractional divider. Generally you must set that denominator is 20 times > larger than numerator to generate precise clock frequency. So the > fractional divider applies only to generate low frequency clock like > I2S, UART. > > Therefore add a special approximation function that handles this > special requirement. > > Signed-off-by: Elaine Zhang applied for 4.14 Heiko