[PATCH v2 0/2] Support EHCI reset after resume quirk

2014-12-24 Thread Wu Liang feng
[PATCH v2 1/2]: Add an optional property "needs-reset-on-resume" in usb-ehci dt-bingdings. [PATCH v2 2/2]: modify ehci-platform driver to support ehci reset after resume quirk if necessary. Wu Liang feng (2): dt-bindings: usb-ehci: Add an optiona

[PATCH 1/2] dt-bindings: usb-ehci: Add an optional property "needs-reset-on-resume"

2014-12-24 Thread Wu Liang feng
Add device-tree bindings for EHCI so we can use "needs-reset-on-resume" property to force EHCI reset after resume if necessary. This is necessary on platforms like rk3288 that need a reset after resume to detect if a device has been disconnected during suspend time. Signed-off-by: Wu

[PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-24 Thread Wu Liang feng
rename the "hibernation" paramter of ehci_resume() to force_reset since hibernation is simply another case where we can't trust the autodetected status and need to force a reset of devices. Signed-off-by: Wu Liang feng Reviewed-by: Julius Werner Reviewed-by: Doug Anderson Reviewed-

[PATCH 1/2] dt-bindings: usb-ehci: Add an optional property "needs-reset-on-resume"

2014-12-22 Thread Wu Liang feng
Add device-tree bindings for EHCI so we can use "needs-reset-on-resume" property to force EHCI reset after resume if necessary. This is necessary on platforms like rk3288 that need a reset after resume to detect if a device has been disconnected during suspend time. Signed-off-by: Wu

[PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Wu Liang feng
ation" paramter of ehci_resume() to force_reset since hibernation is simply another case where we can't trust the autodetected status and need to force a reset of devices. Signed-off-by: Wu Liang feng --- drivers/usb/host/ehci-hcd.c | 6 +++--- drivers/usb/host/ehci-platform.c | 6

[PATCH 0/2] Support EHCI reset after resume quirk

2014-12-22 Thread Wu Liang feng
This series adds support for EHCI controller to do reset after resume if necessory. Wu Liang feng (2): dt-bindings: usb-ehci: Add an optional property "needs-reset-on-resume" USB: ehci-platform: Support ehci reset after resume quirk tested on rk3288 chromebook board Doc