]> git.ipfire.org Git - people/ms/u-boot.git/commit
arm: mx6: cm-fx6: force host mode on usb controller
authorNikita Kiryanov <nikita@compulab.co.il>
Sun, 30 Aug 2015 12:36:47 +0000 (15:36 +0300)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Sep 2015 13:38:16 +0000 (15:38 +0200)
commitd6276ab10df98c3fece67ebd0e0b1b601552c128
treed15189ded031f14a014b1bb1e88073fe3f5c182c
parent9627084c2338c52e61d31e41c797386f71e8dedf
arm: mx6: cm-fx6: force host mode on usb controller

On some CM-FX6 modules U-Boot attempts to configure the usb0 controller in
device mode, which renders it unavailable:
USB0:   Port not available.
and also causes usb stop to report an error
EHCI failed to shut down host controller.

This happens mostly on MX6 Dual based modules, and is caused by the USBPHY_CTRL
register reporting USBPHY_CTRL_OTG_ID to be 1, even when it is pulled down.
Since we do not support device mode in cm-fx6 u-boot, force all controllers to
be configured as hosts.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_fx6/cm_fx6.c