mbox series

[net-next,v2,0/5] net: lan966x: Add support for PTP programmable pins

Message ID 20220427065127.3765659-1-horatiu.vultur@microchip.com (mailing list archive)
Headers show
Series net: lan966x: Add support for PTP programmable pins | expand

Message

Horatiu Vultur April 27, 2022, 6:51 a.m. UTC
Lan966x has 8 PTP programmable pins. The last pin is hardcoded to be used
by PHC0 and all the rest are shareable between the PHCs. The PTP pins can
implement both extts and perout functions.

v1->v2:
- use ptp_find_pin_unlocked instead of ptp_find_pin inside the irq handler.

Horatiu Vultur (5):
  dt-bindings: net: lan966x: Extend with the ptp external interrupt.
  net: lan966x: Change the PTP pin used to read/write the PHC.
  net: lan966x: Add registers used to configure the PTP pin
  net: lan966x: Add support for PTP_PF_PEROUT
  net: lan966x: Add support for PTP_PF_EXTTS

 .../net/microchip,lan966x-switch.yaml         |   2 +
 .../ethernet/microchip/lan966x/lan966x_main.c |  17 ++
 .../ethernet/microchip/lan966x/lan966x_main.h |   4 +
 .../ethernet/microchip/lan966x/lan966x_ptp.c  | 276 +++++++++++++++++-
 .../ethernet/microchip/lan966x/lan966x_regs.h |  40 +++
 5 files changed, 338 insertions(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 27, 2022, 11:20 a.m. UTC | #1
Hello:

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

On Wed, 27 Apr 2022 08:51:22 +0200 you wrote:
> Lan966x has 8 PTP programmable pins. The last pin is hardcoded to be used
> by PHC0 and all the rest are shareable between the PHCs. The PTP pins can
> implement both extts and perout functions.
> 
> v1->v2:
> - use ptp_find_pin_unlocked instead of ptp_find_pin inside the irq handler.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/5] dt-bindings: net: lan966x: Extend with the ptp external interrupt.
    https://git.kernel.org/netdev/net-next/c/c1a519919d04
  - [net-next,v2,2/5] net: lan966x: Change the PTP pin used to read/write the PHC.
    https://git.kernel.org/netdev/net-next/c/77f2accb501a
  - [net-next,v2,3/5] net: lan966x: Add registers used to configure the PTP pin
    https://git.kernel.org/netdev/net-next/c/3adc11e5fc5f
  - [net-next,v2,4/5] net: lan966x: Add support for PTP_PF_PEROUT
    https://git.kernel.org/netdev/net-next/c/2b7ff2588ec2
  - [net-next,v2,5/5] net: lan966x: Add support for PTP_PF_EXTTS
    https://git.kernel.org/netdev/net-next/c/f3d8e0a9c28b

You are awesome, thank you!