]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor
authorChen-Yu Tsai <wens@csie.org>
Wed, 5 Apr 2017 06:37:44 +0000 (14:37 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 5 Apr 2017 07:03:02 +0000 (09:03 +0200)
commitcab62d7775f7ab24942321a5f4a7893a7536f141
treee40491d74b439d3ce96be482a5422ea57a8871aa
parentf9f1d84e784472e4e1250876ca0ba034c70c1880
clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor

The DDR1 PLL on the A33 is an oddball amongst the A33 CCU clocks.
It is a clock multiplier, with the effective multiplier in the
range of 12 ~ 255 and no offset between the multiplier value and
the value programmed into the register.

Implement the zero offset and minimum value of 12 for this clock.

Fixes: 90390a2b6ec3 ("clk: sunxi-ng: Add A33 CCU support")
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-a33.c