Message ID | 20200716212032.1024188-1-olteanv@gmail.com |
---|---|
Headers | show |
Series | Fully describe the waveform for PTP periodic output | expand |
On 7/16/2020 2:20 PM, Vladimir Oltean wrote: > 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. Nice! > > 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(-) >
On Fri, 17 Jul 2020 00:20:29 +0300 Vladimir Oltean wrote: > 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. error: patch failed: drivers/net/ethernet/mscc/ocelot_ptp.c:236 error: drivers/net/ethernet/mscc/ocelot_ptp.c: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch Applying: ptp: add ability to configure duty cycle for periodic output Applying: ptp: introduce a phase offset in the periodic output request Applying: net: mscc: ocelot: add support for PTP waveform configuration Patch failed at 0003 net: mscc: ocelot: add support for PTP waveform configuration When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".