clk: sunxi-ng: sun8i: a83t: Add /2 fixed post divider to audio PLL
authorChen-Yu Tsai <wens@csie.org>
Fri, 8 Dec 2017 08:35:11 +0000 (16:35 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 8 Dec 2017 09:08:18 +0000 (10:08 +0100)
commit10e6eb4f2c5b35ae71c9bc0db83d74238719b453
treee341ad34f2b930075191887cd1bf8277ba817296
parent7d333ef1cc1b8c8951f3a2c41f6406e2295d8be9
clk: sunxi-ng: sun8i: a83t: Add /2 fixed post divider to audio PLL

On the A83T, the audio PLL should have its div1 set to 0, or /1, and
div2 set to 1, or /2. This setting is the default, and is required
to match the sigma-delta modulation parameters from the BSP kernel.

This patch adds a /2 fixed post divider to the audio PLL, and fixes
the enforced d1 & d2 values. This also resolves the mismatch between
the values mentioned in the comment for the audio PLL, and the actual
enforced values.

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