@@ -101,6 +101,16 @@ config BROADCOM_PHY
Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
BCM5481, BCM54810 and BCM5482 PHYs.
+config BCM_NET_PHYPTP
+ tristate "Broadcom PHY PTP support"
+ depends on NETWORK_PHY_TIMESTAMPING
+ depends on PHYLIB
+ depends on PTP_1588_CLOCK
+ depends on BROADCOM_PHY
+ depends on NET_PTP_CLASSIFY
+ help
+ Supports PTP timestamping for certain Broadcom PHYs.
+
config BCM54140_PHY
tristate "Broadcom BCM54140 PHY"
depends on PHYLIB
@@ -46,6 +46,7 @@ obj-$(CONFIG_BCM84881_PHY) += bcm84881.o
obj-$(CONFIG_BCM87XX_PHY) += bcm87xx.o
obj-$(CONFIG_BCM_CYGNUS_PHY) += bcm-cygnus.o
obj-$(CONFIG_BCM_NET_PHYLIB) += bcm-phy-lib.o
+obj-$(CONFIG_BCM_NET_PHYPTP) += bcm-phy-ptp.o
obj-$(CONFIG_BROADCOM_PHY) += broadcom.o
obj-$(CONFIG_CICADA_PHY) += cicada.o
obj-$(CONFIG_CORTINA_PHY) += cortina.o
Add a Broadcom PTP PHY library, initially supporting the BCM54213PE found in the RPi CM4. Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com> --- drivers/net/phy/Kconfig | 10 ++++++++++ drivers/net/phy/Makefile | 1 + 2 files changed, 11 insertions(+)