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 836e14f5fSAlexandre Belloniobj-$(CONFIG_RTC_LIB) += lib.o 90c86edc0SAlessandro Zummoobj-$(CONFIG_RTC_CLASS) += rtc-core.o 10d6faca40SArnd Bergmannobj-$(CONFIG_RTC_MC146818_LIB) += rtc-mc146818-lib.o 110c86edc0SAlessandro Zummortc-core-y := class.o interface.o 12c5c3e192SAlessandro Zummo 13697e5a47SAlexandre Bellonirtc-core-$(CONFIG_RTC_NVMEM) += nvmem.o 1436e14f5fSAlexandre Bellonirtc-core-$(CONFIG_RTC_INTF_DEV) += dev.o 1536e14f5fSAlexandre Bellonirtc-core-$(CONFIG_RTC_INTF_PROC) += proc.o 1636e14f5fSAlexandre Bellonirtc-core-$(CONFIG_RTC_INTF_SYSFS) += sysfs.o 175726fb20SDavid Brownell 18b02c9646SAlexandre Belloniobj-$(CONFIG_RTC_LIB_KUNIT_TEST) += lib_test.o 19b02c9646SAlexandre Belloni 200ca56b4bSAlessandro Zummo# Keep the list ordered. 210ca56b4bSAlessandro Zummo 222985c29cSQiao Zhouobj-$(CONFIG_RTC_DRV_88PM80X) += rtc-88pm80x.o 2335cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_88PM860X) += rtc-88pm860x.o 240af62f4dSVirupax Sadashivpetimathobj-$(CONFIG_RTC_DRV_AB8500) += rtc-ab8500.o 250b2f6228SArnaud Ebalardobj-$(CONFIG_RTC_DRV_ABB5ZES3) += rtc-ab-b5ze-s3.o 2667075b63SArtem Panfilovobj-$(CONFIG_RTC_DRV_ABEOZ9) += rtc-ab-eoz9.o 274d61ff6bSPhilippe De Muyterobj-$(CONFIG_RTC_DRV_ABX80X) += rtc-abx80x.o 28d00a18a4SChen-Yu Tsaiobj-$(CONFIG_RTC_DRV_AC100) += rtc-ac100.o 29a3a42806SGregory CLEMENTobj-$(CONFIG_RTC_DRV_ARMADA38X) += rtc-armada38x.o 30b4506261SLaxman Dewanganobj-$(CONFIG_RTC_DRV_AS3722) += rtc-as3722.o 31125e550fSOleksij Rempelobj-$(CONFIG_RTC_DRV_ASM9260) += rtc-asm9260.o 32184a182eSJoel Stanleyobj-$(CONFIG_RTC_DRV_ASPEED) += rtc-aspeed.o 330ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o 344cdf854fSDavid Brownellobj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o 3545fd8a0cSManuel Laussobj-$(CONFIG_RTC_DRV_AU1XXX) += rtc-au1xxx.o 3632a4a4ebSMatti Vaittinenobj-$(CONFIG_RTC_DRV_BD70528) += rtc-bd70528.o 371ce7c83fSPiotr Ziecikobj-$(CONFIG_RTC_DRV_BQ32K) += rtc-bq32k.o 3888413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_BQ4802) += rtc-bq4802.o 39db7a67b9SAlexandre Belloniobj-$(CONFIG_RTC_DRV_BRCMSTB) += rtc-brcmstb-waketimer.o 4042986fb8SJan Kotasobj-$(CONFIG_RTC_DRV_CADENCE) += rtc-cadence.o 410ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o 42dd3bf50bSSebastian Reichelobj-$(CONFIG_RTC_DRV_CPCAP) += rtc-cpcap.o 436f2a71a3SStephen Barberobj-$(CONFIG_RTC_DRV_CROS_EC) += rtc-cros-ec.o 44fef931ffSAshish Jangamobj-$(CONFIG_RTC_DRV_DA9052) += rtc-da9052.o 456920d996SAshish Jangamobj-$(CONFIG_RTC_DRV_DA9055) += rtc-da9055.o 46c2a57550SOpensource [Steve Twiss]obj-$(CONFIG_RTC_DRV_DA9063) += rtc-da9063.o 478ecf6c54SMiguel Aguilarobj-$(CONFIG_RTC_DRV_DAVINCI) += rtc-davinci.o 48ba172208SBaruch Siachobj-$(CONFIG_RTC_DRV_DIGICOLOR) += rtc-digicolor.o 49afd8d0f9SDavid Brownellobj-$(CONFIG_RTC_DRV_DM355EVM) += rtc-dm355evm.o 500ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1216) += rtc-ds1216.o 515f119f29SThomas Bogendoerferobj-$(CONFIG_RTC_DRV_DS1286) += rtc-ds1286.o 52739d340dSPaul Mundtobj-$(CONFIG_RTC_DRV_DS1302) += rtc-ds1302.o 5353e84b67SDavid Brownellobj-$(CONFIG_RTC_DRV_DS1305) += rtc-ds1305.o 541abb0dc9SDavid Brownellobj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o 551d6316f5SRaghavendra Ganigaobj-$(CONFIG_RTC_DRV_DS1343) += rtc-ds1343.o 56617b26a0SRaghavendra Ganigaobj-$(CONFIG_RTC_DRV_DS1347) += rtc-ds1347.o 57bf4994d7SScott Woodobj-$(CONFIG_RTC_DRV_DS1374) += rtc-ds1374.o 5806de1808SMark Jacksonobj-$(CONFIG_RTC_DRV_DS1390) += rtc-ds1390.o 598f26795aSAndrew Sharpobj-$(CONFIG_RTC_DRV_DS1511) += rtc-ds1511.o 600ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1553) += rtc-ds1553.o 61edf1aaa3SAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1672) += rtc-ds1672.o 62aaaf5fbfSJoshua Kinardobj-$(CONFIG_RTC_DRV_DS1685_FAMILY) += rtc-ds1685.o 635ec3e4b7SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_DS1742) += rtc-ds1742.o 647418a119SSven Schnelleobj-$(CONFIG_RTC_DRV_DS2404) += rtc-ds2404.o 65c03675f0SRoy Zangobj-$(CONFIG_RTC_DRV_DS3232) += rtc-ds3232.o 665e3fd9e5Sdann frazierobj-$(CONFIG_RTC_DRV_EFI) += rtc-efi.o 67ae3551f9SMike Rapoportobj-$(CONFIG_RTC_DRV_EM3027) += rtc-em3027.o 680ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o 69c6d8f400SSergey Lapinobj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o 707b0b551dSBiwen Liobj-$(CONFIG_RTC_DRV_FSL_FTM_ALARM) += rtc-fsl-ftm-alarm.o 711d61d259SLinus Walleijobj-$(CONFIG_RTC_DRV_FTRTC010) += rtc-ftrtc010.o 7288413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_GENERIC) += rtc-generic.o 73db7a67b9SAlexandre Belloniobj-$(CONFIG_RTC_DRV_GOLDFISH) += rtc-goldfish.o 7462e00cb9SAlexander Hollerobj-$(CONFIG_RTC_DRV_HID_SENSOR_TIME) += rtc-hid-sensor-time.o 75dcaf0384SHeiko Stuebnerobj-$(CONFIG_RTC_DRV_HYM8563) += rtc-hym8563.o 76eba54546SBaruch Siachobj-$(CONFIG_RTC_DRV_IMXDI) += rtc-imxdi.o 77e01b5781SAnson Huangobj-$(CONFIG_RTC_DRV_IMX_SC) += rtc-imx-sc.o 78d6c7428fSRoman Fietzeobj-$(CONFIG_RTC_DRV_ISL12022) += rtc-isl12022.o 794731a431SDavid Daneyobj-$(CONFIG_RTC_DRV_ISL12026) += rtc-isl12026.o 8035cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o 813bf0eea8SLars-Peter Clausenobj-$(CONFIG_RTC_DRV_JZ4740) += rtc-jz4740.o 82db7a67b9SAlexandre Belloniobj-$(CONFIG_RTC_DRV_LOONGSON1) += rtc-ls1x.o 8338ae176eSKim, Miloobj-$(CONFIG_RTC_DRV_LP8788) += rtc-lp8788.o 84c28b42e3SJoachim Eastwoodobj-$(CONFIG_RTC_DRV_LPC24XX) += rtc-lpc24xx.o 859aa449beSKevin Wellsobj-$(CONFIG_RTC_DRV_LPC32XX) += rtc-lpc32xx.o 860ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M41T80) += rtc-m41t80.o 8774d34d4bSVoss, Nikolausobj-$(CONFIG_RTC_DRV_M41T93) += rtc-m41t93.o 888fc2c767SKim B. Heinoobj-$(CONFIG_RTC_DRV_M41T94) += rtc-m41t94.o 89d1dbd82eSThomas Bogendoerferobj-$(CONFIG_RTC_DRV_M48T35) += rtc-m48t35.o 900ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o 910ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T86) += rtc-m48t86.o 920ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6900) += rtc-max6900.o 930ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o 9406776c89SVenkat Prashanth B Uobj-$(CONFIG_RTC_DRV_MAX6916) += rtc-max6916.o 95fca1dd03SJonghwa Leeobj-$(CONFIG_RTC_DRV_MAX77686) += rtc-max77686.o 9635cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o 9735cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8925) += rtc-max8925.o 9835cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8997) += rtc-max8997.o 9935cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MAX8998) += rtc-max8998.o 1006ef35398SNeil Armstrongobj-$(CONFIG_RTC_DRV_MESON_VRTC)+= rtc-meson-vrtc.o 1011c97872bSUwe Kleine-Königobj-$(CONFIG_RTC_DRV_MC13XXX) += rtc-mc13xxx.o 1021fcbe42cSJosef Gajdusekobj-$(CONFIG_RTC_DRV_MCP795) += rtc-mcp795.o 103d8fe6009SMartin Blumenstinglobj-$(CONFIG_RTC_DRV_MESON) += rtc-meson.o 10435cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MOXART) += rtc-moxart.o 10550aae724SAnatolij Gustschinobj-$(CONFIG_RTC_DRV_MPC5121) += rtc-mpc5121.o 106be7d9c91SDaniel Palmerobj-$(CONFIG_RTC_DRV_MSC313) += rtc-msc313.o 10735cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MSM6242) += rtc-msm6242.o 10864823360SRan Biobj-$(CONFIG_RTC_DRV_MT2712) += rtc-mt2712.o 10935cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MT6397) += rtc-mt6397.o 110ba5d0181SSean Wangobj-$(CONFIG_RTC_DRV_MT7622) += rtc-mt7622.o 111defb4514SSaeed Bisharaobj-$(CONFIG_RTC_DRV_MV) += rtc-mv.o 11235cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_MXC) += rtc-mxc.o 11383c880f7SPatrick Bruennobj-$(CONFIG_RTC_DRV_MXC_V2) += rtc-mxc_v2.o 11486559400SEmmanuel Gil Peyrotobj-$(CONFIG_RTC_DRV_GAMECUBE) += rtc-gamecube.o 115435af897SJonathan Neuschäferobj-$(CONFIG_RTC_DRV_NTXEC) += rtc-ntxec.o 116db68b189SDavid Brownellobj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o 11735cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_OPAL) += rtc-opal.o 118*81c2f059SClément Légerobj-$(CONFIG_RTC_DRV_OPTEE) += rtc-optee.o 1190101e53cSLaxman Dewanganobj-$(CONFIG_RTC_DRV_PALMAS) += rtc-palmas.o 120d3c7a3f7SDaniel Ribeiroobj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o 12135cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o 12218cb6368SRenaud Cerratoobj-$(CONFIG_RTC_DRV_PCF2127) += rtc-pcf2127.o 12335cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o 12435cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_PCF85063) += rtc-pcf85063.o 125f803f0d0SThierry Redingobj-$(CONFIG_RTC_DRV_PCF8523) += rtc-pcf8523.o 126db7a67b9SAlexandre Belloniobj-$(CONFIG_RTC_DRV_PCF85363) += rtc-pcf85363.o 127b5a82d62SAlessandro Zummoobj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o 1289c0c5705SG. Liakhovetskiobj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o 12951aa905cSJoshua Hendersonobj-$(CONFIG_RTC_DRV_PIC32) += rtc-pic32.o 130a190901cSRussell Kingobj-$(CONFIG_RTC_DRV_PL030) += rtc-pl030.o 1310ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_PL031) += rtc-pl031.o 1329a9a54adSAnirudh Ghayalobj-$(CONFIG_RTC_DRV_PM8XXX) += rtc-pm8xxx.o 13388413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_PS3) += rtc-ps3.o 134dc944368SRobert Jarzmikobj-$(CONFIG_RTC_DRV_PXA) += rtc-pxa.o 1350b6a8f5cSAkinobu Mitaobj-$(CONFIG_RTC_DRV_R7301) += rtc-r7301.o 1362805b969SMagnus Dammobj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.o 13790829c08SVenu Byravarasuobj-$(CONFIG_RTC_DRV_RC5T583) += rtc-rc5t583.o 138540d1e15SAndreas Kemnadeobj-$(CONFIG_RTC_DRV_RC5T619) += rtc-rc5t619.o 1393ca1e326SChris Zhongobj-$(CONFIG_RTC_DRV_RK808) += rtc-rk808.o 1404f672ce2SGeert Uytterhoevenobj-$(CONFIG_RTC_DRV_RP5C01) += rtc-rp5c01.o 1410ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o 1420ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C348) += rtc-rs5c348.o 1437520b94dSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o 144ae930c91SAndreas Färberobj-$(CONFIG_RTC_DRV_RTD119X) += rtc-rtd119x.o 145e6e7376cSAlexandre Belloniobj-$(CONFIG_RTC_DRV_RV3028) += rtc-rv3028.o 14652365230SHeiko Schocherobj-$(CONFIG_RTC_DRV_RV3029C2) += rtc-rv3029c2.o 1472eeaa532SAlexandre Belloniobj-$(CONFIG_RTC_DRV_RV3032) += rtc-rv3032.o 1481e3929efSAlexandre Belloniobj-$(CONFIG_RTC_DRV_RV8803) += rtc-rv8803.o 149cce2da9aSTorben Hohnobj-$(CONFIG_RTC_DRV_RX4581) += rtc-rx4581.o 15068298c2dSSteffen Trumtrarobj-$(CONFIG_RTC_DRV_RX6110) += rtc-rx6110.o 151ed13d89bSAkshay Bhatobj-$(CONFIG_RTC_DRV_RX8010) += rtc-rx8010.o 1523c2b9075SWolfgang Grandeggerobj-$(CONFIG_RTC_DRV_RX8025) += rtc-rx8025.o 153a7fa9851SMartyn Welchobj-$(CONFIG_RTC_DRV_RX8581) += rtc-rx8581.o 154c46288b0SByron Bradleyobj-$(CONFIG_RTC_DRV_S35390A) += rtc-s35390a.o 1551add6781SBen Dooksobj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o 1565bccae6eSSangbeom Kimobj-$(CONFIG_RTC_DRV_S5M) += rtc-s5m.o 157e842f1c8SRichard Purdieobj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o 158495bbde5SBaolin Wangobj-$(CONFIG_RTC_DRV_SC27XX) += rtc-sc27xx.o 1591d67a232SDianlong Liobj-$(CONFIG_RTC_DRV_SD3078) += rtc-sd3078.o 160317a6104SPaul Mundtobj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o 161179a502fSShawn Guoobj-$(CONFIG_RTC_DRV_SNVS) += rtc-snvs.o 1620942a71eSRajeev Kumarobj-$(CONFIG_RTC_DRV_SPEAR) += rtc-spear.o 16388413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STARFIRE) += rtc-starfire.o 1640ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STK17TA8) += rtc-stk17ta8.o 165db7a67b9SAlexandre Belloniobj-$(CONFIG_RTC_DRV_ST_LPC) += rtc-st-lpc.o 1664e64350fSAmelie Delaunayobj-$(CONFIG_RTC_DRV_STM32) += rtc-stm32.o 16788413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STMP) += rtc-stmp3xxx.o 16888413e1eSAlessandro Zummoobj-$(CONFIG_RTC_DRV_SUN4V) += rtc-sun4v.o 1699765d2d9SChen-Yu Tsaiobj-$(CONFIG_RTC_DRV_SUN6I) += rtc-sun6i.o 170fad6cbe9SVincent Shihobj-$(CONFIG_RTC_DRV_SUNPLUS) += rtc-sunplus.o 171594c6fb9SCarlo Caioneobj-$(CONFIG_RTC_DRV_SUNXI) += rtc-sunxi.o 172ff859ba6SAndrew Chewobj-$(CONFIG_RTC_DRV_TEGRA) += rtc-tegra.o 1730ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o 174dc59ed38SLaxman Dewanganobj-$(CONFIG_RTC_DRV_TPS6586X) += rtc-tps6586x.o 1750e783980SVenu Byravarasuobj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o 17635cd49c1SAlexandre Belloniobj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl.o 1770ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o 1780ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o 179f77fbdf9SAlexey Charkovobj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o 1800d2f2a3dSNick Crewsobj-$(CONFIG_RTC_DRV_WILCO_EC) += rtc-wilco-ec.o 18135c86bf6SMark Brownobj-$(CONFIG_RTC_DRV_WM831X) += rtc-wm831x.o 182077eaf5bSMark Brownobj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o 1830ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o 184f12d8695SLoc Hoobj-$(CONFIG_RTC_DRV_XGENE) += rtc-xgene.o 18511143c19SSuneel Garapatiobj-$(CONFIG_RTC_DRV_ZYNQMP) += rtc-zynqmp.o 186