[rtc-linux] Re: [PATCH v2 3/4] rtc: cros-ec: add cros-ec-rtc driver.

2017-01-22 Thread Alexandre Belloni
On 19/01/2017 at 13:30:31 +0100, Enric Balletbo i Serra wrote : > From: Stephen Barber > > On platforms with a Chrome OS EC, the EC can function as a simple RTC. > Add a basic driver with this functionality. > > Signed-off-by: Stephen Barber > Signed-off-by: Enric Balletbo i Serra Acked-by: A

[rtc-linux] Re: [PATCH 4/6] rtc: sun6i: Force the mux to the external oscillator

2017-01-22 Thread Alexandre Belloni
On 21/01/2017 at 11:53:08 +0800, Chen-Yu Tsai wrote : > Hi, > > On Fri, Jan 20, 2017 at 11:56 PM, Maxime Ripard > wrote: > > The internal oscillator is way too inaccurate to do something useful with > > it. Switch to the external oscillator if it is available. > > > > Signed-off-by: Maxime Ripard

[rtc-linux] Re: [PATCH 0/6] rtc: sun6i: Fix the RTC accuracy

2017-01-22 Thread Alexandre Belloni
On 20/01/2017 at 16:56:37 +0100, Maxime Ripard wrote : > Hi, > > The RTC used in the A31 and later SoC has an accuracy issue, which is > already significant even after a couple of hours. > > This is due to the fact that the oscillator used by default is an internal > and very inaccurate one. > >

[rtc-linux] Re: [PATCH 1/6] rtc: sun6i: Expose the 32kHz oscillator

2017-01-22 Thread Alexandre Belloni
Hi, On 20/01/2017 at 16:56:38 +0100, Maxime Ripard wrote : > + > + rtc = kzalloc(sizeof(*rtc), GFP_KERNEL); > + if (!rtc) > + pr_crit("Can't allocate RTC structure\n"); > + The message is unnecessary but you probably want to stop there and return. > + rtc->base = of_io_re

[rtc-linux] [PATCH 08/22] rtc: Add device tree probing to the Gemini driver

2017-01-22 Thread Linus Walleij
This adds bindings and simple probing for the Cortina Systems Gemini SoC RTC. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Cc: devicet...@vger.kernel.org Signed-off-by: Linus Walleij --- RTC maintainers: please just apply this to the RTC tree when you are plea

[rtc-linux] Re: imx6ul: power-up using the RTC

2017-01-22 Thread Guy Shapiro
On 20/01/2017 17:34, Alexandre Belloni wrote: > On 20/01/2017 at 13:12:10 +0100, Sebastian Reichel wrote : >> Hi, >> >> On Wed, Jan 18, 2017 at 04:49:11PM +0200, Guy Shapiro wrote: >>> I'm trying to use the low power RTC of the i.MX6UL to start from >>> power-off state. >>> >>> I started by hopeful

[rtc-linux] Re: imx6ul: power-up using the RTC

2017-01-22 Thread Guy Shapiro
Sorry for the bad mailer :(Resending... On 20/01/2017 14:12, Sebastian Reichel wrote: > Hi, > > On Wed, Jan 18, 2017 at 04:49:11PM +0200, Guy Shapiro wrote: >> I'm trying to use the low power RTC of the i.MX6UL to start from >> power-off state. >> >> I started by hopefully running: # echo +30

[rtc-linux] Re: imx6ul: power-up using the RTC

2017-01-22 Thread Guy Shapiro
On 20/01/2017 14:12, Sebastian Reichel wrote: > Hi, > > On Wed, Jan 18, 2017 at 04:49:11PM +0200, Guy Shapiro wrote: >> I'm trying to use the low power RTC of the i.MX6UL to start from >> power-off state. >> >> I started by hopefully running: # echo +30 > >> /sys/class/rtc/rtc0/wakealarm && shutdow

[rtc-linux] Re: imx6ul: power-up using the RTC

2017-01-22 Thread Guy Shapiro
On 20/01/2017 17:34, Alexandre Belloni wrote: > On 20/01/2017 at 13:12:10 +0100, Sebastian Reichel wrote : >> Hi, >> >> On > Wed, Jan 18, 2017 at 04:49:11PM +0200, Guy Shapiro wrote: >>> I'm trying to use the low power RTC of the i.MX6UL to start from >>> power-off state. >>> >>> I started by hope