2006-03-27 17:16:34 +08:00
|
|
|
#
|
|
|
|
# Makefile for RTC class/drivers.
|
|
|
|
#
|
|
|
|
|
2011-01-14 22:12:48 +08:00
|
|
|
ccflags-$(CONFIG_RTC_DEBUG) := -DDEBUG
|
2006-10-01 14:28:14 +08:00
|
|
|
|
2006-03-27 17:16:37 +08:00
|
|
|
obj-$(CONFIG_RTC_LIB) += rtc-lib.o
|
|
|
|
obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o
|
2012-12-18 05:30:53 +08:00
|
|
|
obj-$(CONFIG_RTC_SYSTOHC) += systohc.o
|
2006-03-27 17:16:37 +08:00
|
|
|
obj-$(CONFIG_RTC_CLASS) += rtc-core.o
|
|
|
|
rtc-core-y := class.o interface.o
|
2006-03-27 17:16:39 +08:00
|
|
|
|
2014-08-09 05:20:14 +08:00
|
|
|
ifdef CONFIG_RTC_DRV_EFI
|
|
|
|
rtc-core-y += rtc-efi-platform.o
|
|
|
|
endif
|
|
|
|
|
2007-05-08 15:33:27 +08:00
|
|
|
rtc-core-$(CONFIG_RTC_INTF_DEV) += rtc-dev.o
|
2007-05-08 15:33:38 +08:00
|
|
|
rtc-core-$(CONFIG_RTC_INTF_PROC) += rtc-proc.o
|
2007-05-08 15:33:33 +08:00
|
|
|
rtc-core-$(CONFIG_RTC_INTF_SYSFS) += rtc-sysfs.o
|
2007-05-08 15:33:27 +08:00
|
|
|
|
2007-07-27 01:41:08 +08:00
|
|
|
# Keep the list ordered.
|
|
|
|
|
2011-05-06 17:21:20 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_88PM860X) += rtc-88pm860x.o
|
2012-07-09 14:37:34 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_88PM80X) += rtc-88pm80x.o
|
2009-08-31 05:49:04 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_AB3100) += rtc-ab3100.o
|
2010-05-27 05:42:14 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_AB8500) += rtc-ab8500.o
|
2015-02-14 06:41:00 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_ABB5ZES3) += rtc-ab-b5ze-s3.o
|
2015-05-06 07:23:44 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_ABX80X) += rtc-abx80x.o
|
2015-02-14 06:41:11 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_ARMADA38X) += rtc-armada38x.o
|
2013-11-13 07:11:05 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_AS3722) += rtc-as3722.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_AT32AP700X)+= rtc-at32ap700x.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
|
2008-02-06 17:38:59 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o
|
2009-01-07 06:42:18 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_AU1XXX) += rtc-au1xxx.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_BFIN) += rtc-bfin.o
|
2009-12-16 08:46:12 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_BQ32K) += rtc-bq32k.o
|
2009-09-23 07:46:26 +08: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 17:46:02 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o
|
2009-09-23 07:46:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_COH901331) += rtc-coh901331.o
|
2012-03-24 06:02:36 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DA9052) += rtc-da9052.o
|
2012-12-18 08:02:53 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DA9055) += rtc-da9055.o
|
2014-06-07 05:36:03 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DA9063) += rtc-da9063.o
|
2009-11-05 22:51:34 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DAVINCI) += rtc-davinci.o
|
2015-04-17 03:45:40 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DIGICOLOR) += rtc-digicolor.o
|
2009-02-05 07:12:01 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DM355EVM) += rtc-dm355evm.o
|
2010-11-11 01:29:17 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_VRTC) += rtc-mrst.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1216) += rtc-ds1216.o
|
2008-10-14 23:16:59 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1286) += rtc-ds1286.o
|
2008-02-06 17:38:44 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1302) += rtc-ds1302.o
|
2008-07-24 12:30:36 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1305) += rtc-ds1305.o
|
2006-06-25 20:48:17 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
|
2014-06-07 05:35:59 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1343) += rtc-ds1343.o
|
2014-04-04 05:50:16 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1347) += rtc-ds1347.o
|
2007-10-16 16:28:19 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1374) += rtc-ds1374.o
|
2008-11-13 05:27:07 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1390) += rtc-ds1390.o
|
2008-02-06 17:38:46 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1511) += rtc-ds1511.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1553) += rtc-ds1553.o
|
2006-03-27 17:16:43 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1672) += rtc-ds1672.o
|
2015-02-17 08:00:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1685_FAMILY) += rtc-ds1685.o
|
2006-06-25 20:48:29 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS1742) += rtc-ds1742.o
|
2012-10-05 08:13:47 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS2404) += rtc-ds2404.o
|
2010-08-11 09:02:20 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS3232) += rtc-ds3232.o
|
2008-10-16 13:02:57 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_DS3234) += rtc-ds3234.o
|
2009-04-01 06:24:48 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_EFI) += rtc-efi.o
|
2011-05-27 07:25:04 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_EM3027) += rtc-em3027.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
|
2008-06-13 06:21:55 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o
|
2009-09-23 07:46:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_GENERIC) += rtc-generic.o
|
2012-12-15 20:45:00 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_HID_SENSOR_TIME) += rtc-hid-sensor-time.o
|
2014-01-24 07:55:10 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_HYM8563) += rtc-hym8563.o
|
2010-08-11 09:02:13 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_IMXDI) += rtc-imxdi.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o
|
2010-08-11 09:02:14 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_ISL12022) += rtc-isl12022.o
|
2013-12-20 06:27:28 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_ISL12057) += rtc-isl12057.o
|
2010-06-20 02:29:50 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_JZ4740) += rtc-jz4740.o
|
2013-02-22 08:44:32 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_LP8788) += rtc-lp8788.o
|
2010-10-28 06:33:01 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_LPC32XX) += rtc-lpc32xx.o
|
2012-03-24 06:02:32 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_LOONGSON1) += rtc-ls1x.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_M41T80) += rtc-m41t80.o
|
2011-05-27 07:25:07 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_M41T93) += rtc-m41t93.o
|
2008-07-24 12:30:34 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_M41T94) += rtc-m41t94.o
|
2008-10-14 23:17:32 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_M48T35) += rtc-m48t35.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_M48T59) += rtc-m48t59.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_M48T86) += rtc-m48t86.o
|
2012-05-30 06:07:37 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MXC) += rtc-mxc.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX6900) += rtc-max6900.o
|
2012-10-05 08:13:56 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o
|
2010-01-25 19:30:29 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX8925) += rtc-max8925.o
|
2010-08-06 10:28:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX8998) += rtc-max8998.o
|
2013-02-22 08:45:07 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX8997) += rtc-max8997.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
|
2013-02-22 08:44:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX77686) += rtc-max77686.o
|
2014-10-14 06:53:05 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MAX77802) += rtc-max77802.o
|
2010-10-28 18:30:53 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MC13XXX) += rtc-mc13xxx.o
|
2014-06-07 05:36:02 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MCP795) += rtc-mcp795.o
|
2009-03-19 06:29:27 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MSM6242) += rtc-msm6242.o
|
2010-02-17 01:47:35 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MPC5121) += rtc-mpc5121.o
|
2009-01-07 06:42:24 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MV) += rtc-mv.o
|
2009-12-16 08:46:17 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_NUC900) += rtc-nuc900.o
|
2014-10-14 16:38:36 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_OPAL) += rtc-opal.o
|
2006-12-07 12:38:36 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o
|
2013-01-03 18:47:00 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PALMAS) += rtc-palmas.o
|
2009-09-23 07:46:27 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o
|
2013-07-04 06:08:01 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF2127) += rtc-pcf2127.o
|
2012-12-18 08:02:44 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF8523) += rtc-pcf8523.o
|
2006-03-27 17:16:44 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
|
2014-08-09 05:20:22 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF85063) += rtc-pcf85063.o
|
2006-06-25 20:48:18 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
|
2009-09-23 07:46:20 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o
|
2009-09-23 07:46:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
|
2008-04-20 19:08:36 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PL030) += rtc-pl030.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PL031) += rtc-pl031.o
|
2011-07-26 08:13:33 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PM8XXX) += rtc-pm8xxx.o
|
2009-09-23 07:46:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PS3) += rtc-ps3.o
|
2011-05-26 16:43:27 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PUV3) += rtc-puv3.o
|
2009-01-07 06:42:14 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_PXA) += rtc-pxa.o
|
2008-02-06 17:38:53 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.o
|
2012-10-05 08:14:04 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RC5T583) += rtc-rc5t583.o
|
2014-10-14 06:52:42 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RK808) += rtc-rk808.o
|
2009-03-19 06:29:27 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RP5C01) += rtc-rp5c01.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C348) += rtc-rs5c348.o
|
2006-03-27 17:16:45 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o
|
2011-05-27 07:25:05 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RV3029C2) += rtc-rv3029c2.o
|
2013-02-22 08:44:40 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RX4581) += rtc-rx4581.o
|
2009-06-18 07:26:11 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RX8025) += rtc-rx8025.o
|
2008-11-13 05:27:06 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_RX8581) += rtc-rx8581.o
|
2008-03-05 06:28:25 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_S35390A) += rtc-s35390a.o
|
2006-07-01 19:36:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o
|
2013-11-13 07:11:04 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_S5M) += rtc-s5m.o
|
2006-03-27 17:16:46 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o
|
2006-09-27 16:13:19 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o
|
2012-10-05 08:13:49 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_SNVS) += rtc-snvs.o
|
2011-05-27 07:25:09 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_SPEAR) += rtc-spear.o
|
2009-09-23 07:46:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_STARFIRE) += rtc-starfire.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_STK17TA8) += rtc-stk17ta8.o
|
2009-09-23 07:46:26 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_STMP) += rtc-stmp3xxx.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_SUN4V) += rtc-sun4v.o
|
2014-08-26 11:54:55 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_SUN6I) += rtc-sun6i.o
|
2013-11-17 01:33:54 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_SUNXI) += rtc-sunxi.o
|
2011-03-23 07:34:55 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TEGRA) += rtc-tegra.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
|
2011-05-10 01:28:43 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TILE) += rtc-tile.o
|
2009-12-14 03:05:51 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl.o
|
2013-01-05 07:35:44 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TPS6586X) += rtc-tps6586x.o
|
2012-10-05 08:13:55 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
|
2013-02-22 08:44:34 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TPS80031) += rtc-tps80031.o
|
2009-01-07 06:42:22 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_TX4939) += rtc-tx4939.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
|
|
|
|
obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o
|
2011-05-27 07:25:03 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o
|
2009-08-28 01:59:05 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_WM831X) += rtc-wm831x.o
|
2008-11-13 05:27:04 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o
|
2007-07-27 01:41:08 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o
|
2014-06-07 05:35:42 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_XGENE) += rtc-xgene.o
|
2013-07-04 06:08:04 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_SIRFSOC) += rtc-sirfsoc.o
|
2015-04-09 22:47:33 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_ST_LPC) += rtc-st-lpc.o
|
2013-09-12 05:24:17 +08:00
|
|
|
obj-$(CONFIG_RTC_DRV_MOXART) += rtc-moxart.o
|