]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: Enable PHY timestamping
authorKurt Kanzenbach <kurt@linutronix.de>
Tue, 16 Nov 2021 08:03:25 +0000 (09:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 14:34:33 +0000 (14:34 +0000)
commit8ce88c754f930cbf9fbce61d2c61792a5d6b11f6
tree29d1fda262cba3271facfc922f58386325ba1282
parent0c625033b4375e1116c01122e205e11ef0b3069f
net: ethernet: ti: cpsw: Enable PHY timestamping

If the used PHYs also support hardware timestamping, all configuration requests
should be forwared to the PHYs instead of being processed by the MAC driver
itself.

This enables PHY timestamping in combination with the cpsw driver.

Tested with an am335x based board with two DP83640 PHYs connected to the cpsw
switch.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw_priv.c