Skip to content

Commit 6c81966

Browse files
gengdongjiu1bebarino
authored andcommitted
clk: hisilicon: Add clock driver for hi3559A SoC
Add clock drivers for hi3559A SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. Signed-off-by: Dongjiu Geng <[email protected]> Link: https://lore.kernel.org/r/[email protected] [[email protected]: Mark arrays static, add __iomem, drop unused array, avoid kfree of devm memory] Signed-off-by: Stephen Boyd <[email protected]>
1 parent b87111d commit 6c81966

File tree

5 files changed

+856
-2
lines changed

5 files changed

+856
-2
lines changed

drivers/clk/hisilicon/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ config COMMON_CLK_HI3519
1515
help
1616
Build the clock driver for hi3519.
1717

18+
config COMMON_CLK_HI3559A
19+
bool "Hi3559A Clock Driver"
20+
depends on ARCH_HISI || COMPILE_TEST
21+
default ARCH_HISI
22+
help
23+
Build the clock driver for hi3559a.
24+
1825
config COMMON_CLK_HI3660
1926
bool "Hi3660 Clock Driver"
2027
depends on ARCH_HISI || COMPILE_TEST

drivers/clk/hisilicon/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ obj-$(CONFIG_ARCH_HIP04) += clk-hip04.o
1010
obj-$(CONFIG_ARCH_HIX5HD2) += clk-hix5hd2.o
1111
obj-$(CONFIG_COMMON_CLK_HI3516CV300) += crg-hi3516cv300.o
1212
obj-$(CONFIG_COMMON_CLK_HI3519) += clk-hi3519.o
13+
obj-$(CONFIG_COMMON_CLK_HI3559A) += clk-hi3559a.o
1314
obj-$(CONFIG_COMMON_CLK_HI3660) += clk-hi3660.o
1415
obj-$(CONFIG_COMMON_CLK_HI3670) += clk-hi3670.o
1516
obj-$(CONFIG_COMMON_CLK_HI3798CV200) += crg-hi3798cv200.o

0 commit comments

Comments
 (0)