linux/drivers/clk/bcm
Phil Elwell 3542976d85 clk: bcm2835: Minimise clock jitter for PCM clock
Fractional clock dividers generate accurate average frequencies but
with jitter, particularly when the integer divisor is small.

Introduce a new metric of clock accuracy to penalise clocks with a good
average but worse jitter compared to clocks with an average which is no
better but with lower jitter. The metric is the ideal rate minus the
worse deviation from that ideal using the nearest integer divisors.

Use this metric for parent selection for clocks requiring low jitter
(currently just PCM).

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-06-02 15:42:21 -07:00
..
clk-bcm63xx.c clk: bcm: Add BCM63138 clock support 2015-11-20 15:46:27 -08:00
clk-bcm281xx.c clk: bcm281xx: move compatible string definitions 2014-04-30 11:51:39 -07:00
clk-bcm2835-aux.c clk: bcm2835: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:35:48 -07:00
clk-bcm2835.c clk: bcm2835: Minimise clock jitter for PCM clock 2017-06-02 15:42:21 -07:00
clk-bcm21664.c clk: bcm21664: use common clock framework 2014-04-30 11:51:44 -07:00
clk-bcm53573-ilp.c clk: bcm: Add driver for BCM53573 ILP clock 2016-09-16 16:31:29 -07:00
clk-cygnus.c clk: iproc: Add support for Cygnus audio clocks 2016-01-29 16:31:38 -08:00
clk-iproc-armpll.c clk: bcm: iproc: Migrate to clk_hw based registration and OF APIs 2016-06-30 12:26:45 -07:00
clk-iproc-asiu.c clk: bcm: iproc: Migrate to clk_hw based registration and OF APIs 2016-06-30 12:26:45 -07:00
clk-iproc-pll.c clk: iproc: Remove redundant check 2017-04-12 18:50:54 +02:00
clk-iproc.h clk: iproc: Remove __init from header 2016-01-29 16:31:40 -08:00
clk-kona-setup.c clk-kona-setup: Use kmalloc_array() in parent_process() 2016-09-14 13:47:33 -07:00
clk-kona.c clk: bcm: kona: Migrate to clk_hw based registration and OF APIs 2016-08-24 16:06:18 -07:00
clk-kona.h clk: bcm: kona: Migrate to clk_hw based registration and OF APIs 2016-08-24 16:06:18 -07:00
clk-ns2.c clk: ns2: Correct SDIO bits 2017-04-19 09:50:39 -07:00
clk-nsp.c clk: iproc: Split off dig_filter 2015-10-21 17:02:57 -07:00
Kconfig clk: bcm: Make COMMON_CLK_IPROC into a library 2016-12-08 16:29:35 -08:00
Makefile clk: bcm: Add driver for BCM53573 ILP clock 2016-09-16 16:31:29 -07:00