Skip to content

Commit 725262d

Browse files
lkundrakbebarino
authored andcommitted
clk: mmp2: Add audio clock controller driver
This is a driver for a block that generates master and bit clocks for the I2S interface. It's separate from the PMUs that generate clocks for the peripherals. Signed-off-by: Lubomir Rintel <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent e787c5b commit 725262d

File tree

3 files changed

+450
-0
lines changed

3 files changed

+450
-0
lines changed

drivers/clk/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,12 @@ config COMMON_CLK_MMP2
326326
help
327327
Support for Marvell MMP2 and MMP3 SoC clocks
328328

329+
config COMMON_CLK_MMP2_AUDIO
330+
tristate "Clock driver for MMP2 Audio subsystem"
331+
depends on COMMON_CLK_MMP2 || COMPILE_TEST
332+
help
333+
This driver supports clocks for Audio subsystem on MMP2 SoC.
334+
329335
config COMMON_CLK_BD718XX
330336
tristate "Clock driver for 32K clk gates on ROHM PMICs"
331337
depends on MFD_ROHM_BD718XX || MFD_ROHM_BD70528 || MFD_ROHM_BD71828

drivers/clk/mmp/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ obj-$(CONFIG_RESET_CONTROLLER) += reset.o
99

1010
obj-$(CONFIG_MACH_MMP_DT) += clk-of-pxa168.o clk-of-pxa910.o
1111
obj-$(CONFIG_COMMON_CLK_MMP2) += clk-of-mmp2.o clk-pll.o pwr-island.o
12+
obj-$(CONFIG_COMMON_CLK_MMP2_AUDIO) += clk-audio.o
1213

1314
obj-$(CONFIG_CPU_PXA168) += clk-pxa168.o
1415
obj-$(CONFIG_CPU_PXA910) += clk-pxa910.o

0 commit comments

Comments
 (0)