usb: chipidea: set usb otg capabilities
authorLi Jun <jun.li@freescale.com>
Thu, 9 Jul 2015 07:18:45 +0000 (15:18 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Jul 2015 14:59:21 +0000 (09:59 -0500)
commit79742351c89b76ebcf82b73103aed50f98ac2ee4
tree1e73312122dafe00fbc6703d3ce186efc9b44163
parent929412d94f2b75fe2a662afa2977bfb6a233c1c3
usb: chipidea: set usb otg capabilities

Init and update otg capabilities by DT, set gadget's otg capabilities
accordingly.

Acked-by: Peter Chen <peter.chen@freescale.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/udc.c
include/linux/usb/chipidea.h