[U-Boot] [PATCH v2] clk: add fixed rate clock driver

Simon Glass sjg at chromium.org
Wed Jan 20 05:35:29 CET 2016


On 18 January 2016 at 21:55, Masahiro Yamada
<yamada.masahiro at 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 at 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 at chromium.org>


More information about the U-Boot mailing list