* [U-Boot] [YBA] mx28evk.h CONFIG_EHCI_MXS_PORT0 power?
@ 2014-06-25 17:14 Jonathan Ben Avraham
2014-07-16 8:35 ` Marek Vasut
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Ben Avraham @ 2014-06-25 17:14 UTC (permalink / raw)
To: u-boot
Dear colleagues,
When I configure mx28evk with CONFIG_EHCI_MXS_PORT0 instead of the
default CONFIG_EHCI_MXS_PORT1, and run on an i.MX28 EVK PCB REV D, and
do "start usb" at the prompt, then ehci_set_usbmode(0) (to set host
mode) is called but there is no 5V output on the micro-usb connector and
so the attached storage device is not detected.
When I use CONFIG_EHCI_MXS_PORT1 the storage device receives 5V and U-Boot
detects it.
In Linux 3.13.9 with "dr_mode = host" in the usb0 DTS config, the
micro-usb connector receives 5V and the storage device is detected, so I
know that the hardware is configured correctly and works.
Where should I look to debug the power configuration for usb0?
TIA,
- yba
--
9590 8E58 D30D 1660 C349 673D B205 4FC4 B8F5 B7F9 ~. .~ Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] [YBA] mx28evk.h CONFIG_EHCI_MXS_PORT0 power?
2014-06-25 17:14 [U-Boot] [YBA] mx28evk.h CONFIG_EHCI_MXS_PORT0 power? Jonathan Ben Avraham
@ 2014-07-16 8:35 ` Marek Vasut
0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2014-07-16 8:35 UTC (permalink / raw)
To: u-boot
On Wednesday, June 25, 2014 at 07:14:24 PM, Jonathan Ben Avraham wrote:
> Dear colleagues,
> When I configure mx28evk with CONFIG_EHCI_MXS_PORT0 instead of the
> default CONFIG_EHCI_MXS_PORT1, and run on an i.MX28 EVK PCB REV D, and
> do "start usb" at the prompt, then ehci_set_usbmode(0) (to set host
> mode) is called but there is no 5V output on the micro-usb connector and
> so the attached storage device is not detected.
>
> When I use CONFIG_EHCI_MXS_PORT1 the storage device receives 5V and U-Boot
> detects it.
>
> In Linux 3.13.9 with "dr_mode = host" in the usb0 DTS config, the
> micro-usb connector receives 5V and the storage device is detected, so I
> know that the hardware is configured correctly and works.
You most likely need to toggle some GPIO to enable the power to the port. Check
the schematics and check board/freescale/mx28evk/mx28evk.c for power toggling
implementation, that's where the GPIO toggling goes.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-16 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 17:14 [U-Boot] [YBA] mx28evk.h CONFIG_EHCI_MXS_PORT0 power? Jonathan Ben Avraham
2014-07-16 8:35 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox