PTP driver refactoring for SJA1105 DSA
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: dsa: sja1105: Get rid of global declaration of struct ptp_clock_infodrivers/ | +14 | 0 replies | |
| 2/4 | net: dsa: sja1105: Make all public PTP functions take dsa_switch as argumentdrivers/ drivers/ drivers/ +2 more | +37 | 0 replies | |
| 3/4 | net: dsa: sja1105: Move PTP data to its own private structuredrivers/ drivers/ drivers/ +1 more | +335 | 0 replies | |
| 4/4 | net: dsa: sja1105: Change the PTP command access patterndrivers/ drivers/ drivers/ | +18 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard Cochran |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/4] PTP driver refactoring for SJA1105 DSA
This series creates a better separation between the driver core and the PTP portion. Therefore, users who are not interested in PTP can get a simpler and smaller driver by compiling it out.
This is in preparation for further patches: SPI transfer timestamping, synchronizing the hardware clock (as opposed to keeping it free-running), PPS input/output, etc.
Vladimir Oltean (4):
net: dsa: sja1105: Get rid of global declaration of struct
ptp_clock_info
net: dsa: sja1105: Make all public PTP functions take dsa_switch as
argument
net: dsa: sja1105: Move PTP data to its own private structure
net: dsa: sja1105: Change the PTP command access pattern
drivers/net/dsa/sja1105/sja1105.h | 16 +- drivers/net/dsa/sja1105/sja1105_main.c | 234 +-------------- drivers/net/dsa/sja1105/sja1105_ptp.c | 391 ++++++++++++++++++++----- drivers/net/dsa/sja1105/sja1105_ptp.h | 84 ++++-- drivers/net/dsa/sja1105/sja1105_spi.c | 2 +- 5 files changed, 386 insertions(+), 341 deletions(-)
Signature · 1 line
2.17.1