From: Vladimir Oltean <olteanv@gmail.com>
To: kuba@kernel.org, davem@davemloft.net, netdev@vger.kernel.org
Cc: richardcochran@gmail.com, jacob.e.keller@intel.com,
yangbo.lu@nxp.com, xiaoliang.yang_1@nxp.com, po.liu@nxp.com,
UNGLinuxDriver@microchip.com
Subject: [PATCH net-next 0/3] Fully describe the waveform for PTP periodic output
Date: Fri, 17 Jul 2020 00:20:29 +0300 [thread overview]
Message-ID: <20200716212032.1024188-1-olteanv@gmail.com> (raw)
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
next reply other threads:[~2020-07-16 21:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-16 21:20 Vladimir Oltean [this message]
2020-07-16 21:20 ` [PATCH net-next 1/3] ptp: add ability to configure duty cycle for periodic output Vladimir Oltean
2020-07-16 21:36 ` Jacob Keller
2020-07-16 21:49 ` Vladimir Oltean
2020-07-16 22:09 ` Vladimir Oltean
2020-07-16 23:56 ` Jacob Keller
2020-07-16 21:20 ` [PATCH net-next 2/3] ptp: introduce a phase offset in the periodic output request Vladimir Oltean
2020-07-16 21:40 ` Jacob Keller
2020-07-16 21:20 ` [PATCH net-next 3/3] net: mscc: ocelot: add support for PTP waveform configuration Vladimir Oltean
2020-07-16 21:36 ` Vladimir Oltean
2020-07-16 22:29 ` Jakub Kicinski
2020-07-16 21:31 ` [PATCH net-next 0/3] Fully describe the waveform for PTP periodic output Jacob Keller
2020-07-16 22:28 ` Jakub Kicinski
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=20200716212032.1024188-1-olteanv@gmail.com \
--to=olteanv@gmail.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=davem@davemloft.net \
--cc=jacob.e.keller@intel.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=po.liu@nxp.com \
--cc=richardcochran@gmail.com \
--cc=xiaoliang.yang_1@nxp.com \
--cc=yangbo.lu@nxp.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;
as well as URLs for NNTP newsgroup(s).