clk: zynqmp: Add support for CCF driver
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Fri, 3 Feb 2017 18:26:49 +0000 (23:56 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Aug 2017 07:11:52 +0000 (09:11 +0200)
commitad76f8cedf61fa1e307a4b4243e3ff58ade8ec9e
treeb22a5804da9b1b48c3cdcab7f1f6d2e97de8b32e
parent60873f736e46c0b2fe80c8c0d322bcdbdb8acc63
clk: zynqmp: Add support for CCF driver

Add support for CCF, this CCF reads the ref clocks
from dt and checks all the required clock control
registers for its source , divisors and calculates
the clock from them. This supports clock and set
functions.

Panic when read/write fails.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk_zynqmp.c