linux/arch/sh/kernel/cpu/sh3
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
..
clock-sh3.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
clock-sh7705.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
clock-sh7706.c sh: Add support for SH7706/SH7710/SH7343 CPUs. 2006-09-27 17:38:11 +09:00
clock-sh7709.c sh: Clock framework tidying. 2006-12-06 10:45:40 +09:00
clock-sh7710.c sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
entry.S sh: Fix lockdep debugging oops on SH-3/4. 2007-08-01 16:17:07 +09:00
ex.S sh: Share exception vector table for SH-3/4. 2007-05-09 01:35:01 +00:00
Makefile sh: intc - add support for SH7706, SH7707, SH7708, SH7709 2007-09-21 11:57:46 +09:00
probe.c sh: MS7712SE01 board support. 2007-05-07 02:10:54 +00:00
setup-sh770x.c sh: intc - fix IRQ4 and IRQ5 typo on sh3 2007-09-21 11:57:47 +09:00
setup-sh7705.c rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712. 2007-09-21 11:57:47 +09:00
setup-sh7710.c rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712. 2007-09-21 11:57:47 +09:00