usb: common: add API to update usb otg capabilities by device tree
authorLi Jun <jun.li@freescale.com>
Thu, 9 Jul 2015 07:18:44 +0000 (15:18 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Jul 2015 14:59:21 +0000 (09:59 -0500)
Check property of usb hardware to update otg version and disable SRP, HNP
and ADP if its disable flag is present.

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/common/common.c
include/linux/usb/of.h

Simple merge
Simple merge