Skip to contentSkip to conversation

CLK: Add Loongson1C clock support

PATCH Superseded Yang Ling 2 participants 3 messages Aug 22, 2016 – Sep 1, 2016

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Yang Ling

author
#0 lore raw

PATCH v2 1/1 CLK: Add Loongson1C clock support

This patch adds clock support to Loongson1C SoC.

---
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
index 5a162a1..b7f6a16 100644
@@ -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
#1 lore raw
Quoted 4 lines · Yang Ling

This patch adds clock support to Loongson1C SoC.

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
author
#2 lore raw
Quoted 11 lines · Stephen Boyd
Quoted 4 lines · Yang Ling

This patch adds clock support to Loongson1C SoC.

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.