From: Robert Marko Date: Mon, 3 Aug 2026 09:44:15 +0000 (+0200) Subject: qualcommax: ipq50xx: build-in PTP support X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ecd3173d66fef60c5dfa06bcadb2d68aec87c20;p=thirdparty%2Fopenwrt.git qualcommax: ipq50xx: build-in PTP support When images are built with CONFIG_ALL_KMODS=y which are all buildbot built images, then the STMMAC_ETH driver will get demoted to a module. This is due to ALL_KMODS including kmod-ptp which selects the full PTP 1588 support instead of just the auto selected PTP_1588_CLOCK_OPTIONAL. That causes PTP_1588_CLOCK_OPTIONAL to get deselected, STMMAC driver built as a module instead of being built-in and then its not shipped in the device images leading to no working wired networking. So, lets simply enable full PTP 1588 support as built-in into the kernel so that STMMAC does not get demoted to a module and restores wired networking. Signed-off-by: Robert Marko --- diff --git a/target/linux/qualcommax/ipq50xx/config-default b/target/linux/qualcommax/ipq50xx/config-default index 58743b60888..262f1278d88 100644 --- a/target/linux/qualcommax/ipq50xx/config-default +++ b/target/linux/qualcommax/ipq50xx/config-default @@ -8,11 +8,14 @@ CONFIG_MTD_SPI_NAND=y CONFIG_NET_DSA_QCA8K=y CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT=y CONFIG_NET_DSA_TAG_QCA=y +CONFIG_NET_PTP_CLASSIFY=y CONFIG_PCS_XPCS=y CONFIG_PHY_QCOM_M31_USB=y CONFIG_PHY_QCOM_UNIPHY_PCIE_28LP=y CONFIG_PINCTRL_IPQ5018=y CONFIG_POLYNOMIAL=y +CONFIG_PPS=y +CONFIG_PTP_1588_CLOCK=y CONFIG_PWM=y CONFIG_PWM_IPQ=y CONFIG_QCA83XX_PHY=y