Re: [PATCH v3] clk: berlin: add support for berlin plls

From: Sebastian Hesselbarth
Date: Tue Mar 25 2014 - 17:23:18 EST


On 03/25/2014 08:29 PM, Alexandre Belloni wrote:
> This drivers allows to provide DT clocks for the cpu and system PLLs found on
> Marvell Berlin SoCs.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>

Tested on BG2 and BG2CD, therefore

Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx>

> ---
> Changes in v3:
> - removed empty lines a the end of the files
> - vcodiv are now arrays filled with zeros by default
> - use an u64 temporary variable to calculate the rate
> - warn when refdiv or vcodiv are zero
>
> ---
> drivers/clk/Makefile | 1 +
> drivers/clk/berlin/Makefile | 4 ++
> drivers/clk/berlin/common.h | 35 ++++++++++++
> drivers/clk/berlin/pll-berlin2.c | 40 +++++++++++++
> drivers/clk/berlin/pll-berlin2q.c | 40 +++++++++++++
> drivers/clk/berlin/pll.c | 114 ++++++++++++++++++++++++++++++++++++++
> 6 files changed, 234 insertions(+)
> create mode 100644 drivers/clk/berlin/Makefile
> create mode 100644 drivers/clk/berlin/common.h
> create mode 100644 drivers/clk/berlin/pll-berlin2.c
> create mode 100644 drivers/clk/berlin/pll-berlin2q.c
> create mode 100644 drivers/clk/berlin/pll.c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/