]> git.baikalelectronics.ru Git - kernel.git/commit
clk: samsung: add pll_6552 variant for s3c2416
authorHeiko Stuebner <heiko@sntech.de>
Wed, 19 Feb 2014 00:25:36 +0000 (09:25 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 14 Apr 2014 17:11:07 +0000 (02:11 +0900)
commit37c6bc3499478f386d730673f27cb529f145c1c9
tree471baccb7b5b70c66ac466b4e26ad8adb39c5ec7
parent03a169e57a9a3fd69c1713c317a06f163ad63b5c
clk: samsung: add pll_6552 variant for s3c2416

According to the manual s3c2416 and s3c2450 use a pll 6552 and 6553
and while the pll_6553 matches exactly the one already implemented
the pll_6552 differs to the one from the s3c64xx series.

The change is solely in the bit locations of the mdiv and pdiv values.
All calculations are the same for both implementatons and even the
proposed divider-values for specific frequencies in the manuals are
the same.

Therefore implement a variant that simply uses the changed bit
locations if necessary.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/clk/samsung/clk-pll.c
drivers/clk/samsung/clk-pll.h