Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7c82a60 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Michael Turquette
Browse files

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: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
parent 8a896310
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
obj-$(CONFIG_ARCH_LPC18XX)	+= clk-lpc18xx-cgu.o
obj-$(CONFIG_ARCH_LPC18XX)	+= clk-lpc18xx-ccu.o
obj-$(CONFIG_ARCH_LPC32XX)	+= clk-lpc32xx.o
+1569 −0

File added.

Preview size limit exceeded, changes collapsed.