public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] Extend rtc-armada38x support for Armada 7K/8K
Date: Mon, 20 Feb 2017 19:17:12 +0100	[thread overview]
Message-ID: <20170220181712.yejnobmj3dhm5ev6@piout.net> (raw)
In-Reply-To: <20170220175054.GP21222@n2100.armlinux.org.uk>

On 20/02/2017 at 17:50:54 +0000, Russell King - ARM Linux wrote:
> > The question being what does that do and whether it could be done in the
> > driver instead.
> 
> It's not specific to the Armada 8040, the same problem exists with
> Armada 38x, so holding this up for that reason does not make sense.
> 

I agree, I will not delay the patch for that.

> I suspect that the errata is "RTC is not reset at power up" for the RTC
> power domain.
> 
> I don't know where the value of 0x2000 comes from for the correction
> value, all I know is that's the value uboot uses with "date reset".
> We probably do _not_ want the driver writing that each time the
> kernel boots, since that's a tuning parameter.
> 

It is probably a calibration offset. It may be worth exposing to
userspace but without more information, I doubt we can make something
useful out of it.



-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

      reply	other threads:[~2017-02-20 18:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 10:19 [PATCH v2 0/3] Extend rtc-armada38x support for Armada 7K/8K Gregory CLEMENT
2017-02-17 10:19 ` [PATCH v2 1/3] rtc: armada38x: Prepare driver to manage different versions Gregory CLEMENT
2017-02-17 10:19 ` [PATCH v2 2/3] rtc: armada38x: Add support for Armada 7K/8K Gregory CLEMENT
2017-02-17 10:19 ` [PATCH v2 3/3] arm64: dts: marvell: add RTC description " Gregory CLEMENT
2017-02-20 17:06 ` [PATCH v2 0/3] Extend rtc-armada38x support " Gregory CLEMENT
2017-02-20 17:27   ` Russell King - ARM Linux
2017-02-20 17:36     ` Gregory CLEMENT
2017-02-20 17:42     ` Russell King - ARM Linux
2017-02-20 17:36   ` Alexandre Belloni
2017-02-20 17:43     ` Gregory CLEMENT
2017-02-20 17:50     ` Russell King - ARM Linux
2017-02-20 18:17       ` Alexandre Belloni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170220181712.yejnobmj3dhm5ev6@piout.net \
    --to=alexandre.belloni@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox