]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6sabreauto: Do not enable WEIM by default
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 10 Jul 2017 18:59:11 +0000 (15:59 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 12 Jul 2017 12:05:02 +0000 (09:05 -0300)
commit80a56615fac07941598bb61a362d113b0ff4f5a4
tree44b099d54017aa2710a2b1c60a5dbd4c98b08da6
parent321339efd70d71691ca07dae07ab2883258b711d
mx6sabreauto: Do not enable WEIM by default

WEIM cannot be used when I2C3 is enabled due to pin conflict, so keep
WEIM disabled by default.

I2C3 controls GPIO I2C expander (USB host and OTG have VBUS controlled by
the GPIO I2C expander), magnetometer, accelerometer.

Not disabling WEIM in U-Boot causes I2C3 to behave badly when booting
a NXP 4.1 kernel, which leads to probe failure on several devices,
including the lack of USB:

imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=-517

By keeping WEIM disabled in U-Boot these kernel issues are gone.

Reported-by: Takashi Matsuzawa <tmatsuzawa@xevo.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6sabreauto/mx6sabreauto.c
configs/mx6sabreauto_defconfig
include/configs/mx6sabreauto.h