]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit65483559dc0aa527652de43d0634736c7fc7c72f
tree29d1fda262cba3271facfc922f58386325ba1282
parent738baea4970b36580cb1dd4f9b3fd5247aa1c7f5
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