From patchwork Tue Sep 8 07:20:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 11762693 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5036859D for ; Tue, 8 Sep 2020 07:21:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3128821D46 for ; Tue, 8 Sep 2020 07:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599549682; bh=xVxVAtIHJcO6KUDLBsqaTImTwuMgwUwnIEbsGDNDDvI=; h=From:To:Cc:Subject:Date:List-ID:From; b=XmOK7BsnUkA/15VPniPTyFQczgEqBmlVyNI98h5qN1JuCKaUa/0eVhdqEEudPWDI+ sA4C7kGqxjjIJl1R9sZuOd1965kn39/W0pvAcGYvQZMxUkPtLRRYjxzi8L+wayKaB7 MILCgDTlpum74/3PqtVSRZj/PsUA5+AI53dfpouo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729289AbgIHHVH (ORCPT ); Tue, 8 Sep 2020 03:21:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:43772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729080AbgIHHVE (ORCPT ); Tue, 8 Sep 2020 03:21:04 -0400 Received: from mail.kernel.org (ip5f5ad5ce.dynamic.kabel-deutschland.de [95.90.213.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6900521D42; Tue, 8 Sep 2020 07:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599549664; bh=xVxVAtIHJcO6KUDLBsqaTImTwuMgwUwnIEbsGDNDDvI=; h=From:To:Cc:Subject:Date:From; b=gDattiwIJ9kvnvaLvHyrlCjlIfTNE+KPZ4aOsRzrTCFUNLAQPPy8TNnVyaOZesMwU 2LLhi/WXS/z3H2/+9KwI3tXFP53gpc4/bEAIX3V1awgpGiIcQJA0hFyXulDNWcRq6a HXkY9rjBpYYfFuGtKXD8g0i3XqL7Q0HunpYj/H2E= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kFXw5-00Axvl-3g; Tue, 08 Sep 2020 09:21:01 +0200 From: Mauro Carvalho Chehab To: Felipe Balbi Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , John Stultz , Manivannan Sadhasivam , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 0/2] Add a quirk for dwc3 driver, requred for Hikey 970 USB to work Date: Tue, 8 Sep 2020 09:20:55 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This small patch series add a new quirk for the dwc3 driver. The first patch was submitted previously to the USB mailing list: https://patchwork.kernel.org/patch/10909965/ This quirk is also present at the official Linaro's tree for Hikey 970. Without that, the URBs produced by the USB HID driver returns -EPROTO errors, causing an endless reset loop, on every 0.5 seconds. Please notice that I don't have any documentation about Synopsys dwc3 driver. So, I tried my best to document this quirk at patch 2, but I can't add anything more specifics, as I don't have any datasheets from such IP. Mauro Carvalho Chehab (1): dt-bindings: document a new quirk for dwc3 Yu Chen (1): usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc .../devicetree/bindings/usb/dwc3.txt | 3 +++ drivers/usb/dwc3/core.c | 25 +++++++++++++++++++ drivers/usb/dwc3/core.h | 7 ++++++ 3 files changed, 35 insertions(+)