]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Add support for ptp clocks
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 31 Jan 2022 10:01:18 +0000 (11:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Feb 2022 14:18:43 +0000 (14:18 +0000)
commitd096459494a88791312c6f4da4641eb887188e70
tree62d0b1c15145ae3eb057fbe5631fe4b89969c7cc
parentd700dff41d921ba438fc2a079de1f47c2e9846bf
net: lan966x: Add support for ptp clocks

The lan966x has 3 PHC. Enable each of them, for now all the
timestamping is happening on the first PHC.

Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/Makefile
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
drivers/net/ethernet/microchip/lan966x/lan966x_main.h
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c [new file with mode: 0644]