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>
This commit is contained in:
Ryan Chen 2025-12-24 13:37:24 +08:00 committed by Stephen Boyd
parent 122c157c48
commit fdc1eb624d
No known key found for this signature in database
GPG Key ID: AD028897C6E49525
3 changed files with 1064 additions and 0 deletions

View File

@ -11,3 +11,11 @@ config COMMON_CLK_ASPEED
The G4 and G5 series, including the ast2400 and ast2500, are supported
by this driver.
config COMMON_CLK_AST2700
bool "Clock driver for AST2700 SoC"
depends on ARCH_ASPEED || COMPILE_TEST
help
This driver provides support for clock on AST2700 SoC.
The driver is responsible for managing the various clocks required
by the peripherals and cores within the AST2700.

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_COMMON_CLK_ASPEED) += clk-aspeed.o
obj-$(CONFIG_MACH_ASPEED_G6) += clk-ast2600.o
obj-$(CONFIG_COMMON_CLK_AST2700) += clk-ast2700.o

File diff suppressed because it is too large Load Diff