lkml.org 
[lkml]   [2023]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH net-next 2/2] net: phy: Introduce PSGMII PHY interface mode
    On Thu, Aug 10, 2023 at 12:22:55PM +0200, Robert Marko wrote:
    > From: Gabor Juhos <j4g8y7@gmail.com>
    >
    > 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@gmail.com>
    > Signed-off-by: Robert Marko <robert.marko@sartura.hr>

    ...

    > 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

    > PHY_INTERFACE_MODE_QSGMII,
    > PHY_INTERFACE_MODE_TRGMII,
    > PHY_INTERFACE_MODE_100BASEX,

    ...

    \
     
     \ /
      Last update: 2023-08-11 12:55    [W:2.349 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site