[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+HBbNE14wWUvxBjcFP61TQVX8nVsxZs6Cc=Kr3PQDM9Pe0v4w@mail.gmail.com>
Date: Fri, 11 Aug 2023 12:58:02 +0200
From: Robert Marko <robert.marko@...tura.hr>
To: Simon Horman <horms@...nel.org>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
andrew@...n.ch, hkallweit1@...il.com, linux@...linux.org.uk,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, luka.perkov@...tura.hr,
Gabor Juhos <j4g8y7@...il.com>
Subject: Re: [PATCH net-next 2/2] net: phy: Introduce PSGMII PHY interface mode
On Fri, Aug 11, 2023 at 12:54 PM Simon Horman <horms@...nel.org> wrote:
>
> On Thu, Aug 10, 2023 at 12:22:55PM +0200, Robert Marko wrote:
> > From: Gabor Juhos <j4g8y7@...il.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@...il.com>
> > Signed-off-by: Robert Marko <robert.marko@...tura.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
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@...tura.hr
Web: www.sartura.hr
Powered by blists - more mailing lists