Skip to content

Commit 80fd61e

Browse files
inochisabebarino
authored andcommitted
1 parent 50e45d3 commit 80fd61e

File tree

12 files changed

+3302
-0
lines changed

12 files changed

+3302
-0
lines changed

drivers/clk/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ source "drivers/clk/rockchip/Kconfig"
489489
source "drivers/clk/samsung/Kconfig"
490490
source "drivers/clk/sifive/Kconfig"
491491
source "drivers/clk/socfpga/Kconfig"
492+
source "drivers/clk/sophgo/Kconfig"
492493
source "drivers/clk/sprd/Kconfig"
493494
source "drivers/clk/starfive/Kconfig"
494495
source "drivers/clk/sunxi/Kconfig"

drivers/clk/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
118118
obj-$(CONFIG_COMMON_CLK_SAMSUNG) += samsung/
119119
obj-$(CONFIG_CLK_SIFIVE) += sifive/
120120
obj-y += socfpga/
121+
obj-y += sophgo/
121122
obj-$(CONFIG_PLAT_SPEAR) += spear/
122123
obj-y += sprd/
123124
obj-$(CONFIG_ARCH_STI) += st/

drivers/clk/sophgo/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
# common clock support for SOPHGO SoC family.
3+
4+
config CLK_SOPHGO_CV1800
5+
tristate "Support for the Sophgo CV1800 series SoCs clock controller"
6+
depends on ARCH_SOPHGO || COMPILE_TEST
7+
help
8+
This driver supports clock controller of Sophgo CV18XX series SoC.
9+
The driver require a 25MHz Oscillator to function generate clock.
10+
It includes PLLs, common clock function and some vendor clock for
11+
IPs of CV18XX series SoC

drivers/clk/sophgo/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
obj-$(CONFIG_CLK_SOPHGO_CV1800) += clk-sophgo-cv1800.o
3+
4+
clk-sophgo-cv1800-y += clk-cv1800.o
5+
clk-sophgo-cv1800-y += clk-cv18xx-common.o
6+
clk-sophgo-cv1800-y += clk-cv18xx-ip.o
7+
clk-sophgo-cv1800-y += clk-cv18xx-pll.o

0 commit comments

Comments
 (0)