xref: /openbmc/linux/drivers/rtc/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2c58411e9SAlessandro Zummo#
3c58411e9SAlessandro Zummo# Makefile for RTC class/drivers.
4c58411e9SAlessandro Zummo#
5c58411e9SAlessandro Zummo
676aea3e9Smatt mooneyccflags-$(CONFIG_RTC_DEBUG)	:= -DDEBUG
79e86ecb6SDavid Brownell
8c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc-lib.o
90c86edc0SAlessandro Zummoobj-$(CONFIG_RTC_HCTOSYS)	+= hctosys.o
10023f333aSJason Gunthorpeobj-$(CONFIG_RTC_SYSTOHC)	+= systohc.o
110c86edc0SAlessandro Zummoobj-$(CONFIG_RTC_CLASS)		+= rtc-core.o
12d6faca40SArnd Bergmannobj-$(CONFIG_RTC_MC146818_LIB)	+= rtc-mc146818-lib.o
130c86edc0SAlessandro Zummortc-core-y			:= class.o interface.o
14c5c3e192SAlessandro Zummo
15da167ad7SMark Salterifdef CONFIG_RTC_DRV_EFI
16da167ad7SMark Salterrtc-core-y			+= rtc-efi-platform.o
17da167ad7SMark Salterendif
18da167ad7SMark Salter
19697e5a47SAlexandre Bellonirtc-core-$(CONFIG_RTC_NVMEM)		+= nvmem.o
205726fb20SDavid Brownellrtc-core-$(CONFIG_RTC_INTF_DEV)		+= rtc-dev.o
217d9f99ecSDavid Brownellrtc-core-$(CONFIG_RTC_INTF_PROC)	+= rtc-proc.o
22446ecbd9SDavid Brownellrtc-core-$(CONFIG_RTC_INTF_SYSFS)	+= rtc-sysfs.o
235726fb20SDavid Brownell
240ca56b4bSAlessandro Zummo# Keep the list ordered.
250ca56b4bSAlessandro Zummo
262985c29cSQiao Zhouobj-$(CONFIG_RTC_DRV_88PM80X)	+= rtc-88pm80x.o
2735cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_88PM860X)	+= rtc-88pm860x.o
28bd207cfbSLinus Walleijobj-$(CONFIG_RTC_DRV_AB3100)	+= rtc-ab3100.o
290af62f4dSVirupax Sadashivpetimathobj-$(CONFIG_RTC_DRV_AB8500)	+= rtc-ab8500.o
300b2f6228SArnaud Ebalardobj-$(CONFIG_RTC_DRV_ABB5ZES3)	+= rtc-ab-b5ze-s3.o
314d61ff6bSPhilippe De Muyterobj-$(CONFIG_RTC_DRV_ABX80X)	+= rtc-abx80x.o
32d00a18a4SChen-Yu Tsaiobj-$(CONFIG_RTC_DRV_AC100)	+= rtc-ac100.o
33a3a42806SGregory CLEMENTobj-$(CONFIG_RTC_DRV_ARMADA38X)	+= rtc-armada38x.o
34b4506261SLaxman Dewanganobj-$(CONFIG_RTC_DRV_AS3722)	+= rtc-as3722.o
35125e550fSOleksij Rempelobj-$(CONFIG_RTC_DRV_ASM9260)	+= rtc-asm9260.o
36fa04e78bSHans-Christian Egtvedtobj-$(CONFIG_RTC_DRV_AT32AP700X)+= rtc-at32ap700x.o
370ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
384cdf854fSDavid Brownellobj-$(CONFIG_RTC_DRV_AT91SAM9)	+= rtc-at91sam9.o
3945fd8a0cSManuel Laussobj-$(CONFIG_RTC_DRV_AU1XXX)	+= rtc-au1xxx.o
400ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_BFIN)	+= rtc-bfin.o
41c4f07eceSBrian Norrisobj-$(CONFIG_RTC_DRV_BRCMSTB)	+= rtc-brcmstb-waketimer.o
421ce7c83fSPiotr Ziecikobj-$(CONFIG_RTC_DRV_BQ32K)	+= rtc-bq32k.o
4388413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_BQ4802)	+= rtc-bq4802.o
440ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_CMOS)	+= rtc-cmos.o
4588413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_COH901331)	+= rtc-coh901331.o
46dd3bf50bSSebastian Reichelobj-$(CONFIG_RTC_DRV_CPCAP)	+= rtc-cpcap.o
47fef931ffSAshish Jangamobj-$(CONFIG_RTC_DRV_DA9052)	+= rtc-da9052.o
486920d996SAshish Jangamobj-$(CONFIG_RTC_DRV_DA9055)	+= rtc-da9055.o
49c2a57550SOpensource [Steve Twiss]obj-$(CONFIG_RTC_DRV_DA9063)	+= rtc-da9063.o
508ecf6c54SMiguel Aguilarobj-$(CONFIG_RTC_DRV_DAVINCI)	+= rtc-davinci.o
51ba172208SBaruch Siachobj-$(CONFIG_RTC_DRV_DIGICOLOR)	+= rtc-digicolor.o
52afd8d0f9SDavid Brownellobj-$(CONFIG_RTC_DRV_DM355EVM)	+= rtc-dm355evm.o
530ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1216)	+= rtc-ds1216.o
545f119f29SThomas Bogendoerferobj-$(CONFIG_RTC_DRV_DS1286)	+= rtc-ds1286.o
55739d340dSPaul Mundtobj-$(CONFIG_RTC_DRV_DS1302)	+= rtc-ds1302.o
5653e84b67SDavid Brownellobj-$(CONFIG_RTC_DRV_DS1305)	+= rtc-ds1305.o
571abb0dc9SDavid Brownellobj-$(CONFIG_RTC_DRV_DS1307)	+= rtc-ds1307.o
581d6316f5SRaghavendra Ganigaobj-$(CONFIG_RTC_DRV_DS1343)	+= rtc-ds1343.o
59617b26a0SRaghavendra Ganigaobj-$(CONFIG_RTC_DRV_DS1347)	+= rtc-ds1347.o
60bf4994d7SScott Woodobj-$(CONFIG_RTC_DRV_DS1374)	+= rtc-ds1374.o
6106de1808SMark Jacksonobj-$(CONFIG_RTC_DRV_DS1390)	+= rtc-ds1390.o
628f26795aSAndrew Sharpobj-$(CONFIG_RTC_DRV_DS1511)	+= rtc-ds1511.o
630ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1553)	+= rtc-ds1553.o
64edf1aaa3SAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1672)	+= rtc-ds1672.o
65aaaf5fbfSJoshua Kinardobj-$(CONFIG_RTC_DRV_DS1685_FAMILY)	+= rtc-ds1685.o
665ec3e4b7SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_DS1742)	+= rtc-ds1742.o
677418a119SSven Schnelleobj-$(CONFIG_RTC_DRV_DS2404)	+= rtc-ds2404.o
68c03675f0SRoy Zangobj-$(CONFIG_RTC_DRV_DS3232)	+= rtc-ds3232.o
695e3fd9e5Sdann frazierobj-$(CONFIG_RTC_DRV_EFI)	+= rtc-efi.o
70ae3551f9SMike Rapoportobj-$(CONFIG_RTC_DRV_EM3027)	+= rtc-em3027.o
710ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93xx.o
72c6d8f400SSergey Lapinobj-$(CONFIG_RTC_DRV_FM3130)	+= rtc-fm3130.o
731d61d259SLinus Walleijobj-$(CONFIG_RTC_DRV_FTRTC010)	+= rtc-ftrtc010.o
7488413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_GENERIC)	+= rtc-generic.o
7562e00cb9SAlexander Hollerobj-$(CONFIG_RTC_DRV_HID_SENSOR_TIME) += rtc-hid-sensor-time.o
76dcaf0384SHeiko Stuebnerobj-$(CONFIG_RTC_DRV_HYM8563)	+= rtc-hym8563.o
77eba54546SBaruch Siachobj-$(CONFIG_RTC_DRV_IMXDI)	+= rtc-imxdi.o
78d6c7428fSRoman Fietzeobj-$(CONFIG_RTC_DRV_ISL12022)	+= rtc-isl12022.o
7935cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_ISL1208)	+= rtc-isl1208.o
803bf0eea8SLars-Peter Clausenobj-$(CONFIG_RTC_DRV_JZ4740)	+= rtc-jz4740.o
8138ae176eSKim, Miloobj-$(CONFIG_RTC_DRV_LP8788)	+= rtc-lp8788.o
82c28b42e3SJoachim Eastwoodobj-$(CONFIG_RTC_DRV_LPC24XX)	+= rtc-lpc24xx.o
839aa449beSKevin Wellsobj-$(CONFIG_RTC_DRV_LPC32XX)	+= rtc-lpc32xx.o
84b4f0b880Szhao zhangobj-$(CONFIG_RTC_DRV_LOONGSON1)	+= rtc-ls1x.o
850ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M41T80)	+= rtc-m41t80.o
8674d34d4bSVoss, Nikolausobj-$(CONFIG_RTC_DRV_M41T93)	+= rtc-m41t93.o
878fc2c767SKim B. Heinoobj-$(CONFIG_RTC_DRV_M41T94)	+= rtc-m41t94.o
88d1dbd82eSThomas Bogendoerferobj-$(CONFIG_RTC_DRV_M48T35)	+= rtc-m48t35.o
890ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T59)	+= rtc-m48t59.o
900ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T86)	+= rtc-m48t86.o
910ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6900)	+= rtc-max6900.o
920ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6902)	+= rtc-max6902.o
9306776c89SVenkat Prashanth B Uobj-$(CONFIG_RTC_DRV_MAX6916)	+= rtc-max6916.o
94fca1dd03SJonghwa Leeobj-$(CONFIG_RTC_DRV_MAX77686)	+= rtc-max77686.o
9535cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8907)	+= rtc-max8907.o
9635cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8925)	+= rtc-max8925.o
9735cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8997)	+= rtc-max8997.o
9835cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8998)	+= rtc-max8998.o
991c97872bSUwe Kleine-Königobj-$(CONFIG_RTC_DRV_MC13XXX)	+= rtc-mc13xxx.o
1001fcbe42cSJosef Gajdusekobj-$(CONFIG_RTC_DRV_MCP795)	+= rtc-mcp795.o
10135cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MOXART)	+= rtc-moxart.o
10250aae724SAnatolij Gustschinobj-$(CONFIG_RTC_DRV_MPC5121)	+= rtc-mpc5121.o
10335cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_VRTC)	+= rtc-mrst.o
10435cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MSM6242)	+= rtc-msm6242.o
10535cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MT6397)	+= rtc-mt6397.o
106defb4514SSaeed Bisharaobj-$(CONFIG_RTC_DRV_MV)	+= rtc-mv.o
10735cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MXC)	+= rtc-mxc.o
108afd49a7eSWan ZongShunobj-$(CONFIG_RTC_DRV_NUC900)	+= rtc-nuc900.o
109db68b189SDavid Brownellobj-$(CONFIG_RTC_DRV_OMAP)	+= rtc-omap.o
11035cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_OPAL)	+= rtc-opal.o
1110101e53cSLaxman Dewanganobj-$(CONFIG_RTC_DRV_PALMAS)	+= rtc-palmas.o
112d3c7a3f7SDaniel Ribeiroobj-$(CONFIG_RTC_DRV_PCAP)	+= rtc-pcap.o
11335cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_PCF2123)	+= rtc-pcf2123.o
11418cb6368SRenaud Cerratoobj-$(CONFIG_RTC_DRV_PCF2127)	+= rtc-pcf2127.o
11535cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_PCF50633)	+= rtc-pcf50633.o
11635cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_PCF85063)	+= rtc-pcf85063.o
117f803f0d0SThierry Redingobj-$(CONFIG_RTC_DRV_PCF8523)	+= rtc-pcf8523.o
118b5a82d62SAlessandro Zummoobj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
1199c0c5705SG. Liakhovetskiobj-$(CONFIG_RTC_DRV_PCF8583)	+= rtc-pcf8583.o
12051aa905cSJoshua Hendersonobj-$(CONFIG_RTC_DRV_PIC32)	+= rtc-pic32.o
121a190901cSRussell Kingobj-$(CONFIG_RTC_DRV_PL030)	+= rtc-pl030.o
1220ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_PL031)	+= rtc-pl031.o
1239a9a54adSAnirudh Ghayalobj-$(CONFIG_RTC_DRV_PM8XXX)	+= rtc-pm8xxx.o
12488413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_PS3)	+= rtc-ps3.o
1252809e80bSGuan Xuetaoobj-$(CONFIG_RTC_DRV_PUV3)	+= rtc-puv3.o
126dc944368SRobert Jarzmikobj-$(CONFIG_RTC_DRV_PXA)	+= rtc-pxa.o
1270b6a8f5cSAkinobu Mitaobj-$(CONFIG_RTC_DRV_R7301)	+= rtc-r7301.o
1282805b969SMagnus Dammobj-$(CONFIG_RTC_DRV_R9701)	+= rtc-r9701.o
12990829c08SVenu Byravarasuobj-$(CONFIG_RTC_DRV_RC5T583)	+= rtc-rc5t583.o
1303ca1e326SChris Zhongobj-$(CONFIG_RTC_DRV_RK808)	+= rtc-rk808.o
1314f672ce2SGeert Uytterhoevenobj-$(CONFIG_RTC_DRV_RP5C01)	+= rtc-rp5c01.o
1320ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C313)	+= rtc-rs5c313.o
1330ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C348)	+= rtc-rs5c348.o
1347520b94dSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C372)	+= rtc-rs5c372.o
135ae930c91SAndreas Färberobj-$(CONFIG_RTC_DRV_RTD119X)	+= rtc-rtd119x.o
13652365230SHeiko Schocherobj-$(CONFIG_RTC_DRV_RV3029C2)	+= rtc-rv3029c2.o
1371e3929efSAlexandre Belloniobj-$(CONFIG_RTC_DRV_RV8803)	+= rtc-rv8803.o
138cce2da9aSTorben Hohnobj-$(CONFIG_RTC_DRV_RX4581)	+= rtc-rx4581.o
13968298c2dSSteffen Trumtrarobj-$(CONFIG_RTC_DRV_RX6110)	+= rtc-rx6110.o
140ed13d89bSAkshay Bhatobj-$(CONFIG_RTC_DRV_RX8010)	+= rtc-rx8010.o
1413c2b9075SWolfgang Grandeggerobj-$(CONFIG_RTC_DRV_RX8025)	+= rtc-rx8025.o
142a7fa9851SMartyn Welchobj-$(CONFIG_RTC_DRV_RX8581)	+= rtc-rx8581.o
143c46288b0SByron Bradleyobj-$(CONFIG_RTC_DRV_S35390A)	+= rtc-s35390a.o
1441add6781SBen Dooksobj-$(CONFIG_RTC_DRV_S3C)	+= rtc-s3c.o
1455bccae6eSSangbeom Kimobj-$(CONFIG_RTC_DRV_S5M)	+= rtc-s5m.o
146e842f1c8SRichard Purdieobj-$(CONFIG_RTC_DRV_SA1100)	+= rtc-sa1100.o
147317a6104SPaul Mundtobj-$(CONFIG_RTC_DRV_SH)	+= rtc-sh.o
14835cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_SIRFSOC)	+= rtc-sirfsoc.o
149179a502fSShawn Guoobj-$(CONFIG_RTC_DRV_SNVS)	+= rtc-snvs.o
1500942a71eSRajeev Kumarobj-$(CONFIG_RTC_DRV_SPEAR)	+= rtc-spear.o
15188413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STARFIRE)	+= rtc-starfire.o
1520ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STK17TA8)	+= rtc-stk17ta8.o
1534e64350fSAmelie Delaunayobj-$(CONFIG_RTC_DRV_STM32) 	+= rtc-stm32.o
15488413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STMP)	+= rtc-stmp3xxx.o
155c13c8100SLinus Torvaldsobj-$(CONFIG_RTC_DRV_ST_LPC)	+= rtc-st-lpc.o
15688413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_SUN4V)	+= rtc-sun4v.o
1579765d2d9SChen-Yu Tsaiobj-$(CONFIG_RTC_DRV_SUN6I)	+= rtc-sun6i.o
158594c6fb9SCarlo Caioneobj-$(CONFIG_RTC_DRV_SUNXI)	+= rtc-sunxi.o
159ff859ba6SAndrew Chewobj-$(CONFIG_RTC_DRV_TEGRA)	+= rtc-tegra.o
1600ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_TEST)	+= rtc-test.o
161dd196a2bSChris Metcalfobj-$(CONFIG_RTC_DRV_TILE)	+= rtc-tile.o
162dc59ed38SLaxman Dewanganobj-$(CONFIG_RTC_DRV_TPS6586X)	+= rtc-tps6586x.o
1630e783980SVenu Byravarasuobj-$(CONFIG_RTC_DRV_TPS65910)	+= rtc-tps65910.o
16436d61824SLaxman Dewanganobj-$(CONFIG_RTC_DRV_TPS80031)	+= rtc-tps80031.o
16535cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_TWL4030)	+= rtc-twl.o
1660e149233SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_TX4939)	+= rtc-tx4939.o
1670ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_V3020)	+= rtc-v3020.o
1680ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_VR41XX)	+= rtc-vr41xx.o
169f77fbdf9SAlexey Charkovobj-$(CONFIG_RTC_DRV_VT8500)	+= rtc-vt8500.o
17035c86bf6SMark Brownobj-$(CONFIG_RTC_DRV_WM831X)	+= rtc-wm831x.o
171077eaf5bSMark Brownobj-$(CONFIG_RTC_DRV_WM8350)	+= rtc-wm8350.o
1720ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_X1205)	+= rtc-x1205.o
173f12d8695SLoc Hoobj-$(CONFIG_RTC_DRV_XGENE)	+= rtc-xgene.o
17411143c19SSuneel Garapatiobj-$(CONFIG_RTC_DRV_ZYNQMP)	+= rtc-zynqmp.o
175f22d9cdcSMiodrag Dinicobj-$(CONFIG_RTC_DRV_GOLDFISH)	+= rtc-goldfish.o
176