Re: [PATCH net] net: ethernet: ave: Add capability of rgmii-id mode
From: Kunihiko Hayashi
Date: Fri Feb 07 2020 - 06:59:06 EST
Hi David,
Thank you for your comment.
On Fri, 7 Feb 2020 11:16:48 +0100 <davem@xxxxxxxxxxxxx> wrote:
> From: Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx>
> Date: Thu, 6 Feb 2020 10:59:36 +0900
>
> > This allows you to specify the type of rgmii-id that will enable phy
> > internal delay in ethernet phy-mode.
> >
> > Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx>
>
> I do not understand this change at all.
>
> At a minimum you must explain things more clearly and completely in your
> commit message.
>
> Are you just adding all of the RGMII cases to the code that only currently
> mentions PHY_INTERFACE_MODE_RGMII? If so, why did you only do this for
> some but not all of the get_pinmode() methods in this driver?
Yes, this is intended to add all of RGMII cases to the code.
I add the cases to all of get_pinmode() except LD11, because LD11 doesn't
support RGMII due to the constraint of the hardware.
When RGMII phy mode is specified in the devicetree for LD11, the driver
will abort with the message "invalid phy-mode setting".
If it is clear, I'll add this to the next commit message.
Thank you,
---
Best Regards,
Kunihiko Hayashi