From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752106AbcLQFcB (ORCPT ); Sat, 17 Dec 2016 00:32:01 -0500 Received: from mail-pg0-f51.google.com ([74.125.83.51]:35866 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbcLQFb7 (ORCPT ); Sat, 17 Dec 2016 00:31:59 -0500 From: John Stultz To: lkml Cc: John Stultz , Wei Xu , Guodong Xu , Amit Pundir , Rob Herring , John Youn , Douglas Anderson , Chen Yu , Vardan Mikayelyan , Kishon Vijay Abraham I , Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [RFC][PATCH 0/5 v2] Fixes and workarounds for dwc2 on HiKey board Date: Fri, 16 Dec 2016 21:31:48 -0800 Message-Id: <1481952713-29829-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I just wanted to re-send my current queue of patches for dwc2 controller on the HiKey board, as my last patchset ended up colliding with a number of changes that landed in the 4.10-rc merge window. I've fixed things up and validated these against HiKey. I also made a small change to one of the patches as suggested by Vardan. This does exclude my patchset[1] to add extcon support to dwc2, which John Youn suspects a pending rework of the dwc2 fifo init logic might make unnecssary (however, no such changes appeared to have landed in 4.10-rc, so I'm still using that patchset in my testing). I'm also out for the holidays after today, and while I suspect others are likely going to be out as well, I figured I'd send these out for a chance at review, rather then sit on them for two weeks. I'll resend after the new year addressing any feedback I do get though. Feedback would be greatly appreciated! thanks -john [1] https://lkml.org/lkml/2016/12/6/69 Cc: Wei Xu Cc: Guodong Xu Cc: Amit Pundir Cc: Rob Herring Cc: John Youn Cc: Douglas Anderson Cc: Chen Yu Cc: Vardan Mikayelyan Cc: Kishon Vijay Abraham I Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Chen Yu (2): usb: dwc2: Force port resume on switching to device mode usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220 John Stultz (3): usb: dwc2: Avoid sleeping while holding hsotg->lock usb: dwc2: Workaround case where GOTGCTL state is wrong usb: dwc2: Avoid suspending if we're in gadget mode drivers/usb/dwc2/core.c | 6 ++-- drivers/usb/dwc2/core.h | 9 +++++- drivers/usb/dwc2/gadget.c | 2 +- drivers/usb/dwc2/hcd.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/dwc2/params.c | 19 ++++++++++++ 5 files changed, 110 insertions(+), 5 deletions(-) -- 2.7.4