mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@enneenne.com>
To: "N, Pandith" <pandith.n@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Sangannavar,
	Mallikarjunappa"  <mallikarjunappa.sangannavar@intel.com>,
	"D, Lakshmi Sowjanya" <lakshmi.sowjanya.d@intel.com>,
	"T R, Thejesh Reddy" <thejesh.reddy.t.r@intel.com>,
	"Hall, Christopher S" <christopher.s.hall@intel.com>
Subject: Re: PPS functionality for Intel Timed I/O
Date: Mon, 30 Jan 2023 14:45:27 +0100	[thread overview]
Message-ID: <fa3f1765-eb59-bf69-7f7b-14621caef6ea@enneenne.com> (raw)
In-Reply-To: <BYAPR11MB3240A86B426158623DB9983EE1D39@BYAPR11MB3240.namprd11.prod.outlook.com>

On 30/01/23 13:55, N, Pandith wrote:
> Hi Rodolfo Giometti,

Hello.

> This is regarding Intel Timed I/O device as PPS.
> 
> Intel Timed I/O is a precise device (10s of nanoseconds), that can send out pulses.
> This is needed in IoT and server applications to measure offset between system clocks on multiple devices

Can you please provide some URLs where to get further info from about this 
device? I'd like to know how this device works and its interfaces towards the CPU.

> We are planning to implement a driver, for PPS output functionality using Timed I/O device.

Great! :)

> 	1. Is there any support from PPS framework to start/stop pulse generation.
> 	If yes, can we get the Pin number, offset(start time) from user space ?

Nope, PPS signals are supposed to be always on. However you can start/stop 
pulses generation within the main driver of your device.

> 	2. Further, this device has the capability to capture the input events (pulses, nanosecond precision).
> 	The same PIN can work in either input or output mode.
> 	Can there be an PPS client driver supporting both modes ?

I'm not sure to well understand what you mean, however a PPS client is a piece 
of code that captures PPS pulses and add a timestamp to them, while a PPS 
generator is a piece of code that (precisely) generates a PPS source according 
to the system's main clock (and not according to a peripheral's clock). Hope 
I've answered to your questions, if not feel free to ask more.

Ciao,

Rodolfo

-- 
GNU/Linux Solutions                  e-mail: giometti@enneenne.com
Linux Device Driver                          giometti@linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti


  reply	other threads:[~2023-01-30 13:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30 12:55 N, Pandith
2023-01-30 13:45 ` Rodolfo Giometti [this message]
2023-01-30 14:11   ` N, Pandith
2023-01-30 14:26     ` Rodolfo Giometti
2023-02-06 10:16       ` N, Pandith
2023-02-06 10:46         ` Rodolfo Giometti
2023-02-15  7:09           ` N, Pandith
2023-02-15  7:46             ` Rodolfo Giometti
2023-10-06  5:31               ` N, Pandith
2023-10-06  6:23                 ` Rodolfo Giometti
2023-10-06  8:34                   ` andriy.shevchenko
2023-10-06  8:34                     ` andriy.shevchenko
2023-10-06  8:57                       ` Rodolfo Giometti
2023-10-06  9:06                         ` andriy.shevchenko

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=fa3f1765-eb59-bf69-7f7b-14621caef6ea@enneenne.com \
    --to=giometti@enneenne.com \
    --cc=christopher.s.hall@intel.com \
    --cc=lakshmi.sowjanya.d@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mallikarjunappa.sangannavar@intel.com \
    --cc=pandith.n@intel.com \
    --cc=thejesh.reddy.t.r@intel.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®