[U-Boot] [PATCH v2 1/3] phy: atheros: Use ar8035_config for AR8031

Fabio Estevam
2016-01-06T09:47:22Z

On Wed, Jan 6, 2016 at 3:17 AM, Qiang Zhao <qiang.zhao@nxp.com> wrote:
> On Tue, Jan 5, 2016 at 1:02 PM, Fabio Estevam <festevam@gmail.com> wrote:
>
>> -----Original Message-----
>> From: Fabio Estevam [mailto:festevam at gmail.com]
>> Sent: Wednesday, January 06, 2016 3:03 AM
>> To: sbabic at denx.de
>> Cc: joe.hershberger at ni.com; B45475 at freescale.com; yorksun at freescale.com;
>> troy.kisky at boundarydevices.com; u-boot at lists.denx.de; Fabio Estevam
>> <fabio.estevam@nxp.com>
>> Subject: [PATCH v2 1/3] phy: atheros: Use ar8035_config for AR8031
>>
>> From: Fabio Estevam <fabio.estevam@nxp.com>
>>
>> Commit 08ad9b068afb88 (" ar8031: modify the config func of ar8031 to
>> ar8021_config") selected 'ar8021_config' as the configuration function for
>> AR8031.
>>
>> The correct would be to use 'ar8035_config' instead as AR8031/AR8035 have
>> the same programming model and even share the same phy driver in the linux
>> kernel: drivers/net/phy/at803x.c.
>>
>> Tested on a mx6qsabresd and wandboard, which now can work without any
>> PHY setup code in the board files.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
>> ---
>> This is 2016.04 material.
>>
>> Zhao Qiang, could you please test this on your platform?
>
> Yes, have tested, it can work on my platform.

Excellent, thanks for testing, Zhao.

Stefano,

With Zhao's test I think it is safe to add this for 2016.01. What do you think?