Message ID | 20241213121403.29687-4-divya.koppera@microchip.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Add rds ptp library for Microchip phys | expand |
On Fri, Dec 13, 2024 at 05:44:01PM +0530, Divya Koppera wrote: > Add ptp library support in Kconfig > As some of Microchip T1 phys support ptp, add dependency > of 1588 optional flag in Kconfig > > Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> > Signed-off-by: Divya Koppera <divya.koppera@microchip.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
On Fri, 13 Dec 2024 17:44:01 +0530 Divya Koppera wrote: > config MICROCHIP_T1_PHY > tristate "Microchip T1 PHYs" > + select MICROCHIP_PHY_RDS_PTP if NETWORK_PHY_TIMESTAMPING && \ > + PTP_1588_CLOCK_OPTIONAL > help > - Supports the LAN87XX PHYs. > + Supports the LAN8XXX PHYs. > + > +config MICROCHIP_PHY_RDS_PTP > + tristate "Microchip PHY RDS PTP" Since you're selecting this symbol you can hide it from the user. Remove the string after tristate.
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 15828f4710a9..4ff6f5474397 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -287,8 +287,15 @@ config MICROCHIP_PHY config MICROCHIP_T1_PHY tristate "Microchip T1 PHYs" + select MICROCHIP_PHY_RDS_PTP if NETWORK_PHY_TIMESTAMPING && \ + PTP_1588_CLOCK_OPTIONAL help - Supports the LAN87XX PHYs. + Supports the LAN8XXX PHYs. + +config MICROCHIP_PHY_RDS_PTP + tristate "Microchip PHY RDS PTP" + help + Currently supports LAN887X T1 PHY config MICROSEMI_PHY tristate "Microsemi PHYs"