Skip to content

rtc: rtc-hid-sensor-time

Alexander Holler lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rtc: rtc-hid-sensor-time: allow full years (16bit) in HID reportsdrivers/rtc/rtc-hid-sensor-time.c+26 -70 replies
1/3RFC: timekeeping: introduce flag systime_was_setinclude/linux/time.h kernel/time/timekeeping.c+15 -10 replies
1/3RFC: timekeeping: introduce flag systime_was_setinclude/linux/time.h kernel/time/timekeeping.c+15 -10 replies
2/3rtc: rtc-hid-sensor-time: allow 16 and 32 bit values for all attributes.drivers/rtc/rtc-hid-sensor-time.c+32 -270 replies
2/3RFC: timekeeping: rtc: Introduce new kernel parameter hctosysDocumentation/kernel-parameters.txt drivers/rtc/class.c include/linux/time.h +1 more+80 -10 replies
3/3rtc: rtc-hid-sensor-time; add option hctosys to set time at bootdrivers/rtc/rtc-hid-sensor-time.c+72 -067 replies
3/3RFC: timekeeping: rtc: remove CONFIG_RTC_HCTOSYS and RTC_HCTOSYS_DEVICEDocumentation/rtc.txt drivers/rtc/Kconfig drivers/rtc/Makefile +6 more+34 -1590 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] rtc: rtc-hid-sensor-time

Hello,

as I'm not sure if the maintainer of the RTC subsystem is active again, I've added the people which where involved with rtc-hid-sensor-time before to cc too. That might be a good idea even he is active again, as the driver depends on hid-sensor-hub and as such works a bit outside the stuff other RTC drivers do use.

This small series of patches do extend the driver a bit. They make the driver more standard (draft) compliant and I've added a replacement for the usual hctosys, because that isn't usable with this driver.

I've already send the first patch two weeks before (unchanged) therefor I've marked it as RESEND (see https://lkml.org/lkml/2013/4/5/177 ).

Actually I wanted to have added another patch to adjust the system time too (when the clock sends HID reports which are including milliseconds regulary by itself), but I have to read about the in-kernel timekeeping (kernel/time/timekeeping.c, kernel/time/ntp.c) for that and I don't know if I will find the time without missing the next merge window.

Personally I would like if they went into 3.9 too, but beeing realistic, I'm happy if they end up in 3.11. ;)

If someone is curious about my other side of that driver, I've setup a website with explanations and source which should make it easy build a similiar hot-pluggable RTC: http://ahsoftware.de/dcf77-hid-usb-rtc/

Regards,

Alexander