mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
clk: lpc32xx: add common clock framework driver
Add support for all configurable clocks found on NXP LPC32xx SoC. The list contains several heterogenous groups of clocks: * system clocks including multiple dividers and muxes, * x397 PLL, HCLK PLL and USB PLL, * peripheral clocks inherited from rtc, hclk and pclk, * USB controller clocks: AHB slave, I2C, OTG, OHCI and device. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
This commit is contained in:
parent
8a896310a7
commit
f7c82a60ba
3 changed files with 1576 additions and 0 deletions
|
@ -161,6 +161,12 @@ config COMMON_CLK_KEYSTONE
|
|||
Supports clock drivers for Keystone based SOCs. These SOCs have local
|
||||
a power sleep control module that gate the clock to the IPs and PLLs.
|
||||
|
||||
config COMMON_CLK_NXP
|
||||
def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
|
||||
select REGMAP_MMIO if ARCH_LPC32XX
|
||||
---help---
|
||||
Support for clock providers on NXP platforms.
|
||||
|
||||
config COMMON_CLK_PALMAS
|
||||
tristate "Clock driver for TI Palmas devices"
|
||||
depends on MFD_PALMAS
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-cgu.o
|
||||
obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-ccu.o
|
||||
obj-$(CONFIG_ARCH_LPC32XX) += clk-lpc32xx.o
|
||||
|
|
1569
drivers/clk/nxp/clk-lpc32xx.c
Normal file
1569
drivers/clk/nxp/clk-lpc32xx.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue