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
Hi,
On Fri, Jan 20, 2017 at 11:56 PM, Maxime Ripard
wrote:
> Since we have to provide the clock very early on, the RTC driver cannot be
> built as a module. Make sure that won't happen.
>
> Signed-off-by: Maxime Ripard
> ---
>
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.
A first attempt at fixing that by switching to the external oscillator
The datasheet provided by Allwinner requires oscillators with an accuracy
of 50ppm. Add it to our fixed clocks so that we can properly track the
accuracy chain.
Signed-off-by: Maxime Ripard
---
arch/arm/boot/dts/sun8i-a23-a33.dtsi | 2 ++
1 file changed, 2
The RTC controls the input source of the main 32kHz oscillator in the
system, feeding it to the clock unit too.
By default, this is using an internal, very inaccurate (+/- 30%)
oscillator with a divider to make it roughly around 32kHz. This is however
quite impractical for the RTC, since our time
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 hopefully running: # echo +30 >
> >
PCF2129 does not have watchdog functionality built-in so we
are only allowing to enable watchdog for PCF2127.
Watchdog functionality is done with great inspiration from
the rtc-ds1374 driver.
Signed-off-by: Sean Nyekjaer
---
drivers/rtc/Kconfig | 7 ++
Signed-off-by: Sean Nyekjaer
---
drivers/rtc/Kconfig | 7 +++
drivers/rtc/rtc-pcf2127.c | 128 +++---
2 files changed, 129 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index
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 && shutdown -h now The system was
> powered down, but it didn't