logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

Accessing nEN_USB_PWR

posted in IGEPv2
Saturday, October 29 2016, 01:58 AM
spotocny
spotocny
Offline
0
I have a USB peripheral (IO module) in my system which is not responsive upon boot fairly often. Some of the time reenumeration (unbind / bind) will resolve this, but not always. I would like to be able to cycle the USB power to the device to attempt recovery. On the IGEPv2 schematic it looks like the nEN_USB_PWR signal from the TWL4030 will do this, so I have been trying unsuccessfully to access the TWL4030 via I2C1. The I2C driver is telling me the device is busy when I try to set the slave address. Is it possible for me to access the TWL register set at runtime? Or is there a better way to cycle power to the USB Host Connector?
Responses (1)
  • Accepted Answer

    Wednesday, November 02 2016, 10:25 AM - #permalink
    0
    Hi spotocny,

    nEN_USB_PWR is referenced as GPIO210. Commit 37124e2d9dd6d3c7905ee45acf2a442a04fc9818 from linux-2.6.37.y branch exports this functionality. When GPIO210=0 enables USB HOST PWR.

    Cheers!
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat