android_kernel_xiaomi_sm8350/drivers/rtc
David Brownell c065f35c17 rtc-ds1307 becomes new-style i2c driver
Convert the rtc-ds1307 driver into a "new style" driver.

Also improve probe() checks:  be more correct about switching out of
AM/PM mode, and issue a (debug) diagnostic when failing due to bogus
register values.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Andrew Victor <andrew@sanpeople.com>
Cc: Bill Gatliff <bgat@billgatliff.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-17 10:23:09 -07:00
..
class.c rtc: update to class device removal patches 2007-05-08 11:15:18 -07:00
hctosys.c rtc: remove rest of class_device 2007-05-08 11:15:18 -07:00
interface.c rtc: remove "RTC_ALM_SET mode" bugs 2007-05-08 11:15:19 -07:00
Kconfig RTC driver for DS1216 chips 2007-07-17 10:23:09 -07:00
Makefile RTC driver for DS1216 chips 2007-07-17 10:23:09 -07:00
rtc-at32ap700x.c Driver for the Atmel on-chip RTC on AT32AP700x devices 2007-07-17 10:23:09 -07:00
rtc-at91rm9200.c rtc: suspend()/resume() restores system clock 2007-05-08 11:15:18 -07:00
rtc-bfin.c Blackfin: on-chip RTC controller driver 2007-05-07 12:12:58 -07:00
rtc-cmos.c RTC: use fallback IRQ if PNP tables don't provide one 2007-06-01 08:18:29 -07:00
rtc-core.h rtc: update to class device removal patches 2007-05-08 11:15:18 -07:00
rtc-dev.c rtc-dev: return -ENOTTY in ioctl if irq_set_freq is not implemented by driver 2007-07-17 10:23:09 -07:00
rtc-ds1216.c RTC driver for DS1216 chips 2007-07-17 10:23:09 -07:00
rtc-ds1307.c rtc-ds1307 becomes new-style i2c driver 2007-07-17 10:23:09 -07:00
rtc-ds1553.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
rtc-ds1672.c i2c: Stop using i2c_adapter.class_dev 2007-02-13 22:09:04 +01:00
rtc-ds1742.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
rtc-ep93xx.c
rtc-isl1208.c
rtc-lib.c revert "rtc: Add rtc_merge_alarm()" 2007-05-08 11:15:18 -07:00
rtc-m41t80.c rtc: watchdog support for rtc-m41t80 driver 2007-07-17 10:23:09 -07:00
rtc-m48t59.c rtc: add support for the ST M48T59 RTC 2007-07-17 10:23:09 -07:00
rtc-m48t86.c
rtc-max6900.c rtc: add RTC class driver for the Maxim MAX6900 2007-05-08 11:15:03 -07:00
rtc-max6902.c
rtc-omap.c rtc-omap build fix 2007-05-17 05:23:05 -07:00
rtc-pcf8563.c i2c: Stop using i2c_adapter.class_dev 2007-02-13 22:09:04 +01:00
rtc-pcf8583.c [ARM] rtc-pcf8583: Final fixes for this RTC on RiscPC 2007-03-04 20:33:07 +00:00
rtc-pl031.c rtc: rtc interfaces don't use class_device 2007-05-08 11:15:18 -07:00
rtc-proc.c rtc: remove rest of class_device 2007-05-08 11:15:18 -07:00
rtc-rs5c313.c rtc-rs5c313.c: add error handling to avoid hardware hangup 2007-05-11 08:29:35 -07:00
rtc-rs5c348.c
rtc-rs5c372.c rtc-rs5c372 becomes a new-style i2c driver 2007-07-17 10:23:08 -07:00
rtc-s3c.c rtc: suspend()/resume() restores system clock 2007-05-08 11:15:18 -07:00
rtc-sa1100.c rtc: rtc interfaces don't use class_device 2007-05-08 11:15:18 -07:00
rtc-sh.c rtc: rtc-sh: Fix rtc_dev pointer for rtc_update_irq(). 2007-05-09 12:37:53 +09:00
rtc-sysfs.c rtc: remove rest of class_device 2007-05-08 11:15:18 -07:00
rtc-test.c rtc: rtc interfaces don't use class_device 2007-05-08 11:15:18 -07:00
rtc-v3020.c
rtc-vr41xx.c [MIPS] separate platform_device registration for VR41xx RTC 2007-07-12 17:41:15 +01:00
rtc-x1205.c i2c: Delete outdated x1205 driver documentation 2007-07-12 14:12:28 +02:00