xref: /openbmc/linux/drivers/clk/mediatek/Makefile (revision 3e26f30f)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2a3ae5499SOwen Chenobj-$(CONFIG_COMMON_CLK_MEDIATEK) += clk-mtk.o clk-pll.o clk-gate.o clk-apmixed.o clk-cpumux.o reset.o clk-mux.o
3d7964de8SJohnson Wangobj-$(CONFIG_COMMON_CLK_MEDIATEK_FHCTL) += clk-fhctl.o clk-pllfh.o
4a3ae5499SOwen Chen
51aca9939SOwen Chenobj-$(CONFIG_COMMON_CLK_MT6765) += clk-mt6765.o
61aca9939SOwen Chenobj-$(CONFIG_COMMON_CLK_MT6765_AUDIOSYS) += clk-mt6765-audio.o
71aca9939SOwen Chenobj-$(CONFIG_COMMON_CLK_MT6765_CAMSYS) += clk-mt6765-cam.o
81aca9939SOwen Chenobj-$(CONFIG_COMMON_CLK_MT6765_IMGSYS) += clk-mt6765-img.o
91aca9939SOwen Chenobj-$(CONFIG_COMMON_CLK_MT6765_MIPI0ASYS) += clk-mt6765-mipi0a.o
101aca9939SOwen Chenobj-$(CONFIG_COMMON_CLK_MT6765_MMSYS) += clk-mt6765-mm.o
111aca9939SOwen Chenobj-$(CONFIG_COMMON_CLK_MT6765_VCODECSYS) += clk-mt6765-vcodec.o
12710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779) += clk-mt6779.o
13710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_MMSYS) += clk-mt6779-mm.o
14710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_IMGSYS) += clk-mt6779-img.o
15710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_IPESYS) += clk-mt6779-ipe.o
16710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_CAMSYS) += clk-mt6779-cam.o
17710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_VDECSYS) += clk-mt6779-vdec.o
18710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_VENCSYS) += clk-mt6779-venc.o
19710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_MFGCFG) += clk-mt6779-mfg.o
20710774e0Smtk01761obj-$(CONFIG_COMMON_CLK_MT6779_AUDSYS) += clk-mt6779-aud.o
210d363282SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT6795) += clk-mt6795-apmixedsys.o clk-mt6795-infracfg.o \
220d363282SAngeloGioacchino Del Regno				   clk-mt6795-pericfg.o clk-mt6795-topckgen.o
230d363282SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT6795_MFGCFG) += clk-mt6795-mfg.o
240d363282SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT6795_MMSYS) += clk-mt6795-mm.o
250d363282SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT6795_VDECSYS) += clk-mt6795-vdecsys.o
260d363282SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT6795_VENCSYS) += clk-mt6795-vencsys.o
2796596aa0SKevin-CW Chenobj-$(CONFIG_COMMON_CLK_MT6797) += clk-mt6797.o
2896596aa0SKevin-CW Chenobj-$(CONFIG_COMMON_CLK_MT6797_IMGSYS) += clk-mt6797-img.o
2996596aa0SKevin-CW Chenobj-$(CONFIG_COMMON_CLK_MT6797_MMSYS) += clk-mt6797-mm.o
3096596aa0SKevin-CW Chenobj-$(CONFIG_COMMON_CLK_MT6797_VDECSYS) += clk-mt6797-vdec.o
3196596aa0SKevin-CW Chenobj-$(CONFIG_COMMON_CLK_MT6797_VENCSYS) += clk-mt6797-venc.o
32e9862118SShunli Wangobj-$(CONFIG_COMMON_CLK_MT2701) += clk-mt2701.o
33b572f639SRyder Leeobj-$(CONFIG_COMMON_CLK_MT2701_AUDSYS) += clk-mt2701-aud.o
34e9862118SShunli Wangobj-$(CONFIG_COMMON_CLK_MT2701_BDPSYS) += clk-mt2701-bdp.o
35e9862118SShunli Wangobj-$(CONFIG_COMMON_CLK_MT2701_ETHSYS) += clk-mt2701-eth.o
36a11ca689SSean Wangobj-$(CONFIG_COMMON_CLK_MT2701_G3DSYS) += clk-mt2701-g3d.o
37e9862118SShunli Wangobj-$(CONFIG_COMMON_CLK_MT2701_HIFSYS) += clk-mt2701-hif.o
38e9862118SShunli Wangobj-$(CONFIG_COMMON_CLK_MT2701_IMGSYS) += clk-mt2701-img.o
39e9862118SShunli Wangobj-$(CONFIG_COMMON_CLK_MT2701_MMSYS) += clk-mt2701-mm.o
40e9862118SShunli Wangobj-$(CONFIG_COMMON_CLK_MT2701_VDECSYS) += clk-mt2701-vdec.o
41ae567c34SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT2712) += clk-mt2712-apmixedsys.o clk-mt2712.o
42e2f744a8Sweiyi.lu@mediatek.comobj-$(CONFIG_COMMON_CLK_MT2712_BDPSYS) += clk-mt2712-bdp.o
43e2f744a8Sweiyi.lu@mediatek.comobj-$(CONFIG_COMMON_CLK_MT2712_IMGSYS) += clk-mt2712-img.o
44e2f744a8Sweiyi.lu@mediatek.comobj-$(CONFIG_COMMON_CLK_MT2712_JPGDECSYS) += clk-mt2712-jpgdec.o
45e2f744a8Sweiyi.lu@mediatek.comobj-$(CONFIG_COMMON_CLK_MT2712_MFGCFG) += clk-mt2712-mfg.o
46e2f744a8Sweiyi.lu@mediatek.comobj-$(CONFIG_COMMON_CLK_MT2712_MMSYS) += clk-mt2712-mm.o
47e2f744a8Sweiyi.lu@mediatek.comobj-$(CONFIG_COMMON_CLK_MT2712_VDECSYS) += clk-mt2712-vdec.o
48e2f744a8Sweiyi.lu@mediatek.comobj-$(CONFIG_COMMON_CLK_MT2712_VENCSYS) += clk-mt2712-venc.o
49838b8633SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT7622) += clk-mt7622-apmixedsys.o clk-mt7622.o \
50838b8633SAngeloGioacchino Del Regno				   clk-mt7622-infracfg.o
512fc0a509SSean Wangobj-$(CONFIG_COMMON_CLK_MT7622_ETHSYS) += clk-mt7622-eth.o
522fc0a509SSean Wangobj-$(CONFIG_COMMON_CLK_MT7622_HIFSYS) += clk-mt7622-hif.o
532fc0a509SSean Wangobj-$(CONFIG_COMMON_CLK_MT7622_AUDSYS) += clk-mt7622-aud.o
543b5e7486SRyder Leeobj-$(CONFIG_COMMON_CLK_MT7629) += clk-mt7629.o
553b5e7486SRyder Leeobj-$(CONFIG_COMMON_CLK_MT7629_ETHSYS) += clk-mt7629-eth.o
563b5e7486SRyder Leeobj-$(CONFIG_COMMON_CLK_MT7629_HIFSYS) += clk-mt7629-hif.o
57813c3b53SDaniel Golleobj-$(CONFIG_COMMON_CLK_MT7981) += clk-mt7981-apmixed.o
58813c3b53SDaniel Golleobj-$(CONFIG_COMMON_CLK_MT7981) += clk-mt7981-topckgen.o
59813c3b53SDaniel Golleobj-$(CONFIG_COMMON_CLK_MT7981) += clk-mt7981-infracfg.o
60813c3b53SDaniel Golleobj-$(CONFIG_COMMON_CLK_MT7981_ETHSYS) += clk-mt7981-eth.o
61ec97d23cSSam Shihobj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986-apmixed.o
62ec97d23cSSam Shihobj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986-topckgen.o
63ec97d23cSSam Shihobj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986-infracfg.o
64ec97d23cSSam Shihobj-$(CONFIG_COMMON_CLK_MT7986_ETHSYS) += clk-mt7986-eth.o
65aafcf16cSAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8135) += clk-mt8135-apmixedsys.o clk-mt8135.o
66b2728433SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8167) += clk-mt8167-apmixedsys.o clk-mt8167.o
67a6822483SFabien Parentobj-$(CONFIG_COMMON_CLK_MT8167_AUDSYS) += clk-mt8167-aud.o
68a6822483SFabien Parentobj-$(CONFIG_COMMON_CLK_MT8167_IMGSYS) += clk-mt8167-img.o
69a6822483SFabien Parentobj-$(CONFIG_COMMON_CLK_MT8167_MFGCFG) += clk-mt8167-mfgcfg.o
70a6822483SFabien Parentobj-$(CONFIG_COMMON_CLK_MT8167_MMSYS) += clk-mt8167-mm.o
71a6822483SFabien Parentobj-$(CONFIG_COMMON_CLK_MT8167_VDECSYS) += clk-mt8167-vdec.o
724c02c9afSAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8173) += clk-mt8173-apmixedsys.o clk-mt8173-infracfg.o \
734c02c9afSAngeloGioacchino Del Regno				   clk-mt8173-pericfg.o clk-mt8173-topckgen.o
744c02c9afSAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8173_IMGSYS) += clk-mt8173-img.o
7513032709SMatthias Bruggerobj-$(CONFIG_COMMON_CLK_MT8173_MMSYS) += clk-mt8173-mm.o
764c02c9afSAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8173_VDECSYS) += clk-mt8173-vdecsys.o
774c02c9afSAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8173_VENCSYS) += clk-mt8173-vencsys.o
78127fadf7SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8183) += clk-mt8183-apmixedsys.o clk-mt8183.o
79acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_AUDIOSYS) += clk-mt8183-audio.o
80acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_CAMSYS) += clk-mt8183-cam.o
81acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_IMGSYS) += clk-mt8183-img.o
82acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_IPU_CORE0) += clk-mt8183-ipu0.o
83acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_IPU_CORE1) += clk-mt8183-ipu1.o
84acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_IPU_ADL) += clk-mt8183-ipu_adl.o
85acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_IPU_CONN) += clk-mt8183-ipu_conn.o
86acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_MFGCFG) += clk-mt8183-mfgcfg.o
87acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_MMSYS) += clk-mt8183-mm.o
88acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_VDECSYS) += clk-mt8183-vdec.o
89acddfc2cSWeiyi Luobj-$(CONFIG_COMMON_CLK_MT8183_VENCSYS) += clk-mt8183-venc.o
905baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186) += clk-mt8186-apmixedsys.o clk-mt8186-topckgen.o \
915baf38e0SAngeloGioacchino Del Regno				   clk-mt8186-infra_ao.o
925baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_CAMSYS) += clk-mt8186-cam.o
935baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_IMGSYS) += clk-mt8186-img.o
945baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_IMP_IIC_WRAP) += clk-mt8186-imp_iic_wrap.o
955baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_IPESYS) += clk-mt8186-ipe.o
965baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_MCUSYS) += clk-mt8186-mcu.o
975baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_MDPSYS) += clk-mt8186-mdp.o
985baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_MFGCFG) += clk-mt8186-mfg.o
995baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_MMSYS) += clk-mt8186-mm.o
1005baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_VDECSYS) += clk-mt8186-vdec.o
1015baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_VENCSYS) += clk-mt8186-venc.o
1025baf38e0SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8186_WPESYS) += clk-mt8186-wpe.o
103643c06dcSGarmin.Changobj-$(CONFIG_COMMON_CLK_MT8188) += clk-mt8188-apmixedsys.o clk-mt8188-topckgen.o \
104fce4c7a2SGarmin.Chang				   clk-mt8188-peri_ao.o clk-mt8188-infra_ao.o
10587d06fa9SGarmin.Changobj-$(CONFIG_COMMON_CLK_MT8188_CAMSYS) += clk-mt8188-cam.o clk-mt8188-ccu.o
106b281039aSGarmin.Changobj-$(CONFIG_COMMON_CLK_MT8188_IMGSYS) += clk-mt8188-img.o
10749c9abe1SGarmin.Changobj-$(CONFIG_COMMON_CLK_MT8188_IPESYS) += clk-mt8188-ipe.o
108*3e26f30fSGarmin.Changobj-$(CONFIG_COMMON_CLK_MT8188_MFGCFG) += clk-mt8188-mfg.o
109124294ffSAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8192) += clk-mt8192-apmixedsys.o clk-mt8192.o
110f61e8348SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_AUDSYS) += clk-mt8192-aud.o
111cebef188SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_CAMSYS) += clk-mt8192-cam.o
112014a4881SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_IMGSYS) += clk-mt8192-img.o
11371193c46SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_IMP_IIC_WRAP) += clk-mt8192-imp_iic_wrap.o
1147f621d25SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_IPESYS) += clk-mt8192-ipe.o
115b565d41fSChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_MDPSYS) += clk-mt8192-mdp.o
11634e1b855SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_MFGCFG) += clk-mt8192-mfg.o
1179d44859bSChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_MMSYS) += clk-mt8192-mm.o
118a1a5b6b0SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_MSDC) += clk-mt8192-msdc.o
119aff125adSChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_SCP_ADSP) += clk-mt8192-scp_adsp.o
12025f3d97eSChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_VDECSYS) += clk-mt8192-vdec.o
121441decf9SChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8192_VENCSYS) += clk-mt8192-venc.o
122a2a2c5fcSChun-Jie Chenobj-$(CONFIG_COMMON_CLK_MT8195) += clk-mt8195-apmixedsys.o clk-mt8195-topckgen.o \
1230f471d31SAngeloGioacchino Del Regno				   clk-mt8195-peri_ao.o clk-mt8195-infra_ao.o
1240f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_APUSYS) += clk-mt8195-apusys_pll.o
1250f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_CAMSYS) += clk-mt8195-cam.o clk-mt8195-ccu.o
1260f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_IMGSYS) += clk-mt8195-img.o
1270f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_IMP_IIC_WRAP) += clk-mt8195-imp_iic_wrap.o
1280f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_IPESYS) += clk-mt8195-ipe.o
1290f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_MFGCFG) += clk-mt8195-mfg.o
1300f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_SCP_ADSP) += clk-mt8195-scp_adsp.o
1310f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_VDECSYS) += clk-mt8195-vdec.o
1320f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_VDOSYS) += clk-mt8195-vdo0.o clk-mt8195-vdo1.o
1330f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_VENCSYS) += clk-mt8195-venc.o
1340f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_VPPSYS) += clk-mt8195-vpp0.o clk-mt8195-vpp1.o
1350f471d31SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8195_WPESYS) += clk-mt8195-wpe.o
136ab44c1a7SAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8365) += clk-mt8365-apmixedsys.o clk-mt8365.o
137d46adccbSFabien Parentobj-$(CONFIG_COMMON_CLK_MT8365_APU) += clk-mt8365-apu.o
138d46adccbSFabien Parentobj-$(CONFIG_COMMON_CLK_MT8365_CAM) += clk-mt8365-cam.o
139d46adccbSFabien Parentobj-$(CONFIG_COMMON_CLK_MT8365_MFG) += clk-mt8365-mfg.o
140d46adccbSFabien Parentobj-$(CONFIG_COMMON_CLK_MT8365_MMSYS) += clk-mt8365-mm.o
141d46adccbSFabien Parentobj-$(CONFIG_COMMON_CLK_MT8365_VDEC) += clk-mt8365-vdec.o
142d46adccbSFabien Parentobj-$(CONFIG_COMMON_CLK_MT8365_VENC) += clk-mt8365-venc.o
143f419069aSAngeloGioacchino Del Regnoobj-$(CONFIG_COMMON_CLK_MT8516) += clk-mt8516-apmixedsys.o clk-mt8516.o
1440fd4939aSFabien Parentobj-$(CONFIG_COMMON_CLK_MT8516_AUDSYS) += clk-mt8516-aud.o
145