linux/drivers/clk/at91
Boris BREZILLON 3ef9dd2bab clk: at91: rework PLL rate calculation
The AT91 PLL rate configuration is done by configuring a multiplier/divider
pair.
The previous calculation was over-complicated (and apparently buggy).
Simplify the implementation and add some comments to explain what is done
here.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Reported-by: Gaël PORTAY <gael.portay@gmail.com>
Tested-by: Gaël PORTAY <gael.portay@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2014-09-02 15:37:11 -07:00
..
clk-main.c clk: at91: main: warn when the main crystal frequency is not set 2014-07-02 09:00:52 -07:00
clk-master.c clk:at91: Fix memory leak in of_at91_clk_master_setup() 2014-02-26 18:00:56 -08:00
clk-peripheral.c clk: at91: add PMC peripheral clocks 2013-12-02 15:31:24 +01:00
clk-pll.c clk: at91: rework PLL rate calculation 2014-09-02 15:37:11 -07:00
clk-plldiv.c clk: at91: add PMC pll clocks 2013-12-02 15:31:22 +01:00
clk-programmable.c clk: at91: optimization of the set_rate callback 2014-03-19 15:22:02 -07:00
clk-slow.c clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
clk-smd.c clk: at91: add PMC smd clock 2013-12-02 15:31:25 +01:00
clk-system.c clk: at91: fix programmable clk irq handling 2014-03-19 15:21:56 -07:00
clk-usb.c clk: at91: add PMC usb clock 2013-12-02 15:31:25 +01:00
clk-utmi.c clk: at91: add PMC utmi clock 2013-12-02 15:31:25 +01:00
Makefile clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
pmc.c clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
pmc.h clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
sckc.c clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
sckc.h clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00