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
..
2007-05-08 11:15:18 -07:00
2007-07-31 15:39:44 -07:00
2007-07-26 11:35:17 -07:00
2007-07-17 10:23:09 -07:00
2007-05-08 11:15:18 -07:00
2007-08-22 19:52:45 -07:00
2007-08-22 19:52:47 -07:00
2007-05-17 05:23:05 -07:00
2007-05-08 11:15:18 -07:00
2007-07-31 15:39:36 -07:00
2007-05-08 11:15:18 -07:00
2007-09-11 17:21:20 -07:00