Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-11 Thread Alexandre Belloni
Hi, On 02/06/2015 at 17:14:34 +0800, Xunlei Pang wrote : > +config RTC_SYSTOHC > + bool "Set the RTC time based on NTP synchronization" > + default y > + help > + If you say yes here, the system time (wall clock) will be stored > + in the RTC specified by

Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-11 Thread Alexandre Belloni
Hi, On 02/06/2015 at 17:14:34 +0800, Xunlei Pang wrote : +config RTC_SYSTOHC + bool Set the RTC time based on NTP synchronization + default y + help + If you say yes here, the system time (wall clock) will be stored + in the RTC specified by RTC_HCTOSYS_DEVICE

[PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-02 Thread Xunlei Pang
From: Xunlei Pang Currently, CONFIG_RTC_SYSTOHC uses CONFIG_RTC_HCTOSYS_DEVICE which is originally used by CONFIG_RTC_HCTOSYS, but this rtc device has some limiations, for example, it must be battery-backed, be able to work with irq off and through system suspension, etc. So add

[PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-02 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org Currently, CONFIG_RTC_SYSTOHC uses CONFIG_RTC_HCTOSYS_DEVICE which is originally used by CONFIG_RTC_HCTOSYS, but this rtc device has some limiations, for example, it must be battery-backed, be able to work with irq off and through system suspension, etc.

Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-01 Thread pang . xunlei
Hi Paul, Paul Bolle wrote 2015-06-01 PM 04:27:40: > > Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP > synchronization > > On Fri, 2015-05-29 at 22:46 +0800, Xunlei Pang wrote: > > --- a/drivers/rtc/Kconfig > > +++ b/drivers/rtc/Kconfig >

Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-01 Thread Paul Bolle
On Fri, 2015-05-29 at 22:46 +0800, Xunlei Pang wrote: > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > config RTC_HCTOSYS_DEVICE > string "RTC used to set the system time" > - depends on RTC_HCTOSYS = y || RTC_SYSTOHC = y > + depends on RTC_HCTOSYS = y RTC_HCTOSYS and

Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-01 Thread Paul Bolle
On Fri, 2015-05-29 at 22:46 +0800, Xunlei Pang wrote: --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig config RTC_HCTOSYS_DEVICE string RTC used to set the system time - depends on RTC_HCTOSYS = y || RTC_SYSTOHC = y + depends on RTC_HCTOSYS = y RTC_HCTOSYS and RTC_SYSTOHC

Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-01 Thread pang . xunlei
Hi Paul, Paul Bolle pebo...@tiscali.nl wrote 2015-06-01 PM 04:27:40: Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization On Fri, 2015-05-29 at 22:46 +0800, Xunlei Pang wrote: --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig config

[PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-05-29 Thread Xunlei Pang
From: Xunlei Pang Currently, CONFIG_RTC_SYSTOHC uses CONFIG_RTC_HCTOSYS_DEVICE which is originally used by CONFIG_RTC_HCTOSYS, but this rtc device has some limiations, for example, it must be battery-backed, be able to work with irq off and through system suspension, etc. So add

[PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-05-29 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org Currently, CONFIG_RTC_SYSTOHC uses CONFIG_RTC_HCTOSYS_DEVICE which is originally used by CONFIG_RTC_HCTOSYS, but this rtc device has some limiations, for example, it must be battery-backed, be able to work with irq off and through system suspension, etc.