Skip to content

Commit cd44f12

Browse files
dongxuyangeswincomputingbebarino
authored andcommitted
clk: eswin: Add eic7700 clock driver
Add clock drivers for the EIC7700 SoC. The clock controller on the ESWIN EIC7700 provides various clocks to different IP blocks within the SoC. Signed-off-by: Yifeng Huang <huangyifeng@eswincomputing.com> Tested-by: Marcel Ziswiler <marcel@ziswiler.com> # ebc77 Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Xuyang Dong <dongxuyang@eswincomputing.com> Tested-by: Bo Gan <ganboing@gmail.com> # hfp550 Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 8add6d8 commit cd44f12

7 files changed

Lines changed: 2327 additions & 0 deletions

File tree

drivers/clk/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ source "drivers/clk/analogbits/Kconfig"
504504
source "drivers/clk/aspeed/Kconfig"
505505
source "drivers/clk/baikal-t1/Kconfig"
506506
source "drivers/clk/bcm/Kconfig"
507+
source "drivers/clk/eswin/Kconfig"
507508
source "drivers/clk/hisilicon/Kconfig"
508509
source "drivers/clk/imgtec/Kconfig"
509510
source "drivers/clk/imx/Kconfig"

drivers/clk/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ obj-$(CONFIG_CLK_BAIKAL_T1) += baikal-t1/
120120
obj-y += bcm/
121121
obj-$(CONFIG_ARCH_BERLIN) += berlin/
122122
obj-$(CONFIG_ARCH_DAVINCI) += davinci/
123+
obj-$(CONFIG_COMMON_CLK_ESWIN) += eswin/
123124
obj-$(CONFIG_ARCH_HISI) += hisilicon/
124125
obj-y += imgtec/
125126
obj-y += imx/

drivers/clk/eswin/Kconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
3+
config COMMON_CLK_ESWIN
4+
bool
5+
6+
config COMMON_CLK_EIC7700
7+
tristate "EIC7700 Clock Driver"
8+
depends on ARCH_ESWIN || COMPILE_TEST
9+
select COMMON_CLK_ESWIN
10+
default ARCH_ESWIN
11+
help
12+
This driver provides support for clock controller on ESWIN EIC7700
13+
SoC. The clock controller generates and supplies clocks to various
14+
peripherals within the SoC.
15+
Say yes here to support the clock controller on the EIC7700 SoC.

drivers/clk/eswin/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
#
3+
# Eswin Clock specific Makefile
4+
#
5+
6+
obj-$(CONFIG_COMMON_CLK_ESWIN) += clk.o
7+
8+
obj-$(CONFIG_COMMON_CLK_EIC7700) += clk-eic7700.o

0 commit comments

Comments
 (0)