Skip to content

redhat/configs: enable PTP clock support

redhat/configs: reenable PTP clock support

JIRA: https://issues.redhat.com/browse/RHEL-4713

Upstream Status: RHEL-only

The network PHY drivers update to 6.5 requires PTP clock support to be enabled for the code to build properly. More specifically, the ptp_find_pin_unlocked() function used by the micrel PHY (drivers/net/phy/micrel.c) is only visible when CONFIG_PTP_1588_CLOCK is enabled (see include/linux/ptp_clock_kernel.h). This dependency should be added upstream in the Kconfig files. In the meantime, explicitly enable CONFIG_PTP_1588_CLOCK as a module to make the code compile on main-automotive. Also enable CONFIG_PPS which is selected by CONFIG_PTP_1588_CLOCK.

This MR is required to build !3042 (merged) on main-automotive

Signed-off-by: Adrien Thierry athierry@redhat.com

Edited by Adrien Thierry

Merge request reports