diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2019-09-14 16:51:00 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2019-09-30 23:12:27 +0300 |
commit | 3ee5f8ab5e718afdde9984a089137360bdfc66eb (patch) | |
tree | 3331528f7de6d5bbe7fa3fd6e33fb4900cc0e35d /drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-3ee5f8ab5e718afdde9984a089137360bdfc66eb.tar.xz |
clk: sunxi-ng: h6: Use sigma-delta modulation for audio PLL
Audio devices needs exact clock rates in order to correctly reproduce
the sound. Until now, only integer factors were used to configure H6
audio PLL which resulted in inexact rates. Fix that by adding support
for fractional factors using sigma-delta modulation look-up table. It
contains values for two most commonly used audio base frequencies.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c')
0 files changed, 0 insertions, 0 deletions