Re: [PATCH] ARM: stm32: Add additional ID register check for KSZ8851 presence

2021-05-28 Thread Patrick DELAUNAY
Hi, On 5/3/21 1:31 PM, Marek Vasut wrote: Currently the code sets eth1addr only if /ethernet1 alias exists in DT, the node pointed to by the alias has "micrel,ks8851-mll" compatible string, and the KSZ8851 CCR register read indicates programmed EEPROM is not connected. This is not sufficient to

Re: [PATCH] ARM: stm32: Add additional ID register check for KSZ8851 presence

2021-05-04 Thread Patrick DELAUNAY
Hi, On 5/3/21 1:31 PM, Marek Vasut wrote: Currently the code sets eth1addr only if /ethernet1 alias exists in DT, the node pointed to by the alias has "micrel,ks8851-mll" compatible string, and the KSZ8851 CCR register read indicates programmed EEPROM is not connected. This is not sufficient to

Re: [PATCH] ARM: stm32: Add additional ID register check for KSZ8851 presence

2021-05-03 Thread Patrice CHOTARD
Hi Marek On 5/3/21 1:31 PM, Marek Vasut wrote: > Currently the code sets eth1addr only if /ethernet1 alias exists in DT, > the node pointed to by the alias has "micrel,ks8851-mll" compatible > string, and the KSZ8851 CCR register read indicates programmed EEPROM > is not connected. > > This is no

[PATCH] ARM: stm32: Add additional ID register check for KSZ8851 presence

2021-05-03 Thread Marek Vasut
Currently the code sets eth1addr only if /ethernet1 alias exists in DT, the node pointed to by the alias has "micrel,ks8851-mll" compatible string, and the KSZ8851 CCR register read indicates programmed EEPROM is not connected. This is not sufficient to detect cases where the DT still contains the

RE: [PATCH] ARM: stm32: Add additional ID register check for KSZ8851 presence

2021-04-30 Thread Patrice CHOTARD
additional ID register check for KSZ8851 presence Currently the code sets eth1addr only if /ethernet1 alias exists in DT, the node pointed to by the alias has "micrel,ks8851-mll" compatible string, and the KSZ8851 CCR register read indicates programmed EEPROM is not connected. T

[PATCH] ARM: stm32: Add additional ID register check for KSZ8851 presence

2021-04-30 Thread Marek Vasut
Currently the code sets eth1addr only if /ethernet1 alias exists in DT, the node pointed to by the alias has "micrel,ks8851-mll" compatible string, and the KSZ8851 CCR register read indicates programmed EEPROM is not connected. This is not sufficient to detect cases where the DT still contains the