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-07-31 15:39:39 -07:00
2007-09-17 00:28:58 -04:00
2007-09-20 16:07:33 -04:00
2007-08-18 09:52:50 -07:00
2007-08-22 19:52:46 -07:00
2007-09-19 11:24:18 -07:00
2007-09-19 11:24:16 -07:00
2007-09-09 08:39:27 +02:00
2007-07-24 09:28:11 +02:00
2007-09-19 11:24:18 -07:00
2007-07-21 18:37:12 -07:00
2007-07-16 09:05:40 -07:00
2007-08-18 09:52:50 -07:00
2007-08-26 18:35:40 -07:00
2007-09-11 17:21:19 -07:00
2007-09-07 18:44:35 +02:00
2007-07-16 09:05:42 -07:00
2007-08-18 09:52:50 -07:00
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
2007-09-17 12:35:30 +02:00
2007-09-20 21:19:45 +02:00
2007-08-31 20:40:37 -07:00
2007-09-12 07:57:00 -07:00
2007-08-26 18:35:46 -07:00
2007-09-14 13:59:55 -07:00
2007-09-12 12:19:46 -07:00
2007-08-25 16:58:27 +10:00
2007-09-14 13:56:47 -07:00
2007-09-19 11:24:17 -07:00
2007-08-06 17:48:34 -07:00
2007-07-19 10:04:50 -07:00
2007-09-17 00:58:40 -04:00
2007-09-11 17:21:51 +02:00
2007-09-19 11:24:17 -07:00
2007-09-20 12:42:47 -07:00
2007-07-19 10:04:50 -07:00
2007-07-20 14:25:51 +10:00
2007-07-20 21:42:24 +02:00
2007-07-18 08:38:22 -07:00
2007-07-31 15:39:37 -07:00
2007-09-11 04:22:16 -07:00
2007-07-31 15:39:38 -07:00
2007-09-11 17:21:19 -07:00
2007-07-23 12:42:45 +01:00
2007-07-19 10:04:50 -07:00
2007-09-21 11:57:47 +09:00
2007-09-11 07:46:09 -07:00
2007-07-31 15:39:43 -07:00
2007-09-11 07:46:09 -07:00
2007-09-17 16:47:07 -07:00
2007-07-19 10:04:50 -07:00
2007-07-19 10:04:50 -07:00
2007-09-11 17:21:19 -07:00
2007-07-18 08:38:22 -07:00
2007-07-19 10:04:50 -07:00
2007-07-18 15:57:16 -07:00
2007-09-13 06:01:24 -07:00
2007-09-19 11:24:18 -07:00
2007-08-22 19:52:46 -07:00
2007-07-26 11:35:17 -07:00
2007-08-22 19:52:45 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00