mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
clk: rp1: Add support for clocks provided by RP1
RaspberryPi RP1 is an MFD providing, among other peripherals, several clock generators and PLLs that drives the sub-peripherals. Add the driver to support the clock providers. Signed-off-by: Andrea della Porta <andrea.porta@suse.com> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Link: https://lore.kernel.org/r/20250529135052.28398-4-andrea.porta@suse.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
This commit is contained in:
parent
acc379c63a
commit
6486341721
|
|
@ -88,6 +88,15 @@ config COMMON_CLK_RK808
|
|||
These multi-function devices have two fixed-rate oscillators, clocked at 32KHz each.
|
||||
Clkout1 is always on, Clkout2 can off by control register.
|
||||
|
||||
config COMMON_CLK_RP1
|
||||
tristate "Raspberry Pi RP1-based clock support"
|
||||
depends on MISC_RP1 || COMPILE_TEST
|
||||
default MISC_RP1
|
||||
help
|
||||
Enable common clock framework support for Raspberry Pi RP1.
|
||||
This multi-function device has 3 main PLLs and several clock
|
||||
generators to drive the internal sub-peripherals.
|
||||
|
||||
config COMMON_CLK_HI655X
|
||||
tristate "Clock driver for Hi655x" if EXPERT
|
||||
depends on (MFD_HI655X_PMIC || COMPILE_TEST)
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ obj-$(CONFIG_CLK_LS1028A_PLLDIG) += clk-plldig.o
|
|||
obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
|
||||
obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
|
||||
obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o
|
||||
obj-$(CONFIG_COMMON_CLK_RP1) += clk-rp1.o
|
||||
obj-$(CONFIG_COMMON_CLK_HI655X) += clk-hi655x.o
|
||||
obj-$(CONFIG_COMMON_CLK_S2MPS11) += clk-s2mps11.o
|
||||
obj-$(CONFIG_COMMON_CLK_SCMI) += clk-scmi.o
|
||||
|
|
|
|||
1494
drivers/clk/clk-rp1.c
Normal file
1494
drivers/clk/clk-rp1.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user