[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFcVECK2COLnkr+7+4FKKn6anDPERsmxcVWsfwpBWnEXdD8KzQ@mail.gmail.com>
Date: Tue, 29 Jun 2021 19:49:26 +0530
From: Harini Katakam <harinik@...inx.com>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Harini Katakam <harini.katakam@...inx.com>,
Rob Herring <robh+dt@...nel.org>, Andrew Lunn <andrew@...n.ch>,
linux@...linux.org.uk, David Miller <davem@...emloft.net>,
kuba@...nel.org, steen.hegelund@...rochip.com,
bjarni.jonasson@...rochip.com, ioana.ciornei@....com,
likaige@...ngson.cn, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Michal Simek <michal.simek@...inx.com>,
radhey.shyam.pandey@...inx.com
Subject: Re: [PATCH 3/3] phy: mscc: Add support for VSC8531_02 with RGMII tuning
Hi Heiner,
On Tue, Jun 29, 2021 at 4:11 PM Heiner Kallweit <hkallweit1@...il.com> wrote:
>
> On 29.06.2021 11:40, Harini Katakam wrote:
> > Add support for VSC8531_02 (Rev 2) device.
> > Add support for optional RGMII RX and TX delay tuning via devicetree.
> > The hierarchy is:
> > - Retain the defaul 0.2ns delay when RGMII tuning is not set.
> > - Retain the default 2ns delay when RGMII tuning is set and DT delay
> > property is NOT specified.
> > - Use the DT delay value when RGMII tuning is set and a DT delay
> > property is specified.
> >
> > Signed-off-by: Harini Katakam <harini.katakam@...inx.com>
> > Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@...inx.com>
> > Signed-off-by: Michal Simek <michal.simek@...inx.com>
> > ---
> > drivers/net/phy/mscc/mscc.h | 3 +++
> > drivers/net/phy/mscc/mscc_main.c | 41 ++++++++++++++++++++++++++++++--
> > 2 files changed, 42 insertions(+), 2 deletions(-)
> >
<snip>
> {
> > .phy_id = PHY_ID_VSC8540,
> > .name = "Microsemi FE VSC8540 SyncE",
> > @@ -2668,6 +2704,7 @@ static struct mdio_device_id __maybe_unused vsc85xx_tbl[] = {
> > { PHY_ID_VSC8514, 0xfffffff0, },
> > { PHY_ID_VSC8530, 0xfffffff0, },
> > { PHY_ID_VSC8531, 0xfffffff0, },
> > + { PHY_ID_VSC8531_02, 0xfffffff0, },
>
> Effectively this is the same as the line before. Maybe it would make sense
> to change this table in a follow-up patch to just one entry covering all
> PHY ID's with the vendor part being Microsemi, e.g. using macro
> PHY_ID_MATCH_VENDOR().
Thanks for the review. Let me check and test - I have a couple of these parts.
Will try to include the patch in this series.
Regards,
Harini
Powered by blists - more mailing lists