Skip to content

Commit fdc1eb6

Browse files
aspeedtechbebarino
authored andcommitted
clk: aspeed: add AST2700 clock driver
Add AST2700 clock controller driver and also use axiliary device framework register the reset controller driver. Due to clock and reset using the same register region. Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 122c157 commit fdc1eb6

3 files changed

Lines changed: 1064 additions & 0 deletions

File tree

drivers/clk/aspeed/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,11 @@ config COMMON_CLK_ASPEED
1111

1212
The G4 and G5 series, including the ast2400 and ast2500, are supported
1313
by this driver.
14+
15+
config COMMON_CLK_AST2700
16+
bool "Clock driver for AST2700 SoC"
17+
depends on ARCH_ASPEED || COMPILE_TEST
18+
help
19+
This driver provides support for clock on AST2700 SoC.
20+
The driver is responsible for managing the various clocks required
21+
by the peripherals and cores within the AST2700.

drivers/clk/aspeed/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-$(CONFIG_COMMON_CLK_ASPEED) += clk-aspeed.o
33
obj-$(CONFIG_MACH_ASPEED_G6) += clk-ast2600.o
4+
obj-$(CONFIG_COMMON_CLK_AST2700) += clk-ast2700.o

0 commit comments

Comments
 (0)