Enabling USB_OTG_PWR on i.MX6 at u-boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Enabling USB_OTG_PWR on i.MX6 at u-boot

1,082件の閲覧回数
vitaly_a
Contributor II

Hello,

I want to read a memory stick plugged in to the OTG port of my custom i.MX6 board. On the board the USB_OTG_PWR is configured as KEY_ROW4(ALT2). When I use "usb start" command I see the EHCI controller initialized but no storage device found. So, my questions:

1) Does the usb driver enable VBUS power automatically or I need to enable it manually? If yes then how do I do that? Which register controls this signal?

2) Does the state of the OTG_ID signal affect the functionality?

Thanks,

Vitaly

  

 

0 件の賞賛
3 返答(返信)

1,062件の閲覧回数
vitaly_a
Contributor II

Hi Igor,

What about my first question about VBUS power? I checked the kernel code and it uses independent GPIO to external PMIC. I haven't find anything similar in u-boot.

Thanks,
Vitaly

0 件の賞賛

1,059件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

regarding GPIO, linux driver has more capabilites and supports

"otg" mode and HNP as described for example in

sect.39.3.11 USB OTG HNP and SRP Support  Documentation

 

Best regards
igor

0 件の賞賛

1,072件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vitaly

 

for using memory stick with OTG it is necessary to have OTG_ID signal low

(it configures OTG as host), no need to enable it manually.

 

Best regards
igor

0 件の賞賛