android_kernel_xiaomi_sm8350/drivers/rtc
Paul Mundt ad89f87a84 rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712.
All SH-4 parts have a 4-digit year, while the SH-3 parts typically
only use a 2-digit one. The SH7705, SH7710, and SH7712 SH-3 parts
however opted to extend it to 4-digit and still look and act like
an SH-3 RTC in all other ways.

This adds a capability flag (RTC_CAP_4_DIGIT_YEAR) that these
corner-case CPU subtypes can set in their platform data and cleans
up some of the ifdef mess in the driver as a result.

Reported-by: Markus Brunner <super.firetwister@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-09-21 11:57:47 +09:00
..
class.c Cleanup non-arch xtime uses, use get_seconds() or current_kernel_time(). 2007-07-25 10:09:20 -07:00
hctosys.c
interface.c
Kconfig Use menuconfig objects: RTC 2007-07-31 15:39:44 -07:00
Makefile Reorder RTC Makefile 2007-07-26 11:35:17 -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-bfin.c Blackfin On-Chip RTC driver update for supporting BF54x 2007-07-15 02:33:26 +08:00
rtc-cmos.c RTC: add periodic irq support to rtc-cmos 2007-07-19 10:04:52 -07:00
rtc-core.h
rtc-dev.c rtc-dev: Make RTC driver return ENOTTY instead of ENOIOCTLCMD 2007-07-31 15:39:36 -07:00
rtc-ds1216.c RTC driver for DS1216 chips 2007-07-17 10:23:09 -07:00
rtc-ds1307.c rtc-ds1307: typo fix found by coverity 2007-07-26 11:35:16 -07:00
rtc-ds1553.c rtc: rtc-ds1553.c should use resource_size_t for base address 2007-09-19 11:24:17 -07:00
rtc-ds1672.c
rtc-ds1742.c rtc-ds1742.c should use resource_size_t for base address 2007-09-19 11:24:17 -07:00
rtc-ep93xx.c
rtc-isl1208.c
rtc-lib.c
rtc-m41t80.c correct name for rtc-m41t80 2007-08-22 19:52:45 -07:00
rtc-m48t59.c rtc-m48t59 driver NO_IRQ mode fixup 2007-07-31 15:39:44 -07:00
rtc-m48t86.c
rtc-max6900.c rtc: update and use the MAX6900 century byte 2007-07-21 17:49:17 -07:00
rtc-max6902.c rtc-max6902 minor fixes 2007-08-22 19:52:47 -07:00
rtc-omap.c
rtc-pcf8563.c
rtc-pcf8583.c
rtc-pl031.c
rtc-proc.c
rtc-rs5c313.c
rtc-rs5c348.c [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware 2007-08-27 02:16:58 +01:00
rtc-rs5c372.c rtc-rs5c372 becomes a new-style i2c driver 2007-07-17 10:23:08 -07:00
rtc-s3c.c s3c2410: fixup after arch moves 2007-07-31 15:39:36 -07:00
rtc-sa1100.c
rtc-sh.c rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712. 2007-09-21 11:57:47 +09:00
rtc-stk17ta8.c fix missing arguments in drivers/rtc/rtc-stk17ta8.c 2007-07-26 11:11:56 -07:00
rtc-sysfs.c
rtc-test.c
rtc-v3020.c RTC v3020 fixes 2007-09-11 17:21:20 -07:00
rtc-vr41xx.c
rtc-x1205.c