Searched hist:ad89f87a84040a57c4a78ca2759b364f72f423ab (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/sh/kernel/cpu/sh3/ |
H A D | setup-sh7710.c | diff ad89f87a84040a57c4a78ca2759b364f72f423ab Fri Aug 03 00:19:58 CDT 2007 Paul Mundt <lethal@linux-sh.org> 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>
|
H A D | setup-sh7705.c | diff ad89f87a84040a57c4a78ca2759b364f72f423ab Fri Aug 03 00:19:58 CDT 2007 Paul Mundt <lethal@linux-sh.org> 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>
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-sh.c | diff ad89f87a84040a57c4a78ca2759b364f72f423ab Fri Aug 03 00:19:58 CDT 2007 Paul Mundt <lethal@linux-sh.org> 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>
|