[PATCH net 0/3] broadcom: report the supported flags for ancillary features

From: Jacob Keller

Date: Thu Sep 18 2025 - 20:34:18 EST


James Clark reported off list that the broadcom PHY PTP driver was
incorrectly handling PTP_EXTTS_REQUEST and PTP_PEROUT_REQUEST ioctls since
the conversion to the .supported_*_flags fields. This series fixes the
driver to correctly report its flags through the .supported_perout_flags
and .supported_extts_flags fields. It also contains an update to comment
the behavior of the PTP_STRICT_FLAGS being always enabled for
PTP_EXTTS_REQUEST2.

I plan to follow up this series with some improvements to the PTP
documentation better explaining each flag and the expectation of the driver
APIs.

Signed-off-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>
---
Jacob Keller (3):
broadcom: fix support for PTP_PEROUT_DUTY_CYCLE
broadcom: fix support for PTP_EXTTS_REQUEST2 ioctl
ptp: document behavior of PTP_STRICT_FLAGS

include/uapi/linux/ptp_clock.h | 3 +++
drivers/net/phy/bcm-phy-ptp.c | 6 ++----
2 files changed, 5 insertions(+), 4 deletions(-)
---
base-commit: cbf658dd09419f1ef9de11b9604e950bdd5c170b
change-id: 20250918-jk-fix-bcm-phy-supported-flags-0796dddf7954

Best regards,
--
Jacob Keller <jacob.e.keller@xxxxxxxxx>