[V2 PATCH 20/27] usb: gadget: mv_udc: add extern chip support
balbi at ti.com
Thu Jan 10 05:32:29 EST 2013
On Tue, Nov 27, 2012 at 10:06:19PM -0500, Chao Xie wrote:
> Because arch-mmp will make use of irq domain for irq
> allocation, the irqs allocated for PMIC is dynamical.
> The vbus/idpin irqs from PMIC can not be passed by platform data.
> Using the extern chip APIs provides by PHY driver can solve this
> Marvell usb PHY driver provides a middle layer.
> The PMIC usb drivers will help to register the callbacks in the
> marvell usb PHY driver.
> udc/otg/ehci driver will call the callbacks.
> Then we do not need pass the information in platform data. It will
> remove another block in the way of enabling device tree for usb.
> Signed-off-by: Chao Xie <chao.xie at marvell.com>
previous mail was wrong, still needs to refresh:
patching file drivers/usb/gadget/mv_udc.h
Hunk #1 succeeded at 178 with fuzz 1.
patching file drivers/usb/gadget/mv_udc_core.c
Hunk #1 succeeded at 2091 (offset 14 lines).
Hunk #2 succeeded at 2109 (offset 14 lines).
Hunk #3 succeeded at 2138 (offset 11 lines).
Hunk #4 FAILED at 2175.
Hunk #5 FAILED at 2325.
Hunk #6 succeeded at 2390 (offset 45 lines).
Hunk #7 FAILED at 2370.
Hunk #8 FAILED at 2388.
Hunk #9 succeeded at 2453 with fuzz 1 (offset 58 lines).
4 out of 9 hunks FAILED -- saving rejects to file drivers/usb/gadget/mv_udc_core.c.rej
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the linux-arm-kernel