mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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:
parent
122c157c48
commit
fdc1eb624d
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
1055
drivers/clk/aspeed/clk-ast2700.c
Normal file
1055
drivers/clk/aspeed/clk-ast2700.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user