mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 16:30:53 +07:00
aaaf5fbf56
This adds a driver for the Dallas/Maxim DS1685-family of RTC chips. It supports the DS1685/DS1687, DS1688/DS1691, DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and DS17885/DS17887 RTC chips. These chips are commonly found in SGI O2 and SGI Octane systems. It was originally derived from a driver patch submitted by Matthias Fuchs many years ago for use in EPPC-405-UC modules, which also used these RTCs. In addition to the time-keeping functions, this RTC also handles the shutdown mechanism of the O2 and Octane and acts as a partial NVRAM for the boot PROMS in these systems. Verified on both an SGI O2 and an SGI Octane. Signed-off-by: Joshua Kinard <kumba@gentoo.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
156 lines
6.4 KiB
Makefile
156 lines
6.4 KiB
Makefile
#
|
|
# Makefile for RTC class/drivers.
|
|
#
|
|
|
|
ccflags-$(CONFIG_RTC_DEBUG) := -DDEBUG
|
|
|
|
obj-$(CONFIG_RTC_LIB) += rtc-lib.o
|
|
obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o
|
|
obj-$(CONFIG_RTC_SYSTOHC) += systohc.o
|
|
obj-$(CONFIG_RTC_CLASS) += rtc-core.o
|
|
rtc-core-y := class.o interface.o
|
|
|
|
ifdef CONFIG_RTC_DRV_EFI
|
|
rtc-core-y += rtc-efi-platform.o
|
|
endif
|
|
|
|
rtc-core-$(CONFIG_RTC_INTF_DEV) += rtc-dev.o
|
|
rtc-core-$(CONFIG_RTC_INTF_PROC) += rtc-proc.o
|
|
rtc-core-$(CONFIG_RTC_INTF_SYSFS) += rtc-sysfs.o
|
|
|
|
# Keep the list ordered.
|
|
|
|
obj-$(CONFIG_RTC_DRV_88PM860X) += rtc-88pm860x.o
|
|
obj-$(CONFIG_RTC_DRV_88PM80X) += rtc-88pm80x.o
|
|
obj-$(CONFIG_RTC_DRV_AB3100) += rtc-ab3100.o
|
|
obj-$(CONFIG_RTC_DRV_AB8500) += rtc-ab8500.o
|
|
obj-$(CONFIG_RTC_DRV_ABB5ZES3) += rtc-ab-b5ze-s3.o
|
|
obj-$(CONFIG_RTC_DRV_ARMADA38X) += rtc-armada38x.o
|
|
obj-$(CONFIG_RTC_DRV_AS3722) += rtc-as3722.o
|
|
obj-$(CONFIG_RTC_DRV_AT32AP700X)+= rtc-at32ap700x.o
|
|
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
|
|
obj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o
|
|
obj-$(CONFIG_RTC_DRV_AU1XXX) += rtc-au1xxx.o
|
|
obj-$(CONFIG_RTC_DRV_BFIN) += rtc-bfin.o
|
|
obj-$(CONFIG_RTC_DRV_BQ32K) += rtc-bq32k.o
|
|
obj-$(CONFIG_RTC_DRV_BQ4802) += rtc-bq4802.o
|
|
obj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o
|
|
obj-$(CONFIG_RTC_DRV_COH901331) += rtc-coh901331.o
|
|
obj-$(CONFIG_RTC_DRV_DA9052) += rtc-da9052.o
|
|
obj-$(CONFIG_RTC_DRV_DA9055) += rtc-da9055.o
|
|
obj-$(CONFIG_RTC_DRV_DA9063) += rtc-da9063.o
|
|
obj-$(CONFIG_RTC_DRV_DAVINCI) += rtc-davinci.o
|
|
obj-$(CONFIG_RTC_DRV_DM355EVM) += rtc-dm355evm.o
|
|
obj-$(CONFIG_RTC_DRV_VRTC) += rtc-mrst.o
|
|
obj-$(CONFIG_RTC_DRV_DS1216) += rtc-ds1216.o
|
|
obj-$(CONFIG_RTC_DRV_DS1286) += rtc-ds1286.o
|
|
obj-$(CONFIG_RTC_DRV_DS1302) += rtc-ds1302.o
|
|
obj-$(CONFIG_RTC_DRV_DS1305) += rtc-ds1305.o
|
|
obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
|
|
obj-$(CONFIG_RTC_DRV_DS1343) += rtc-ds1343.o
|
|
obj-$(CONFIG_RTC_DRV_DS1347) += rtc-ds1347.o
|
|
obj-$(CONFIG_RTC_DRV_DS1374) += rtc-ds1374.o
|
|
obj-$(CONFIG_RTC_DRV_DS1390) += rtc-ds1390.o
|
|
obj-$(CONFIG_RTC_DRV_DS1511) += rtc-ds1511.o
|
|
obj-$(CONFIG_RTC_DRV_DS1553) += rtc-ds1553.o
|
|
obj-$(CONFIG_RTC_DRV_DS1672) += rtc-ds1672.o
|
|
obj-$(CONFIG_RTC_DRV_DS1685_FAMILY) += rtc-ds1685.o
|
|
obj-$(CONFIG_RTC_DRV_DS1742) += rtc-ds1742.o
|
|
obj-$(CONFIG_RTC_DRV_DS2404) += rtc-ds2404.o
|
|
obj-$(CONFIG_RTC_DRV_DS3232) += rtc-ds3232.o
|
|
obj-$(CONFIG_RTC_DRV_DS3234) += rtc-ds3234.o
|
|
obj-$(CONFIG_RTC_DRV_EFI) += rtc-efi.o
|
|
obj-$(CONFIG_RTC_DRV_EM3027) += rtc-em3027.o
|
|
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
|
|
obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o
|
|
obj-$(CONFIG_RTC_DRV_GENERIC) += rtc-generic.o
|
|
obj-$(CONFIG_RTC_DRV_HID_SENSOR_TIME) += rtc-hid-sensor-time.o
|
|
obj-$(CONFIG_RTC_DRV_HYM8563) += rtc-hym8563.o
|
|
obj-$(CONFIG_RTC_DRV_IMXDI) += rtc-imxdi.o
|
|
obj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o
|
|
obj-$(CONFIG_RTC_DRV_ISL12022) += rtc-isl12022.o
|
|
obj-$(CONFIG_RTC_DRV_ISL12057) += rtc-isl12057.o
|
|
obj-$(CONFIG_RTC_DRV_JZ4740) += rtc-jz4740.o
|
|
obj-$(CONFIG_RTC_DRV_LP8788) += rtc-lp8788.o
|
|
obj-$(CONFIG_RTC_DRV_LPC32XX) += rtc-lpc32xx.o
|
|
obj-$(CONFIG_RTC_DRV_LOONGSON1) += rtc-ls1x.o
|
|
obj-$(CONFIG_RTC_DRV_M41T80) += rtc-m41t80.o
|
|
obj-$(CONFIG_RTC_DRV_M41T93) += rtc-m41t93.o
|
|
obj-$(CONFIG_RTC_DRV_M41T94) += rtc-m41t94.o
|
|
obj-$(CONFIG_RTC_DRV_M48T35) += rtc-m48t35.o
|
|
obj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o
|
|
obj-$(CONFIG_RTC_DRV_M48T86) += rtc-m48t86.o
|
|
obj-$(CONFIG_RTC_DRV_MXC) += rtc-mxc.o
|
|
obj-$(CONFIG_RTC_DRV_MAX6900) += rtc-max6900.o
|
|
obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o
|
|
obj-$(CONFIG_RTC_DRV_MAX8925) += rtc-max8925.o
|
|
obj-$(CONFIG_RTC_DRV_MAX8998) += rtc-max8998.o
|
|
obj-$(CONFIG_RTC_DRV_MAX8997) += rtc-max8997.o
|
|
obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
|
|
obj-$(CONFIG_RTC_DRV_MAX77686) += rtc-max77686.o
|
|
obj-$(CONFIG_RTC_DRV_MAX77802) += rtc-max77802.o
|
|
obj-$(CONFIG_RTC_DRV_MC13XXX) += rtc-mc13xxx.o
|
|
obj-$(CONFIG_RTC_DRV_MCP795) += rtc-mcp795.o
|
|
obj-$(CONFIG_RTC_DRV_MSM6242) += rtc-msm6242.o
|
|
obj-$(CONFIG_RTC_DRV_MPC5121) += rtc-mpc5121.o
|
|
obj-$(CONFIG_RTC_DRV_MV) += rtc-mv.o
|
|
obj-$(CONFIG_RTC_DRV_NUC900) += rtc-nuc900.o
|
|
obj-$(CONFIG_RTC_DRV_OPAL) += rtc-opal.o
|
|
obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o
|
|
obj-$(CONFIG_RTC_DRV_PALMAS) += rtc-palmas.o
|
|
obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o
|
|
obj-$(CONFIG_RTC_DRV_PCF2127) += rtc-pcf2127.o
|
|
obj-$(CONFIG_RTC_DRV_PCF8523) += rtc-pcf8523.o
|
|
obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
|
|
obj-$(CONFIG_RTC_DRV_PCF85063) += rtc-pcf85063.o
|
|
obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
|
|
obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o
|
|
obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
|
|
obj-$(CONFIG_RTC_DRV_PL030) += rtc-pl030.o
|
|
obj-$(CONFIG_RTC_DRV_PL031) += rtc-pl031.o
|
|
obj-$(CONFIG_RTC_DRV_PM8XXX) += rtc-pm8xxx.o
|
|
obj-$(CONFIG_RTC_DRV_PS3) += rtc-ps3.o
|
|
obj-$(CONFIG_RTC_DRV_PUV3) += rtc-puv3.o
|
|
obj-$(CONFIG_RTC_DRV_PXA) += rtc-pxa.o
|
|
obj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.o
|
|
obj-$(CONFIG_RTC_DRV_RC5T583) += rtc-rc5t583.o
|
|
obj-$(CONFIG_RTC_DRV_RK808) += rtc-rk808.o
|
|
obj-$(CONFIG_RTC_DRV_RP5C01) += rtc-rp5c01.o
|
|
obj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o
|
|
obj-$(CONFIG_RTC_DRV_RS5C348) += rtc-rs5c348.o
|
|
obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o
|
|
obj-$(CONFIG_RTC_DRV_RV3029C2) += rtc-rv3029c2.o
|
|
obj-$(CONFIG_RTC_DRV_RX4581) += rtc-rx4581.o
|
|
obj-$(CONFIG_RTC_DRV_RX8025) += rtc-rx8025.o
|
|
obj-$(CONFIG_RTC_DRV_RX8581) += rtc-rx8581.o
|
|
obj-$(CONFIG_RTC_DRV_S35390A) += rtc-s35390a.o
|
|
obj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o
|
|
obj-$(CONFIG_RTC_DRV_S5M) += rtc-s5m.o
|
|
obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o
|
|
obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o
|
|
obj-$(CONFIG_RTC_DRV_SNVS) += rtc-snvs.o
|
|
obj-$(CONFIG_RTC_DRV_SPEAR) += rtc-spear.o
|
|
obj-$(CONFIG_RTC_DRV_STARFIRE) += rtc-starfire.o
|
|
obj-$(CONFIG_RTC_DRV_STK17TA8) += rtc-stk17ta8.o
|
|
obj-$(CONFIG_RTC_DRV_STMP) += rtc-stmp3xxx.o
|
|
obj-$(CONFIG_RTC_DRV_SUN4V) += rtc-sun4v.o
|
|
obj-$(CONFIG_RTC_DRV_SUN6I) += rtc-sun6i.o
|
|
obj-$(CONFIG_RTC_DRV_SUNXI) += rtc-sunxi.o
|
|
obj-$(CONFIG_RTC_DRV_TEGRA) += rtc-tegra.o
|
|
obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
|
|
obj-$(CONFIG_RTC_DRV_TILE) += rtc-tile.o
|
|
obj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl.o
|
|
obj-$(CONFIG_RTC_DRV_TPS6586X) += rtc-tps6586x.o
|
|
obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
|
|
obj-$(CONFIG_RTC_DRV_TPS80031) += rtc-tps80031.o
|
|
obj-$(CONFIG_RTC_DRV_TX4939) += rtc-tx4939.o
|
|
obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
|
|
obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o
|
|
obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o
|
|
obj-$(CONFIG_RTC_DRV_WM831X) += rtc-wm831x.o
|
|
obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o
|
|
obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o
|
|
obj-$(CONFIG_RTC_DRV_XGENE) += rtc-xgene.o
|
|
obj-$(CONFIG_RTC_DRV_SIRFSOC) += rtc-sirfsoc.o
|
|
obj-$(CONFIG_RTC_DRV_MOXART) += rtc-moxart.o
|