[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0e150f38-b2a2-46f5-9c64-8c72dd4a5471@microchip.com>
Date: Wed, 4 Sep 2024 11:25:37 +0000
From: <Parthiban.Veerasooran@...rochip.com>
To: <horms@...nel.org>
CC: <andrew@...n.ch>, <hkallweit1@...il.com>, <linux@...linux.org.uk>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <ramon.nordin.rodriguez@...roamp.se>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<UNGLinuxDriver@...rochip.com>, <Thorsten.Kummermehr@...rochip.com>
Subject: Re: [PATCH net-next v2 5/7] net: phy: microchip_t1s: add support for
Microchip's LAN867X Rev.C1
Hi Simon,
On 03/09/24 1:00 pm, Simon Horman wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On Mon, Sep 02, 2024 at 08:04:56PM +0530, Parthiban Veerasooran wrote:
>> This patch adds support for LAN8670/1/2 Rev.C1 as per the latest
>> configuration note AN1699 released (Revision E (DS60001699F - June 2024))
>> https://www.microchip.com/en-us/application-notes/an1699
>>
>> Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@...rochip.com>
>
> ...
>
>> diff --git a/drivers/net/phy/microchip_t1s.c b/drivers/net/phy/microchip_t1s.c
>
> ...
>
>> @@ -290,6 +291,58 @@ static int lan867x_check_reset_complete(struct phy_device *phydev)
>> return 0;
>> }
>>
>> +static int lan867x_revc1_config_init(struct phy_device *phydev)
>> +{
>> + s8 offsets[2];
>> + int ret;
>> +
>> + ret = lan867x_check_reset_complete(phydev);
>> + if (ret)
>> + return ret;
>> +
>> + ret = lan865x_generate_cfg_offsets(phydev, offsets);
>> + if (ret)
>> + return ret;
>> +
>> + /* LAN867x Rev.C1 configuration settings are equal to the first 9
>> + * configuration settings and all the sqi fixup settings from LAN865x
>> + * Rev.B0/B1. So the same fixup registers and values from LAN865x
>> + * Rev.B0/B1 are used for LAN867x Rev.C1 to avoid duplication.
>> + * Refer the below links for the comparision.
>
> nit: comparison
>
> Flagged by checkpatch.pl --codespell
Ah yes, will correct it in the next version.
Best regards,
Parthiban V
>
>> + * https://www.microchip.com/en-us/application-notes/an1760
>> + * Revision F (DS60001760G - June 2024)
>> + * https://www.microchip.com/en-us/application-notes/an1699
>> + * Revision E (DS60001699F - June 2024)
>> + */
Powered by blists - more mailing lists