
20 Jan
2016
20 Jan
'16
5:35 a.m.
On 18 January 2016 at 21:55, Masahiro Yamada yamada.masahiro@socionext.com wrote:
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
Changes in v2:
- Change file name from clk-fixed-rate.c to clk_fixed-rate.c
- Use .ofdata_to_platdata method instead of .probe
- Change driver name "Fixed Rate Clock" to "fixed_rate_clock"
drivers/clk/Makefile | 2 +- drivers/clk/clk_fixed_rate.c | 57 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 drivers/clk/clk_fixed_rate.c
Acked-by: Simon Glass sjg@chromium.org