Re: [PATCH] net: phy: at803x: add QCA8084 ethernet phy support

From: Andrew Lunn
Date: Sat Nov 04 2023 - 10:35:12 EST


On Sat, Nov 04, 2023 at 02:25:25PM +0800, Jie Luo wrote:
>
>
> On 11/3/2023 9:01 PM, Andrew Lunn wrote:
> > > #define QCA8081_PHY_ID 0x004dd101
> > > +#define QCA8081_PHY_MASK 0xffffff00
> >
> > That is an unusual mask. Please check it is correct. All you should
> > need its PHY_ID_MATCH_EXACT, PHY_ID_MATCH_MODEL, PHY_ID_MATCH_VENDOR.
>
> Thanks Andrew for the review.
> The PHY ID of qca8084 is correct, i will update to use PHY_ID_MATCH_EXACT in
> the new added entry for qca8084.

Note, i asked about the mask, not the ID. Is PHY_ID_MATCH_EXACT maybe
too exact? Is there the option for different revisions of the PHY? Can
one entry in the table be used for multiple revisions?


Andrew

---
pw-bot: cr