2006-03-27 02:16:34 -07:00
|
|
|
#
|
|
|
|
# Makefile for RTC class/drivers.
|
|
|
|
#
|
|
|
|
|
2006-10-01 00:28:14 -06:00
|
|
|
ifeq ($(CONFIG_RTC_DEBUG),y)
|
|
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
|
|
endif
|
|
|
|
|
2006-03-27 02:16:37 -07: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 02:16:39 -07:00
|
|
|
|
|
|
|
obj-$(CONFIG_RTC_INTF_SYSFS) += rtc-sysfs.o
|
2006-03-27 02:16:40 -07:00
|
|
|
obj-$(CONFIG_RTC_INTF_PROC) += rtc-proc.o
|
2006-03-27 02:16:41 -07:00
|
|
|
obj-$(CONFIG_RTC_INTF_DEV) += rtc-dev.o
|
2006-03-27 02:16:42 -07:00
|
|
|
|
[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 02:46:02 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o
|
2006-03-27 02:16:42 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o
|
2006-07-14 01:24:11 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o
|
2006-03-27 02:16:42 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
|
2006-06-25 06:48:17 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
|
2006-03-27 02:16:43 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1672) += rtc-ds1672.o
|
2006-06-25 06:48:29 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1742) += rtc-ds1742.o
|
2006-12-06 21:38:36 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o
|
2006-03-27 02:16:44 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
|
2006-06-25 06:48:18 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
|
2006-03-27 02:16:45 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o
|
2006-07-01 05:36:26 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o
|
2006-06-28 05:26:47 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C348) += rtc-rs5c348.o
|
2006-03-27 02:16:47 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_M48T86) += rtc-m48t86.o
|
2006-06-25 06:48:28 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1553) += rtc-ds1553.o
|
2006-03-27 02:16:45 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
|
2006-03-27 02:16:46 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o
|
2006-04-10 23:54:47 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o
|
2006-06-25 06:47:38 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_PL031) += rtc-pl031.o
|
2006-06-25 06:48:23 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
|
2006-06-25 06:48:24 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
|
2006-12-10 03:19:03 -07:00
|
|
|
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
|
2006-09-27 02:13:19 -06:00
|
|
|
obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o
|