clk: sunxi-ng: nm: Add support for sigma-delta modulation
authorChen-Yu Tsai <wens@csie.org>
Thu, 12 Oct 2017 08:37:00 +0000 (16:37 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 13 Oct 2017 07:27:13 +0000 (09:27 +0200)
commit392ba5fafcdf1969d1abd9a637cc40c45f4781bc
treef624600dd29c6a4f8f09ea41b5ab18697496b2f9
parent05d2eaac96d4284b0967cc522ad22f6f23fdf82a
clk: sunxi-ng: nm: Add support for sigma-delta modulation

Some of the N-M-style clocks, namely the PLLs, support sigma-delta
modulation to do fractional-N frequency synthesis. This is used in
the audio PLL to generate the exact frequency the audio blocks need.
These frequencies can not be generated with integer N-M factors.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu_nm.c
drivers/clk/sunxi-ng/ccu_nm.h