From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757645AbcJTEOt (ORCPT ); Thu, 20 Oct 2016 00:14:49 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:34639 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbcJTEOr (ORCPT ); Thu, 20 Oct 2016 00:14:47 -0400 From: John Stultz To: lkml Cc: John Stultz , Wei Xu , Guodong Xu , Amit Pundir , Rob Herring , John Youn , Douglas Anderson , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Chen Yu Subject: [RFC][PATCH 0/2 v2] dwc2 fixes for HiKey Date: Wed, 19 Oct 2016 21:14:39 -0700 Message-Id: <1476936881-30743-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 wanted to send out two patches we're using on the dwc2 driver in order to make HiKey function. The first is seemingly just a bug fix we ran into when changing modes while the bus was auto-suspended. The second is a little more interesting as it works around a limitation of the the device in that it can't handle split transactions, so the usb speed but be lowered and raised manually when full-speed devices come and go. I wanted to send these out for further review and consideration. Changes in v2: * Fix build issue reported by kbuildbot * Rework to avoid using new dts entry suggested by RobH * Further tweaks from Chen Yu to try to address comments from John Youn * Further simplified logic Feedback would be greatly appreciated! thanks -john Cc: Wei Xu Cc: Guodong Xu Cc: Amit Pundir Cc: Rob Herring Cc: John Youn Cc: Douglas Anderson Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Cc: Chen Yu 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 drivers/usb/dwc2/core.h | 6 ++++ drivers/usb/dwc2/hcd.c | 69 +++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/dwc2/platform.c | 1 + 3 files changed, 76 insertions(+) -- 2.7.4