mbox series

[net-next,0/4] PTP_CLK pin configuration for SJA1105 DSA driver

Message ID 20200323225924.14347-1-olteanv@gmail.com
Headers show
Series PTP_CLK pin configuration for SJA1105 DSA driver | expand

Message

Vladimir Oltean March 23, 2020, 10:59 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This series adds support for the PTP_CLK pin on SJA1105 to be configured
via the PTP subsystem, in the "periodic output" and "external timestamp
input" modes.

Vladimir Oltean (4):
  net: dsa: sja1105: unconditionally set DESTMETA and SRCMETA in AVB
    table
  net: dsa: sja1105: make future_base_time a common helper
  net: dsa: sja1105: make the AVB table dynamically reconfigurable
  net: dsa: sja1105: configure the PTP_CLK pin as EXT_TS or PER_OUT

 drivers/net/dsa/sja1105/sja1105.h             |   5 +
 .../net/dsa/sja1105/sja1105_dynamic_config.c  |  24 +-
 drivers/net/dsa/sja1105/sja1105_main.c        |  40 +++
 drivers/net/dsa/sja1105/sja1105_ptp.c         | 285 +++++++++++++++---
 drivers/net/dsa/sja1105/sja1105_ptp.h         |  31 ++
 drivers/net/dsa/sja1105/sja1105_spi.c         |   5 +
 .../net/dsa/sja1105/sja1105_static_config.c   |   5 +-
 .../net/dsa/sja1105/sja1105_static_config.h   |   1 +
 drivers/net/dsa/sja1105/sja1105_tas.c         |  27 --
 9 files changed, 355 insertions(+), 68 deletions(-)