netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] PTP driver refactoring for SJA1105 DSA
@ 2019-10-11 23:18 Vladimir Oltean
  2019-10-11 23:18 ` [PATCH net-next 1/4] net: dsa: sja1105: Get rid of global declaration of struct ptp_clock_info Vladimir Oltean
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Vladimir Oltean @ 2019-10-11 23:18 UTC (permalink / raw)
  To: richardcochran, andrew, f.fainelli, vivien.didelot,
	jakub.kicinski, davem
  Cc: netdev, Vladimir Oltean

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(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-10-14 23:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11 23:18 [PATCH net-next 0/4] PTP driver refactoring for SJA1105 DSA Vladimir Oltean
2019-10-11 23:18 ` [PATCH net-next 1/4] net: dsa: sja1105: Get rid of global declaration of struct ptp_clock_info Vladimir Oltean
2019-10-11 23:18 ` [PATCH net-next 2/4] net: dsa: sja1105: Make all public PTP functions take dsa_switch as argument Vladimir Oltean
2019-10-11 23:18 ` [PATCH net-next 3/4] net: dsa: sja1105: Move PTP data to its own private structure Vladimir Oltean
2019-10-11 23:18 ` [PATCH net-next 4/4] net: dsa: sja1105: Change the PTP command access pattern Vladimir Oltean
2019-10-12 19:14 ` [PATCH net-next 0/4] PTP driver refactoring for SJA1105 DSA Richard Cochran
2019-10-14 23:45   ` David Miller

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).