Re: [PATCH v2 4/4] net: dsa: vsc73xx: Assert reset if iCPU is enabled

2019-07-04 Thread Paweł Dembicki
On 4/7/19 09:22 Linus Walleij wrote: > > My devices do not have direct access to the reset line so I > can't assert reset no matter how I try, if it works for you, the > code is certainly better like this. > In P2020RDB, VSC7385 reset is connected to GPIO. U-boot put binary file to iCPU and make

Re: [PATCH v2 4/4] net: dsa: vsc73xx: Assert reset if iCPU is enabled

2019-07-04 Thread Florian Fainelli
On 7/3/2019 10:19 AM, Pawel Dembicki wrote: > Driver allow to use devices with disabled iCPU only. > > Some devices have pre-initialised iCPU by bootloader. > That state make switch unmanaged. This patch force reset > if device is in unmanaged state. In the result chip lost > internal firmware

Re: [PATCH v2 4/4] net: dsa: vsc73xx: Assert reset if iCPU is enabled

2019-07-04 Thread Linus Walleij
On Wed, Jul 3, 2019 at 7:21 PM Pawel Dembicki wrote: > Driver allow to use devices with disabled iCPU only. > > Some devices have pre-initialised iCPU by bootloader. > That state make switch unmanaged. This patch force reset > if device is in unmanaged state. In the result chip lost > internal

[PATCH v2 4/4] net: dsa: vsc73xx: Assert reset if iCPU is enabled

2019-07-03 Thread Pawel Dembicki
Driver allow to use devices with disabled iCPU only. Some devices have pre-initialised iCPU by bootloader. That state make switch unmanaged. This patch force reset if device is in unmanaged state. In the result chip lost internal firmware from RAM and it can be managed. Signed-off-by: Pawel

[PATCH v2 4/4] net: dsa: vsc73xx: Assert reset if iCPU is enabled

2019-07-03 Thread Pawel Dembicki
Driver allow to use devices with disabled iCPU only. Some devices have pre-initialised iCPU by bootloader. That state make switch unmanaged. This patch force reset if device is in unmanaged state. In the result chip lost internal firmware from RAM and it can be managed. Signed-off-by: Pawel