[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191011231816.7888-1-olteanv@gmail.com>
Date: Sat, 12 Oct 2019 02:18:12 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: richardcochran@...il.com, andrew@...n.ch, f.fainelli@...il.com,
vivien.didelot@...il.com, jakub.kicinski@...ronome.com,
davem@...emloft.net
Cc: netdev@...r.kernel.org, Vladimir Oltean <olteanv@...il.com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists