[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200716212032.1024188-1-olteanv@gmail.com>
Date: Fri, 17 Jul 2020 00:20:29 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: kuba@...nel.org, davem@...emloft.net, netdev@...r.kernel.org
Cc: richardcochran@...il.com, jacob.e.keller@...el.com,
yangbo.lu@....com, xiaoliang.yang_1@....com, po.liu@....com,
UNGLinuxDriver@...rochip.com
Subject: [PATCH net-next 0/3] Fully describe the waveform for PTP periodic output
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.
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
Powered by blists - more mailing lists