On Fri, Aug 11, 2023 at 12:54 PM Simon Horman <horms@xxxxxxxxxx> wrote: > > On Thu, Aug 10, 2023 at 12:22:55PM +0200, Robert Marko wrote: > > From: Gabor Juhos <j4g8y7@xxxxxxxxx> > > > > The PSGMII interface is similar to QSGMII. The main difference > > is that the PSGMII interface combines five SGMII lines into a > > single link while in QSGMII only four lines are combined. > > > > Similarly to the QSGMII, this interface mode might also needs > > special handling within the MAC driver. > > > > It is commonly used by Qualcomm with their QCA807x PHY series and > > modern WiSoC-s. > > > > Add definitions for the PHY layer to allow to express this type > > of connection between the MAC and PHY. > > > > Signed-off-by: Gabor Juhos <j4g8y7@xxxxxxxxx> > > Signed-off-by: Robert Marko <robert.marko@xxxxxxxxxx> > > ... > > > diff --git a/include/linux/phy.h b/include/linux/phy.h > > index ba08b0e60279..23756a10d40b 100644 > > --- a/include/linux/phy.h > > +++ b/include/linux/phy.h > > @@ -147,6 +147,7 @@ typedef enum { > > PHY_INTERFACE_MODE_XGMII, > > PHY_INTERFACE_MODE_XLGMII, > > PHY_INTERFACE_MODE_MOCA, > > + PHY_INTERFACE_MODE_PSGMII, > > Hi Gabor an Robert, > > Please add PHY_INTERFACE_MODE_PSGMII to the kernel doc for phy_interface_t > which appears a little earlier in phy.h Hi, I already have it prepared as part of v2, will send it later today. Regards, Robert > > > PHY_INTERFACE_MODE_QSGMII, > > PHY_INTERFACE_MODE_TRGMII, > > PHY_INTERFACE_MODE_100BASEX, > > ... -- Robert Marko Staff Embedded Linux Engineer Sartura Ltd. Lendavska ulica 16a 10000 Zagreb, Croatia Email: robert.marko@xxxxxxxxxx Web: www.sartura.hr