mbox series

[net-next,v2,0/7] net: lan966x: Add PTP Hardward Clock support

Message ID 20220131100122.423164-1-horatiu.vultur@microchip.com
Headers show
Series net: lan966x: Add PTP Hardward Clock support | expand

Message

Horatiu Vultur Jan. 31, 2022, 10:01 a.m. UTC
Add support for PTP Hardware Clock (PHC) for lan966x. The switch supports
both PTP 1-step and 2-step modes.

v1->v2:
- fix commit messages
- reduce the scope of the lock ptp_lock inside the function
  lan966x_ptp_hwtstamp_set
- the rx timestamping is always enabled for all packages

Horatiu Vultur (7):
  dt-bindings: net: lan966x: Extend with the ptp interrupt
  net: lan966x: Add registers that are use for ptp functionality
  net: lan966x: Add support for ptp clocks
  net: lan966x: Implement SIOCSHWTSTAMP and SIOCGHWTSTAMP
  net: lan966x: Update extraction/injection for timestamping
  net: lan966x: Add support for ptp interrupts
  net: lan966x: Implement get_ts_info

 .../net/microchip,lan966x-switch.yaml         |   2 +
 .../net/ethernet/microchip/lan966x/Makefile   |   3 +-
 .../microchip/lan966x/lan966x_ethtool.c       |  34 +
 .../ethernet/microchip/lan966x/lan966x_main.c |  89 ++-
 .../ethernet/microchip/lan966x/lan966x_main.h |  51 ++
 .../ethernet/microchip/lan966x/lan966x_ptp.c  | 618 ++++++++++++++++++
 .../ethernet/microchip/lan966x/lan966x_regs.h | 103 +++
 7 files changed, 894 insertions(+), 6 deletions(-)
 create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 1, 2022, 2:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 31 Jan 2022 11:01:15 +0100 you wrote:
> Add support for PTP Hardware Clock (PHC) for lan966x. The switch supports
> both PTP 1-step and 2-step modes.
> 
> v1->v2:
> - fix commit messages
> - reduce the scope of the lock ptp_lock inside the function
>   lan966x_ptp_hwtstamp_set
> - the rx timestamping is always enabled for all packages
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/7] dt-bindings: net: lan966x: Extend with the ptp interrupt
    https://git.kernel.org/netdev/net-next/c/2f92512e1c52
  - [net-next,v2,2/7] net: lan966x: Add registers that are use for ptp functionality
    https://git.kernel.org/netdev/net-next/c/d700dff41d92
  - [net-next,v2,3/7] net: lan966x: Add support for ptp clocks
    https://git.kernel.org/netdev/net-next/c/d096459494a8
  - [net-next,v2,4/7] net: lan966x: Implement SIOCSHWTSTAMP and SIOCGHWTSTAMP
    https://git.kernel.org/netdev/net-next/c/735fec995b21
  - [net-next,v2,5/7] net: lan966x: Update extraction/injection for timestamping
    https://git.kernel.org/netdev/net-next/c/77eecf25bd9d
  - [net-next,v2,6/7] net: lan966x: Add support for ptp interrupts
    https://git.kernel.org/netdev/net-next/c/e85a96e48e33
  - [net-next,v2,7/7] net: lan966x: Implement get_ts_info
    https://git.kernel.org/netdev/net-next/c/966f2e1a4a34

You are awesome, thank you!