2006-03-27 09:16:34 +00:00
|
|
|
#
|
|
|
|
# Makefile for RTC class/drivers.
|
|
|
|
#
|
|
|
|
|
2006-10-01 06:28:14 +00:00
|
|
|
ifeq ($(CONFIG_RTC_DEBUG),y)
|
|
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
|
|
endif
|
|
|
|
|
2006-03-27 09:16:37 +00:00
|
|
|
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
|
2006-03-27 09:16:39 +00:00
|
|
|
|
2007-05-08 07:33:27 +00:00
|
|
|
rtc-core-$(CONFIG_RTC_INTF_DEV) += rtc-dev.o
|
2007-05-08 07:33:38 +00:00
|
|
|
rtc-core-$(CONFIG_RTC_INTF_PROC) += rtc-proc.o
|
2007-05-08 07:33:33 +00:00
|
|
|
rtc-core-$(CONFIG_RTC_INTF_SYSFS) += rtc-sysfs.o
|
2007-05-08 07:33:27 +00:00
|
|
|
|
2007-07-26 17:41:08 +00:00
|
|
|
# Keep the list ordered.
|
|
|
|
|
2009-08-30 21:49:04 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_AB3100) += rtc-ab3100.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_AT32AP700X)+= rtc-at32ap700x.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
|
2008-02-06 09:38:59 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o
|
2009-01-06 22:42:18 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_AU1XXX) += rtc-au1xxx.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_BFIN) += rtc-bfin.o
|
2009-09-22 23:46:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_BQ4802) += rtc-bq4802.o
|
[PATCH] RTC framework driver for CMOS RTCs
This is an "RTC framework" driver for the "CMOS" RTCs which are standard on
PCs and some other platforms. That's MC146818 compatible silicon.
Advantages of this vs. drivers/char/rtc.c (use one _or_ the other, only
one will be able to claim the RTC irq) include:
- This leverages both the new RTC framework and the driver model; both
PNPACPI and platform device modes are supported. (A separate patch
creates a platform device on PCs where PNPACPI isn't configured.)
- It supports common extensions like longer alarms. (A separate patch
exports that information from ACPI through platform_data.)
- Likewise, system wakeup events use "real driver model support", with
policy control via sysfs "wakeup" attributes and and using normal rtc
ioctls to manage wakeup. (Patch in the works. The ACPI hooks are
known; /proc/acpi/alarm can vanish. Making it work with EFI will
be a minor challenge to someone with e.g. a MiniMac.)
It's not yet been tested on non-x86 systems, without ACPI, or with HPET.
And the RTC framework will surely have teething pains on "mainstream"
PC-based systems (though must embedded Linux systems use it heavily), not
limited to sorting out the "/dev/rtc0" issue (udev easily tweaked). Also,
the ALSA rtctimer code doesn't use the new RTC API.
Otherwise, this should be a no-known-regressions replacement for the old
drivers/char/rtc.c driver, and should help the non-embedded distros (and
the new timekeeping code) start to switch to the framework.
Note also that any systems using "rtc-m48t86" are candidates to switch over
to this more functional driver; the platform data is different, and the way
bytes are read is different, but otherwise those chips should be compatible.
[akpm@osdl.org: sparc32 fix]
[akpm@osdl.org: sparc64 fix]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Woody Suwalski <woodys@xandros.com>
Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-10 09:46:02 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o
|
2009-09-22 23:46:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_COH901331) += rtc-coh901331.o
|
2009-02-04 23:12:01 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DM355EVM) += rtc-dm355evm.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1216) += rtc-ds1216.o
|
2008-10-14 15:16:59 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1286) += rtc-ds1286.o
|
2008-02-06 09:38:44 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1302) += rtc-ds1302.o
|
2008-07-24 04:30:36 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1305) += rtc-ds1305.o
|
2006-06-25 12:48:17 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
|
2007-10-16 08:28:19 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1374) += rtc-ds1374.o
|
2008-11-12 21:27:07 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1390) += rtc-ds1390.o
|
2008-02-06 09:38:46 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1511) += rtc-ds1511.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1553) += rtc-ds1553.o
|
2006-03-27 09:16:43 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1672) += rtc-ds1672.o
|
2006-06-25 12:48:29 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1742) += rtc-ds1742.o
|
2008-10-16 05:02:57 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS3234) += rtc-ds3234.o
|
2009-03-31 22:24:48 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_EFI) += rtc-efi.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
|
2008-06-12 22:21:55 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o
|
2009-09-22 23:46:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_GENERIC) += rtc-generic.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_M41T80) += rtc-m41t80.o
|
2008-07-24 04:30:34 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_M41T94) += rtc-m41t94.o
|
2008-10-14 15:17:32 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_M48T35) += rtc-m48t35.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_M48T86) += rtc-m48t86.o
|
2009-09-22 23:46:23 +00:00
|
|
|
obj-$(CONFIG_RTC_MXC) += rtc-mxc.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX6900) += rtc-max6900.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
|
2009-01-06 22:42:24 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_MV) += rtc-mv.o
|
2006-12-07 04:38:36 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o
|
2009-09-22 23:46:27 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o
|
2006-03-27 09:16:44 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
|
2006-06-25 12:48:18 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
|
2009-09-22 23:46:20 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o
|
2009-09-22 23:46:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
|
2008-04-20 11:08:36 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PL030) += rtc-pl030.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PL031) += rtc-pl031.o
|
2009-09-22 23:46:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PS3) += rtc-ps3.o
|
2009-01-06 22:42:14 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_PXA) += rtc-pxa.o
|
2008-02-06 09:38:53 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C348) += rtc-rs5c348.o
|
2006-03-27 09:16:45 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o
|
2009-06-17 23:26:11 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_RX8025) += rtc-rx8025.o
|
2008-11-12 21:27:06 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_RX8581) += rtc-rx8581.o
|
2008-03-04 22:28:25 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_S35390A) += rtc-s35390a.o
|
2006-07-01 11:36:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o
|
2006-03-27 09:16:46 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o
|
2006-09-27 08:13:19 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o
|
2009-09-22 23:46:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_STARFIRE) += rtc-starfire.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_STK17TA8) += rtc-stk17ta8.o
|
2009-09-22 23:46:26 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_STMP) += rtc-stmp3xxx.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_SUN4V) += rtc-sun4v.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
|
2008-10-20 21:50:05 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl4030.o
|
2009-01-06 22:42:22 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_TX4939) += rtc-tx4939.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o
|
2009-08-27 17:59:05 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_WM831X) += rtc-wm831x.o
|
2008-11-12 21:27:04 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o
|
2007-07-26 17:41:08 +00:00
|
|
|
obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o
|