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
..
2005-04-16 15:20:36 -07:00
2007-05-07 02:11:56 +00:00
2007-03-05 14:13:25 +09:00
2006-09-27 18:25:24 +09:00
2007-07-20 12:18:20 +09:00
2005-04-16 15:20:36 -07:00
2007-05-21 14:31:39 +09:00
2007-05-07 02:11:56 +00:00
2007-06-08 02:43:37 +00:00
2005-04-16 15:20:36 -07:00
2006-09-27 16:20:22 +09:00
2007-05-31 13:46:21 +09:00
2007-07-20 12:27:09 +09:00
2007-08-01 16:55:07 +09:00