[PATCH 05/13] net: stmmac: dwmac-rk: Do not print error when PHY regulator is not found

2018-11-25 Thread Otavio Salvador
The PHY regulator is optional, so when it is not present move the message level from error to debug, which is more appropriate. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 04/13] net: stmmac: dwmac-rk: Do not print redundant error message

2018-11-25 Thread Otavio Salvador
rk_gmac_setup() already prints a message saying that the PHY regulator is not found, so we should not print it again. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

[PATCH 03/13] net: stmmac: dwmac-rk: Allow the driver to probe when phy-supply is not present

2018-11-25 Thread Otavio Salvador
The phy-supply is an optional regulator, so we should not treat as an error when phy-supply is not passed in the device tree. This allows the dwmac-rk driver to probe when phy-supply is not present in the dts. Signed-off-by: Otavio Salvador --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c

Re: Linux kernel hangs if using RV1108 with MSZ8863 switch with two ports connected

2018-11-17 Thread Otavio Salvador
Hi Andrew, On Fri, Nov 16, 2018 at 9:40 PM Andrew Lunn wrote: > On Fri, Nov 16, 2018 at 04:28:29PM -0200, Otavio Salvador wrote: > > RV1108 GMAC is connected to KSZ8863 port 3 and after kernel boots, I > > can put an Ethernet cable from my router to the uplink port of > >

Linux kernel hangs if using RV1108 with MSZ8863 switch with two ports connected

2018-11-16 Thread Otavio Salvador
Also, with the vendor 3.10 kernel such hang does not happen. Thanks -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750