summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/ccu-sun6i-a31.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-10-12 16:37:03 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-13 09:27:29 +0200
commit042f7f8f9715096abce42b944d4a23b0e3c31521 (patch)
treeebae9c1ce8c3846bf0f6ed23af25725cf95a7a12 /drivers/clk/sunxi-ng/ccu-sun6i-a31.c
parentde344851919493033cdaa5736b2bfbcb05b50038 (diff)
downloadblackbird-op-linux-042f7f8f9715096abce42b944d4a23b0e3c31521.tar.gz
blackbird-op-linux-042f7f8f9715096abce42b944d4a23b0e3c31521.zip
clk: sunxi-ng: sun5i: Use sigma-delta modulation for audio PLL
The audio blocks require specific clock rates. Until now we were using the closest clock rate possible with integer N-M factors. This resulted in audio playback being slightly slower than it should be. The vendor kernel gets around this (for newer SoCs) by using sigma-delta modulation to generate a fractional-N factor. As the PLL hardware is identical in most chips, we can back port the settings from the newer SoC, in this case the H3, onto the sun5i family. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-sun6i-a31.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud