mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 02:30:53 +07:00
4cdf854f7d
AT91sam9 RTC support, primarily in the form of an RTT-as-RTC driver that was extracted from 2.6.23-at91 patch and updated: - Relies on now-merged platform updates, which associate the RTT hardware address with each RTT and use the "at91_rtt" name. - RTC framework related fixes and cleanups, notably: * removed now-needless suspend/resume clock offset logic * alarm read/write now respects the "enabled" flag * suspend always disables update irqs * shutdown (and startup) disables all irqs - Misc cleanup: * use dev_*() messaging * add comments * remove globals, * ... etc - Don't force use of RTT0 and GPBR0. Either resource may need to be used for other purposes (like NO_HZ support). - Update "AT91RM9200 RTC" Kconfig to allow it on SAM9RL chips (it has both RTT and RTC). Driver binding uses bus_find_device() to avoid needing any kind of "timer library" code when there's more than one RTT module. (This timer can be used as an RTC, to support NO_HZ operation, or potentially for other stuff. The choice is a per-system policy.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Cc: Michel Benoit <murpme@gmail.com> Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com> Cc: Andrew Victor <linux@maxim.org.za> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
56 lines
2.0 KiB
Makefile
56 lines
2.0 KiB
Makefile
#
|
|
# Makefile for RTC class/drivers.
|
|
#
|
|
|
|
ifeq ($(CONFIG_RTC_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
|
|
obj-$(CONFIG_RTC_LIB) += rtc-lib.o
|
|
obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o
|
|
obj-$(CONFIG_RTC_CLASS) += rtc-core.o
|
|
rtc-core-y := class.o interface.o
|
|
|
|
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_AT32AP700X)+= rtc-at32ap700x.o
|
|
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
|
|
obj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o
|
|
obj-$(CONFIG_RTC_DRV_BFIN) += rtc-bfin.o
|
|
obj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o
|
|
obj-$(CONFIG_RTC_DRV_DS1216) += rtc-ds1216.o
|
|
obj-$(CONFIG_RTC_DRV_DS1302) += rtc-ds1302.o
|
|
obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
|
|
obj-$(CONFIG_RTC_DRV_DS1374) += rtc-ds1374.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_DS1742) += rtc-ds1742.o
|
|
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
|
|
obj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o
|
|
obj-$(CONFIG_RTC_DRV_M41T80) += rtc-m41t80.o
|
|
obj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o
|
|
obj-$(CONFIG_RTC_DRV_M48T86) += rtc-m48t86.o
|
|
obj-$(CONFIG_RTC_DRV_MAX6900) += rtc-max6900.o
|
|
obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
|
|
obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o
|
|
obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
|
|
obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
|
|
obj-$(CONFIG_RTC_DRV_PL031) += rtc-pl031.o
|
|
obj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.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_S3C) += rtc-s3c.o
|
|
obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o
|
|
obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o
|
|
obj-$(CONFIG_RTC_DRV_STK17TA8) += rtc-stk17ta8.o
|
|
obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
|
|
obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
|
|
obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o
|
|
obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o
|