Skip to content

Commit

Permalink
clk: Add Sunplus SP7021 clock driver
Browse files Browse the repository at this point in the history
Add clock driver for Sunplus SP7021 SoC.

Signed-off-by: Qin Jian <qinjian@cqplus1.com>
  • Loading branch information
QinJianCQ authored and intel-lab-lkp committed Nov 1, 2021
1 parent 8099e83 commit 9767714
Show file tree
Hide file tree
Showing 4 changed files with 781 additions and 0 deletions.
1 change: 1 addition & 0 deletions MAINTAINERS
Expand Up @@ -2658,6 +2658,7 @@ W: https://sunplus-tibbo.atlassian.net/wiki/spaces/doc/overview
F: Documentation/devicetree/bindings/arm/sunplus,sp7021.yaml
F: Documentation/devicetree/bindings/clock/sunplus,sp7021-clkc.yaml
F: Documentation/devicetree/bindings/reset/sunplus,reset.yaml
F: drivers/clk/clk-sp7021.c
F: drivers/reset/reset-sunplus.c
F: include/dt-bindings/clock/sp-sp7021.h
F: include/dt-bindings/reset/sp-sp7021.h
Expand Down
9 changes: 9 additions & 0 deletions drivers/clk/Kconfig
Expand Up @@ -334,6 +334,15 @@ config COMMON_CLK_VC5
This driver supports the IDT VersaClock 5 and VersaClock 6
programmable clock generators.

config COMMON_CLK_SP7021
bool "Clock driver for Sunplus SP7021 SoC"
help
This driver supports the Sunplus SP7021 SoC clocks.
It implemented SP7021 PLLs/gate.
Not all features of the PLL are currently supported
by the driver.
This driver is selected automatically by platform config.

config COMMON_CLK_STM32MP157
def_bool COMMON_CLK && MACH_STM32MP157
help
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/Makefile
Expand Up @@ -60,6 +60,7 @@ obj-$(CONFIG_COMMON_CLK_SI5351) += clk-si5351.o
obj-$(CONFIG_COMMON_CLK_SI514) += clk-si514.o
obj-$(CONFIG_COMMON_CLK_SI544) += clk-si544.o
obj-$(CONFIG_COMMON_CLK_SI570) += clk-si570.o
obj-$(CONFIG_COMMON_CLK_SP7021) += clk-sp7021.o
obj-$(CONFIG_COMMON_CLK_STM32F) += clk-stm32f4.o
obj-$(CONFIG_COMMON_CLK_STM32H7) += clk-stm32h7.o
obj-$(CONFIG_COMMON_CLK_STM32MP157) += clk-stm32mp1.o
Expand Down

0 comments on commit 9767714

Please sign in to comment.