CLK: Add Loongson1C clock support
Subsystems (2)
PATCH v2 1/1 CLK: Add Loongson1C clock support
This patch adds clock support to Loongson1C SoC.
Signed-off-by Yang Ling <[email protected]>
---
V2:
Use loongson1 generic clock interface.
--- drivers/clk/loongson1/Makefile | 1 + drivers/clk/loongson1/clk-loongson1c.c | 102 +++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 drivers/clk/loongson1/clk-loongson1c.c
drivers/clk/loongson1/Makefile +1 -0
@@ -1,2 +1,3 @@ obj-y += clk.o obj-$(CONFIG_LOONGSON1_LS1B) += clk-loongson1b.o +obj-$(CONFIG_LOONGSON1_LS1C) += clk-loongson1c.o
drivers/clk/loongson1/clk-loongson1c.c new file +102 -0
102 lines not on this page · raw message
Signature · 1 line
1.9.1
Quoted 4 lines · Yang Ling
This patch adds clock support to Loongson1C SoC.
Signed-off-by Yang Ling <[email protected]>
It would be better to use the new clk_hw_*() and clkdev_hw_*() registration APIs. Care to make that change? Obviously clk_register_pll() isn't going to work there, but we can fix that later.
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 11 lines · Stephen Boyd
Quoted 4 lines · Yang Ling
This patch adds clock support to Loongson1C SoC.
Signed-off-by Yang Ling <[email protected]>It would be better to use the new clk_hw_*() and clkdev_hw_*() registration APIs. Care to make that change? Obviously
clk_register_pll()isn't going to work there, but we can fix that later.
Well, I will use the new APIs to debug the code.
Thanks for your friendly reminder.