netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/3] Fully describe the waveform for PTP periodic output
@ 2020-07-16 22:45 Vladimir Oltean
  2020-07-16 22:45 ` [PATCH v2 net-next 1/3] ptp: add ability to configure duty cycle for " Vladimir Oltean
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Vladimir Oltean @ 2020-07-16 22:45 UTC (permalink / raw)
  To: kuba, davem, netdev
  Cc: richardcochran, jacob.e.keller, yangbo.lu, xiaoliang.yang_1,
	po.liu, UNGLinuxDriver

While using the ancillary pin functionality of PTP hardware clocks to
synchronize multiple DSA switches on a board, a need arised to be able
to configure the duty cycle of the master of this PPS hierarchy.

Also, the PPS master is not able to emit PPS starting from arbitrary
absolute times, so a new flag is introduced to support such hardware
without making guesses.

With these patches, struct ptp_perout_request now basically describes a
general-purpose square wave.

Changes in v2:
Made sure this applies to net-next.

Vladimir Oltean (3):
  ptp: add ability to configure duty cycle for periodic output
  ptp: introduce a phase offset in the periodic output request
  net: mscc: ocelot: add support for PTP waveform configuration

 drivers/net/ethernet/mscc/ocelot_ptp.c | 74 +++++++++++++++++---------
 drivers/ptp/ptp_chardev.c              | 33 +++++++++---
 include/uapi/linux/ptp_clock.h         | 34 ++++++++++--
 3 files changed, 107 insertions(+), 34 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-07-20 14:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 22:45 [PATCH v2 net-next 0/3] Fully describe the waveform for PTP periodic output Vladimir Oltean
2020-07-16 22:45 ` [PATCH v2 net-next 1/3] ptp: add ability to configure duty cycle for " Vladimir Oltean
2020-07-16 22:45 ` [PATCH v2 net-next 2/3] ptp: introduce a phase offset in the periodic output request Vladimir Oltean
2020-07-16 22:45 ` [PATCH v2 net-next 3/3] net: mscc: ocelot: add support for PTP waveform configuration Vladimir Oltean
2020-07-17 13:43   ` Horatiu Vultur
2020-07-20  2:24 ` [PATCH v2 net-next 0/3] Fully describe the waveform for PTP periodic output David Miller
2020-07-20 14:11 ` Richard Cochran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).