Hi,
We are using imx28 board.
lltib package is 130130.
Driver : USB
Our doubt is how to monitor over-current on usb port.
So that we have to disable power enable pin of usb once over-current is detected.
Please let us know what all changes have to be made in kernel in order to monitor usb overcurrent & disable power to usb once it gets overcurrent.
Please reply ASAP
Thanks in advance
Rgds
Srinivasan
Hi srinivasan,
actually you can use any gpio for monitoring over-current.
Please look how it is implemented in i.MX53 Linux sources,
description in Linux Doc Bundle mx53_start_linux.pdf,
arch/arm/mach-mx5/mx53_evk.c
static struct pad_desc mx53evk_pads[] = {
/* USB OTG USB_OC */
MX53_PAD_EIM_A24__GPIO_5_4,
/* USB OTG USB_PWR */
MX53_PAD_EIM_A23__GPIO_6_6,..
IMX53QSB: i.MX53 Quick Start Board
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------