Sebastian Andrzej Siewior
3bcbaf6e08
rtc: cmos: Add OF bindings
...
This allows to load the OF driver based informations from the device
tree. Systems without BIOS may need to perform some initialization.
PowerPC creates a PNP device from the OF information and performs this
kind of initialization in their private PCI quirk. This looks more
generic.
This patch also avoids registering the platform RTC driver on X86 if
we have a device tree blob. Otherwise we would setup the device based
on the hardcoded information in arch/x86 rather than the device tree
based one.
[ tglx: Changed "int of_have_populated_dt()" to bool as recommended by
Grant ]
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: sodaville@linutronix.de
Cc: devicetree-discuss@lists.ozlabs.org
Cc: rtc-linux@googlegroups.com
Cc: Alessandro Zummo <a.zummo@towertech.it>
LKML-Reference: <1298405266-1624-12-git-send-email-bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-02-23 22:27:55 +01:00
..
class.c
RTC: Prevents a division by zero in kernel code.
2011-02-03 12:59:50 -08:00
hctosys.c
interface.c
RTC: Re-enable UIE timer/polling emulation
2011-02-17 14:59:42 -08:00
Kconfig
RTC: Revert UIE emulation removal
2011-02-17 14:59:41 -08:00
Makefile
rtc: Add drivers/rtc/rtc-mrst.c
2010-11-11 11:34:27 +01:00
rtc-ab3100.c
drivers/rtc/rtc-ab3100.c: add missing platform_set_drvdata() in ab3100_rtc_probe()
2010-09-22 17:22:39 -07:00
rtc-ab8500.c
mfd: Align ab8500 with the abx500 interface
2010-10-29 00:29:19 +02:00
rtc-at32ap700x.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-at91rm9200.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-at91sam9.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-au1xxx.c
rtc-bfin.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-bq32k.c
rtc-bq4802.c
rtc-cmos.c
rtc: cmos: Add OF bindings
2011-02-23 22:27:55 +01:00
rtc-coh901331.c
rtc-core.h
rtc-davinci.c
davinci: update gfp/slab.h includes
2010-06-28 10:19:19 +10:00
rtc-dev.c
RTC: Re-enable UIE timer/polling emulation
2011-02-17 14:59:42 -08:00
rtc-dm355evm.c
rtc-ds1216.c
rtc-ds1286.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-ds1302.c
sh: mach-snapgear: Kill off machtype, consolidate board def.
2010-10-29 19:06:53 +09:00
rtc-ds1305.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-ds1307.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-ds1374.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-ds1390.c
rtc-ds1511.c
sysfs: add struct file* to bin_attr callbacks
2010-05-21 09:37:31 -07:00
rtc-ds1553.c
sysfs: add struct file* to bin_attr callbacks
2010-05-21 09:37:31 -07:00
rtc-ds1672.c
rtc-ds1742.c
sysfs: add struct file* to bin_attr callbacks
2010-05-21 09:37:31 -07:00
rtc-ds3232.c
rtc: don't use flush_scheduled_work()
2010-12-24 16:00:17 +01:00
rtc-ds3234.c
rtc-efi.c
rtc-ep93xx.c
rtc-fm3130.c
rtc: fixes and new functionality for fm3130
2010-08-11 08:59:07 -07:00
rtc-generic.c
rtc-imxdi.c
rtc: driver for the DryIce block found in i.MX25 chips
2010-08-11 08:59:07 -07:00
rtc-isl1208.c
rtc-isl1208: use sysfs_{create/remove}_group
2010-05-25 08:07:08 -07:00
rtc-isl12022.c
rtc-isl12022: properly handle military hour format
2010-08-11 08:59:08 -07:00
rtc-jz4740.c
drivers/rtc/rtc-jz4740.c: add alarm function
2010-10-27 18:03:06 -07:00
rtc-lib.c
RTC: Rework RTC code to use timerqueue for events
2010-12-10 22:24:24 -08:00
rtc-lpc32xx.c
rtc: rtc-lpc32xx: introduce RTC driver for the LPC32XX SoC
2010-10-27 18:03:05 -07:00
rtc-m41t80.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-m41t94.c
rtc-m48t35.c
rtc-m48t59.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-m48t86.c
rtc/m48t86: use rtc_valid_tm() to check returned tm
2010-08-11 08:59:07 -07:00
rtc-max6900.c
rtc/max6900: use rtc_valid_tm() to check returning tm
2010-08-11 08:59:07 -07:00
rtc-max6902.c
rtc: rtc-max6902 - set driver data in max6902_probe()
2011-01-13 08:03:12 -08:00
rtc-max8925.c
rtc-max8998.c
mfd: Support LP3974 RTC
2011-01-14 12:38:16 +01:00
rtc-mc13xxx.c
rtc: Add support for the rtc found in the MC13892 PMIC
2010-10-29 00:30:01 +02:00
rtc-mpc5121.c
of/device: Replace struct of_device with struct platform_device
2010-08-06 09:25:50 -06:00
rtc-mrst.c
Merge branch 'linus' into x86/platform
2011-02-23 09:21:41 +01:00
rtc-msm6242.c
RTC: Fix minor compile warning
2011-02-03 13:02:50 -08:00
rtc-mv.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-mxc.c
rtc/rtc-mxc: remove six unused fields
2010-08-11 08:59:06 -07:00
rtc-nuc900.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-10-24 13:41:39 -07:00
rtc-omap.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-pcap.c
rtc-pcf2123.c
rtc-pcf8563.c
drivers/rtc/rtc-pcf8563.c: remove unused struct
2010-08-11 08:59:06 -07:00
rtc-pcf8583.c
rtc-pcf50633.c
rtc-pl030.c
rtc-pl031.c
drivers/rtc/rtc-pl031.c: do not mark PL031 IRQ as shared
2010-09-09 18:57:24 -07:00
rtc-proc.c
drivers/rtc/rtc-proc.c: add module_put on error path in rtc_proc_open()
2011-02-11 16:12:20 -08:00
rtc-ps3.c
rtc-pxa.c
rtc/pxa: remove unnecessary private ops->ioctl()
2010-08-11 08:59:07 -07:00
rtc-r9701.c
rtc-rp5c01.c
RTC: Fix minor compile warning
2011-02-03 13:02:50 -08:00
rtc-rs5c313.c
rtc: rtc-rs5c313: ctrl_in/outX to __raw_read/writeX conversion.
2010-10-27 15:30:32 +09:00
rtc-rs5c348.c
rtc-rs5c372.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-rx8025.c
rtc: don't use flush_scheduled_work()
2010-12-24 16:00:17 +01:00
rtc-rx8581.c
drivers/rtc/rtc-rx8581.c: fix setdatetime
2010-07-27 14:32:06 -07:00
rtc-s3c.c
rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime()
2010-10-27 18:03:06 -07:00
rtc-s35390a.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
2010-06-03 11:33:58 +02:00
rtc-sa1100.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-sh.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-starfire.c
rtc-stk17ta8.c
sysfs: add struct file* to bin_attr callbacks
2010-05-21 09:37:31 -07:00
rtc-stmp3xxx.c
rtc-sun4v.c
rtc-sysfs.c
rtc-test.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-twl.c
rtc-tx4939.c
sysfs: add struct file* to bin_attr callbacks
2010-05-21 09:37:31 -07:00
rtc-v3020.c
rtc-vr41xx.c
RTC: Convert rtc drivers to use the alarm_irq_enable method
2011-02-03 13:02:35 -08:00
rtc-wm831x.c
rtc: use genirq directly in rtc-wm831x
2010-05-25 08:07:08 -07:00
rtc-wm8350.c
rtc-x1205.c