Hi Rodolfo,
-----Original Message-----
From: Rodolfo Giometti <giometti@xxxxxxxxxxxx>
Sent: Monday, January 30, 2023 7:57 PM
To: N, Pandith <pandith.n@xxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx; Sangannavar, Mallikarjunappa
<mallikarjunappa.sangannavar@xxxxxxxxx>; D, Lakshmi Sowjanya
<lakshmi.sowjanya.d@xxxxxxxxx>; T R, Thejesh Reddy
<thejesh.reddy.t.r@xxxxxxxxx>; Hall, Christopher S
<christopher.s.hall@xxxxxxxxx>
Subject: Re: PPS functionality for Intel Timed I/O
Within kernel sources PPS clients and PPS generators are placed into differentWe are planning to add a new PPS generator driver in drivers/pps/generators
directories, so I suppose is better to deploy two different pieces of code.
i) Can this driver use pps_register_source to register Intel Timed I/O device for pulse generation ?
ii) To start/stop pulse, we are planning to add additional sysfs attribute from our main driver.
Something like : /sys/class/ppsX/enable_pin
This is needed for users to start/stop pulse generation.
However pay attention to the fact that a PPS generator should be referred toWe can sync with the system time for pulse generation.
system's main clock and not to peripherals' clock.