[PATCH] ARM: zii-vf610-dev: disable eth1

2019-05-20 Thread Vivien Didelot
The current support for the ZII Dev Boards time out on eth1 when booting from net, which takes a while: Booting entry 'net' eth0: 100Mbps full duplex link detected T T T eth0: DHCP client bound to address 192.168.203.22 WARNING: eth1: No MAC address set. Using random address 3a:e8:

[PATCH] ARM: boards: kindle mx50: adapt MCI name to DTS

2019-05-20 Thread Alexander Kurz
From: Alexander Kurz The MCI instances got aliases in the DTS from linux upstream which changed the eMMC devicename e.g. from disk0 to mmc2. Adapt to this. Signed-off-by: Alexander Kurz --- Documentation/boards/imx/amazon-kindle-4-5.rst | 4 ++-- arch/arm/boards/kindle-mx50

[PATCH] ARM: include: dma: Zero out DMA coherent memory in no-MMU case

2019-05-20 Thread Andrey Smirnov
Add code to match the behavior of dma_alloc_coherent() when CONFIG_MMU is selected. Signed-off-by: Andrey Smirnov --- arch/arm/include/asm/dma.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/dma.h b/arch/arm/include/asm/dma.h index bb7e62af0..15999a524 100644 --- a/a

[PATCH 5/5] ARM: i.MX: Drop unused usb-imx6.c

2019-05-20 Thread Andrey Smirnov
Looks like usb-imx6.c was abandoned and there are no references to either of the functions difined there. Drop it. Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/Makefile | 2 +- arch/arm/mach-imx/usb-imx6.c | 111 --- 2 files changed, 1 insertion(+), 112

[PATCH 0/5] i.MX USB PHY fixes

2019-05-20 Thread Andrey Smirnov
Everyone: This is a small series of patches I made while investigating USB issue on RDU2 board. First three patches are just optional improvements. The actual fix is in "usb: imx-usb-phy: Disable charger detect during initialization" and "ARM: i.MX: Drop unused usb-imx6.c" removes some abandoned c

[PATCH 2/5] usb: imx-usb-phy: Wrap lines to silence checkpatch

2019-05-20 Thread Andrey Smirnov
Those two line are the only thing that checkpatch is complaining about. Wrap them to slince it. No functional change intended. Signed-off-by: Andrey Smirnov --- drivers/usb/imx/imx-usb-phy.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/imx/imx-usb-phy.c b

[PATCH 1/5] usb: imx-usb-phy: Import register definitions from Linux driver

2019-05-20 Thread Andrey Smirnov
Import register definitions from Linux driver to simplify comparing/sharing code a bit. No functional change intended. Signed-off-by: Andrey Smirnov --- drivers/usb/imx/imx-usb-phy.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers

[PATCH 3/5] usb: imx-usb-phy: Use stmp_reset_block() to reset PHY

2019-05-20 Thread Andrey Smirnov
Upstream kernel driver uses stmp_reset_block() to reset the PHY, so convert the code to do so as well to save some code and sync both drivers. Signed-off-by: Andrey Smirnov --- drivers/usb/imx/imx-usb-phy.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/driv

[PATCH 4/5] usb: imx-usb-phy: Disable charger detect during initialization

2019-05-20 Thread Andrey Smirnov
I can't find any erratas this is in refernce to, but apparently external changer detector needs to be disabled to prevent poor USB data signal quality. The problem manifest itself as a intermittent USB transfer corruption that happens to some device under and only under specific circumstances. In