OpenCloudOS-Kernel/arch/sh/configs
Arnd Bergmann 09e81263e5 sh: sh03: rtc: push down rtc class ops into driver
The SH RTC support has an extra level of indirection to provide
either the old read_persistent_clock/update_persistent_clock
interface or the rtc-generic device for hctosys/systohc.

By removing the indirection and always using the RTC_CLASS interface,
we can avoid the lossy double conversion between rtc_time and timespec,
so we end up supporting the entire range of 'year' values, and clarifying
the rtc_set_time callback.

I did not change the behavior of sh03_rtc_settimeofday(), which keeps
just updating the seconds/minutes by calling set_rtc_mmss(), this
could be improved if anyone cares. Also, the file should ideally be
moved into drivers/rtc and not use rtc-generic.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-12-18 16:13:04 +01:00
..
ap325rxa_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
apsh4a3a_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
apsh4ad0a_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
cayman_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
dreamcast_defconfig sh: dreamcast: rtc: push down rtc class ops into driver 2018-12-18 16:13:04 +01:00
ecovec24-romimage_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
ecovec24_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
edosk7705_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
edosk7760_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
espt_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
hp6xx_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
j2_defconfig sh: add earlycon support to j2_defconfig 2016-10-18 18:54:56 -04:00
kfr2r09-romimage_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
kfr2r09_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
landisk_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
lboxre2_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
magicpanelr2_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
microdev_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
migor_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
polaris_defconfig firmware: Drop FIRMWARE_IN_KERNEL Kconfig option 2018-01-25 12:46:30 +01:00
r7780mp_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
r7785rp_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
rsk7201_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
rsk7203_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
rsk7264_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
rsk7269_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
rts7751r2d1_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
rts7751r2dplus_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sdk7780_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sdk7786_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7206_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7343_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7619_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7705_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7712_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7721_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7722_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7724_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7750_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7751_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
se7780_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
secureedge5410_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh03_defconfig sh: sh03: rtc: push down rtc class ops into driver 2018-12-18 16:13:04 +01:00
sh2007_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh7710voipgw_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh7724_generic_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh7757lcr_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh7763rdp_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh7770_generic_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh7785lcr_32bit_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
sh7785lcr_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
shmin_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
shx3_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
titan_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
ul2_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
urquell_defconfig sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00