clk: add fixed rate clock driver
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 19 Jan 2016 04:55:28 +0000 (13:55 +0900)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:46:47 +0000 (19:46 -0700)
commitb21e20b255a02393727c93b1927a381ce3008fa4
treed965a28a41a19863a08066dbe4abc9d60787315f
parent6905f4d3c7be46fed4859f51f0a8f9a1107c22e7
clk: add fixed rate clock driver

This commit intends to implement "fixed-clock" as in Linux.
(drivers/clk/clk-fixed-rate.c in Linux)

If you need a very simple clock to just provide fixed clock rate
like a crystal oscillator, you do not have to write a new driver.
This driver can support it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/clk/Makefile
drivers/clk/clk_fixed_rate.c [new file with mode: 0644]