blob: e42312121e511477e026706727c5eba638def706 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Walleij50667d62012-06-19 23:44:25 +02002# common clock types
Arnd Bergmann2f4574d2021-05-31 11:48:49 +02003obj-$(CONFIG_HAVE_CLK) += clk-devres.o clk-bulk.o clkdev.o
Mike Turquette135a8292013-01-18 13:00:05 -08004obj-$(CONFIG_COMMON_CLK) += clk.o
5obj-$(CONFIG_COMMON_CLK) += clk-divider.o
6obj-$(CONFIG_COMMON_CLK) += clk-fixed-factor.o
7obj-$(CONFIG_COMMON_CLK) += clk-fixed-rate.o
8obj-$(CONFIG_COMMON_CLK) += clk-gate.o
Maxime Ripardf2e0a532015-05-19 22:19:33 +02009obj-$(CONFIG_COMMON_CLK) += clk-multiplier.o
Mike Turquette135a8292013-01-18 13:00:05 -080010obj-$(CONFIG_COMMON_CLK) += clk-mux.o
Prashant Gaikwadece70092013-03-20 17:30:34 +053011obj-$(CONFIG_COMMON_CLK) += clk-composite.o
Heikki Krogeruse2d0e902014-05-15 16:40:25 +030012obj-$(CONFIG_COMMON_CLK) += clk-fractional-divider.o
Sergej Sawazkibb68a4f2015-06-28 16:24:56 +020013obj-$(CONFIG_COMMON_CLK) += clk-gpio.o
Sylwester Nawrocki86be4082014-06-18 17:29:32 +020014ifeq ($(CONFIG_OF), y)
15obj-$(CONFIG_COMMON_CLK) += clk-conf.o
16endif
Mike Turquette135a8292013-01-18 13:00:05 -080017
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080018# hardware specific clock types
Michael Turquetteb328d2c2016-06-15 17:09:25 -070019# please keep this section sorted lexicographically by file path name
Oleksij Rempelec6415d2015-01-20 10:23:02 +010020obj-$(CONFIG_MACH_ASM9260) += clk-asm9260.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080021obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN) += clk-axi-clkgen.o
Anders Bergc675a002014-05-15 15:42:25 +020022obj-$(CONFIG_ARCH_AXXIA) += clk-axm5516.o
Matti Vaittinen2e622462018-12-07 12:01:44 +020023obj-$(CONFIG_COMMON_CLK_BD718XX) += clk-bd718x7.o
Manivannan Sadhasivam1ab46012019-11-15 21:59:00 +053024obj-$(CONFIG_COMMON_CLK_BM1880) += clk-bm1880.o
Max Filippov0c7665c2015-01-12 10:20:46 +030025obj-$(CONFIG_COMMON_CLK_CDCE706) += clk-cdce706.o
Michael Turquetteb328d2c2016-06-15 17:09:25 -070026obj-$(CONFIG_COMMON_CLK_CDCE925) += clk-cdce925.o
Alexander Shiyan631c5342014-07-13 08:37:52 +040027obj-$(CONFIG_ARCH_CLPS711X) += clk-clps711x.o
Michael Turquetteb328d2c2016-06-15 17:09:25 -070028obj-$(CONFIG_COMMON_CLK_CS2000_CP) += clk-cs2000-cp.o
Lars Povlsen53727eb2020-07-27 10:42:09 +020029obj-$(CONFIG_ARCH_SPARX5) += clk-sparx5.o
Jan Kotas50cc4ca2018-12-13 12:49:29 +000030obj-$(CONFIG_COMMON_CLK_FIXED_MMIO) += clk-fixed-mmio.o
Michael Wallefcf77be2020-11-08 19:51:11 +010031obj-$(CONFIG_COMMON_CLK_FSL_FLEXSPI) += clk-fsl-flexspi.o
Michael Walle9cd10202020-01-03 00:11:01 +010032obj-$(CONFIG_COMMON_CLK_FSL_SAI) += clk-fsl-sai.o
Linus Walleij846423f2017-06-21 09:59:52 +020033obj-$(CONFIG_COMMON_CLK_GEMINI) += clk-gemini.o
Joel Stanley5eda5d72017-12-22 13:15:18 +103034obj-$(CONFIG_COMMON_CLK_ASPEED) += clk-aspeed.o
Joel Stanleyd3d04f62019-08-25 23:48:48 +093035obj-$(CONFIG_MACH_ASPEED_G6) += clk-ast2600.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080036obj-$(CONFIG_ARCH_HIGHBANK) += clk-highbank.o
Eugeniy Paltsevdaeeb432017-08-25 20:39:14 +030037obj-$(CONFIG_CLK_HSDK) += clk-hsdk-pll.o
Damien Le Moalc6ca7612021-02-10 14:02:14 +090038obj-$(CONFIG_COMMON_CLK_K210) += clk-k210.o
Liam Beguin3bc61cf2021-04-22 20:40:55 -040039obj-$(CONFIG_LMK04832) += clk-lmk04832.o
Charles Keepax76c54782019-03-19 13:37:00 +000040obj-$(CONFIG_COMMON_CLK_LOCHNAGAR) += clk-lochnagar.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080041obj-$(CONFIG_COMMON_CLK_MAX77686) += clk-max77686.o
Daniel Mack33f51042018-07-06 20:53:03 +020042obj-$(CONFIG_COMMON_CLK_MAX9485) += clk-max9485.o
Sugaya Taichi6a6ba5b2019-04-25 19:41:01 +090043obj-$(CONFIG_ARCH_MILBEAUT_M10V) += clk-milbeaut.o
Jonas Jensenc7bb4fc2014-01-28 12:09:11 +010044obj-$(CONFIG_ARCH_MOXART) += clk-moxart.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080045obj-$(CONFIG_ARCH_NOMADIK) += clk-nomadik.o
Tali Perryfcfd1432018-03-26 13:16:26 +030046obj-$(CONFIG_ARCH_NPCM7XX) += clk-npcm7xx.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080047obj-$(CONFIG_ARCH_NSPIRE) += clk-nspire.o
Neil Armstrong0bbd72b2016-04-18 12:01:35 +020048obj-$(CONFIG_COMMON_CLK_OXNAS) += clk-oxnas.o
Peter Ujfalusi942d1d62014-06-27 09:01:11 +030049obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
Wen Hed37010a2019-12-13 16:34:02 +080050obj-$(CONFIG_CLK_LS1028A_PLLDIG) += clk-plldig.o
Michael Turquetteb328d2c2016-06-15 17:09:25 -070051obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
Tang Yuantian93a17c02015-01-15 14:03:41 +080052obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
Chris Zhong038b8922014-10-13 15:52:44 -070053obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o
Daniel Lezcanob68adc22017-04-17 19:19:25 +020054obj-$(CONFIG_COMMON_CLK_HI655X) += clk-hi655x.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080055obj-$(CONFIG_COMMON_CLK_S2MPS11) += clk-s2mps11.o
Sudeep Holla6d6a1d82017-06-13 17:19:36 +010056obj-$(CONFIG_COMMON_CLK_SCMI) += clk-scmi.o
Sudeep Hollacd52c2a2015-03-30 10:59:52 +010057obj-$(CONFIG_COMMON_CLK_SCPI) += clk-scpi.o
Mike Looijmans3044a862019-05-17 15:23:52 +020058obj-$(CONFIG_COMMON_CLK_SI5341) += clk-si5341.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080059obj-$(CONFIG_COMMON_CLK_SI5351) += clk-si5351.o
Mike Looijmans8ce20e62015-10-02 09:15:29 +020060obj-$(CONFIG_COMMON_CLK_SI514) += clk-si514.o
Mike Looijmans953cc3e2018-03-20 09:15:41 +010061obj-$(CONFIG_COMMON_CLK_SI544) += clk-si544.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080062obj-$(CONFIG_COMMON_CLK_SI570) += clk-si570.o
Benjamin Gaignardda32d352018-03-12 10:32:48 +010063obj-$(CONFIG_COMMON_CLK_STM32F) += clk-stm32f4.o
64obj-$(CONFIG_COMMON_CLK_STM32H7) += clk-stm32h7.o
Gabriel Fernandez9bee94e2018-03-08 17:53:55 +010065obj-$(CONFIG_COMMON_CLK_STM32MP157) += clk-stm32mp1.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080066obj-$(CONFIG_CLK_TWL6040) += clk-twl6040.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080067obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o
Marek Vasut3e1aec4e2017-01-12 02:03:24 +010068obj-$(CONFIG_COMMON_CLK_VC5) += clk-versaclock5.o
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080069obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
70obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
Michael Turquetteb328d2c2016-06-15 17:09:25 -070071
72# please keep this section sorted lexicographically by directory path name
Manivannan Sadhasivam3495e292018-03-26 23:08:57 +053073obj-y += actions/
Paul Walmsley7b9487a2019-04-30 13:50:58 -070074obj-y += analogbits/
Linus Torvaldsd30492a2014-01-28 18:44:53 -080075obj-$(CONFIG_COMMON_CLK_AT91) += at91/
Lars Persson33b8ac92016-04-04 11:23:23 +020076obj-$(CONFIG_ARCH_ARTPEC) += axis/
Michael Turquetteb328d2c2016-06-15 17:09:25 -070077obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x/
Serge Seminb7d950b2020-05-27 01:20:55 +030078obj-$(CONFIG_CLK_BAIKAL_T1) += baikal-t1/
Jon Masonf7225a82015-10-15 15:48:31 -040079obj-y += bcm/
Sebastian Hesselbarthbeca8cc2014-05-19 18:43:24 +020080obj-$(CONFIG_ARCH_BERLIN) += berlin/
David Lechner2d172692018-03-15 21:52:18 -050081obj-$(CONFIG_ARCH_DAVINCI) += davinci/
Michael Turquetteb328d2c2016-06-15 17:09:25 -070082obj-$(CONFIG_H8300) += h8300/
Bintian Wang72ea4862015-05-29 10:08:38 +080083obj-$(CONFIG_ARCH_HISI) += hisilicon/
Paul Burton6b0fd6c2017-06-17 13:52:47 -070084obj-y += imgtec/
Aisheng Dong3a48d912018-12-13 15:42:50 +000085obj-y += imx/
Paul Cercueil0880fb82018-08-23 15:17:41 +020086obj-y += ingenic/
Nishanth Menon2f149e62018-08-27 19:50:56 -050087obj-$(CONFIG_ARCH_K3) += keystone/
Tero Kristob745c072017-06-13 10:09:27 +030088obj-$(CONFIG_ARCH_KEYSTONE) += keystone/
Kelvin Cheunga8e3ced2016-09-19 12:38:54 +080089obj-$(CONFIG_MACH_LOONGSON32) += loongson1/
Sean Wang74cb0d62017-12-20 14:42:59 +080090obj-y += mediatek/
Jerome Brunet6e47b532019-02-01 13:58:39 +010091obj-$(CONFIG_ARCH_MESON) += meson/
Purna Chandra Mandalce6e1182016-05-13 13:22:40 +053092obj-$(CONFIG_MACH_PIC32) += microchip/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080093ifeq ($(CONFIG_COMMON_CLK), y)
94obj-$(CONFIG_ARCH_MMP) += mmp/
95endif
Daniel Palmer93c89f02021-02-15 20:57:09 +090096obj-y += mstar/
Thomas Petazzonia4540182016-03-27 11:26:13 +020097obj-y += mvebu/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -080098obj-$(CONFIG_ARCH_MXS) += mxs/
Vladimir Zapolskiy8a896312015-12-06 12:45:56 +020099obj-$(CONFIG_COMMON_CLK_NXP) += nxp/
Jiaxun Yang90429202021-07-23 10:25:37 +0800100obj-$(CONFIG_COMMON_CLK_PISTACHIO) += pistachio/
Robert Jarzmik98d147f2014-10-01 23:39:29 +0200101obj-$(CONFIG_COMMON_CLK_PXA) += pxa/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800102obj-$(CONFIG_COMMON_CLK_QCOM) += qcom/
Sergio Paracuellos48df7a22021-04-10 07:50:56 +0200103obj-y += ralink/
Geert Uytterhoeven80978a42017-04-24 16:54:14 +0200104obj-y += renesas/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800105obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
Pankaj Dubey3bc0c5a2014-05-08 13:07:11 +0900106obj-$(CONFIG_COMMON_CLK_SAMSUNG) += samsung/
Paul Walmsley30b8e272019-04-30 13:51:00 -0700107obj-$(CONFIG_CLK_SIFIVE) += sifive/
Krzysztof Kozlowskicdb1e8b2021-03-11 16:27:07 +0100108obj-y += socfpga/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800109obj-$(CONFIG_PLAT_SPEAR) += spear/
Arnd Bergmannb5f73d42020-04-07 16:21:46 +0200110obj-y += sprd/
Gabriel FERNANDEZ94885fa2014-02-27 16:24:14 +0100111obj-$(CONFIG_ARCH_STI) += st/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800112obj-$(CONFIG_ARCH_SUNXI) += sunxi/
Masahiro Yamada12f8c552018-04-18 20:52:31 +0900113obj-$(CONFIG_SUNXI_CCU) += sunxi-ng/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800114obj-$(CONFIG_ARCH_TEGRA) += tegra/
Tony Lindgrenc2ee9bd2016-02-26 09:45:03 -0800115obj-y += ti/
Masahiro Yamada734d82f2016-09-16 16:40:03 +0900116obj-$(CONFIG_CLK_UNIPHIER) += uniphier/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800117obj-$(CONFIG_ARCH_U8500) += ux500/
Rob Herring81134fb2020-04-29 15:58:13 -0500118obj-y += versatile/
Pierre-Louis Bossartf35b6542017-01-23 12:07:41 -0600119ifeq ($(CONFIG_COMMON_CLK), y)
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800120obj-$(CONFIG_X86) += x86/
Pierre-Louis Bossartf35b6542017-01-23 12:07:41 -0600121endif
Michael Trettera2fe7ba2021-01-21 08:16:59 +0100122obj-y += xilinx/
Mike Turquettefd3fdaf2014-01-27 13:04:49 -0800123obj-$(CONFIG_ARCH_ZYNQ) += zynq/
Jolly Shah3fde0e12018-10-08 11:21:46 -0700124obj-$(CONFIG_COMMON_CLK_ZYNQMP) += zynqmp/