From: Richard Cochran <richardcochran@gmail.com>
To: "Csókás, Bence" <csokas.bence@prolan.hu>
Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org,
"Szentendrei, Tamás" <szentendrei.tamas@prolan.hu>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Miroslav Lichvar" <mlichvar@redhat.com>
Subject: Re: [RFC PATCH v2] rtc: pcf2127: Add PPS capability through Seconds Interrupt
Date: Tue, 11 Jun 2024 22:06:39 -0700 [thread overview]
Message-ID: <Zmks31shpsnoLQ3k@hoboy.vegasvil.org> (raw)
In-Reply-To: <20240611150458.684349-1-csokas.bence@prolan.hu>
(adding Miroslav onto CC)
On Tue, Jun 11, 2024 at 05:04:57PM +0200, Csókás, Bence wrote:
> PCF2127/29/31 is capable of generating an interrupt on every
> second (SI) or minute (MI) change. It signals this through
> the Minute/Second Flag (MSF) as well, which needs to be cleared.
This is a RFC, and my comment is that a PPS from an RTC is not useful
to the Linux kernel.
The kernel only uses the RTC to boot strap the wall clock to some
approximate phase.
After that, Linux either continues with a free running clock, or it
synchronizes to a global time source via NTP. In the latter case,
Linux will write the NTP time back into the RTC.
So I can't see how the RTC's PPS provides any benefit.
Thanks,
Richard
next prev parent reply other threads:[~2024-06-12 5:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 15:04 Csókás, Bence
2024-06-12 5:06 ` Richard Cochran [this message]
2024-06-12 7:50 ` Miroslav Lichvar
2024-06-12 9:16 ` Csókás Bence
2024-06-12 11:01 ` Alexandre Belloni
2024-06-13 3:25 ` Richard Cochran
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=Zmks31shpsnoLQ3k@hoboy.vegasvil.org \
--to=richardcochran@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=csokas.bence@prolan.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=mlichvar@redhat.com \
--cc=szentendrei.tamas@prolan.hu \
/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
all inboxes | Powered by JetHome®