
On Thu, Feb 21, 2019 at 8:25 AM Simon Glass sjg@chromium.org wrote:
Hi,
On Tue, 19 Feb 2019 at 22:47, Anup Patel Anup.Patel@wdc.com wrote:
This patch adds fixed-factor clock driver which derives clock rate by dividing (div) and multiplying (mult) fixed factors to a parent clock.
Signed-off-by: Atish Patra atish.patra@wdc.com Signed-off-by: Anup Patel anup.patel@wdc.com
arch/sandbox/dts/test.dts | 8 ++++ drivers/clk/Makefile | 4 +- drivers/clk/clk_fixed_factor.c | 72 ++++++++++++++++++++++++++++++++++ test/dm/clk.c | 5 ++- 4 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 drivers/clk/clk_fixed_factor.c
Reviewed-by: Simon Glass sjg@chromium.org
But please add the binding file for this/
Sure, I will add binding file from Linux sources.
Thanks, Anup