From: Jacob Keller <jacob.e.keller@intel.com>
To: Min Li <lnimi@hotmail.com>, <richardcochran@gmail.com>
Cc: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>,
Min Li <min.li.xe@renesas.com>
Subject: Re: [PATCH net-next RFC 1/1] ptp: use extts interface for the measured external offset
Date: Mon, 13 Nov 2023 15:00:15 -0800 [thread overview]
Message-ID: <490abfce-47b6-430c-8fc1-99536284c1a6@intel.com> (raw)
In-Reply-To: <MW5PR03MB6932F6DB45F5ED179DF0BA4DA0B3A@MW5PR03MB6932.namprd03.prod.outlook.com>
On 11/13/2023 1:50 PM, Min Li wrote:
> From: Min Li <min.li.xe@renesas.com>
>
> This change is for the PHC devices that can measure the
> phase offset between PHC signal and the external signal, such
> as GNSS. With this change, ts2phc can use the existing extts
> interface to retrieve measurement offset so that the alignment
> between PHC and the external signal can be achieved.
>
> Signed-off-by: Min Li <min.li.xe@renesas.com>
> ---
Ok, so this adds a new event type "extoff" which is for eternal
timestamp offset, and it allows reporting the offset instead of the raw
time.
Userspace can request this feature via the new PTP_EXT_OFFSET flag, and
drivers will report it as a new event type.
You mention GNSS, but is there an example or a link to a driver change
you could provide to show its use?
I think the concept seems reasonable and the code seems correct.
Thanks,
Jake
next prev parent reply other threads:[~2023-11-13 23:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-13 21:50 Min Li
2023-11-13 23:00 ` Jacob Keller [this message]
2023-11-14 4:15 ` Richard Cochran
2023-11-14 16:39 ` Min Li
2023-11-14 4:14 ` 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=490abfce-47b6-430c-8fc1-99536284c1a6@intel.com \
--to=jacob.e.keller@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lnimi@hotmail.com \
--cc=min.li.xe@renesas.com \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
/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®