From patchwork Wed Sep 25 23:42:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 11161715 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 EC528912 for ; Wed, 25 Sep 2019 23:42:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C014521D7F for ; Wed, 25 Sep 2019 23:42:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gNJujOSQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732299AbfIYXmc (ORCPT ); Wed, 25 Sep 2019 19:42:32 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:40770 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728856AbfIYXmc (ORCPT ); Wed, 25 Sep 2019 19:42:32 -0400 Received: by mail-pl1-f194.google.com with SMTP id d22so395227pll.7 for ; Wed, 25 Sep 2019 16:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=FWq12v0l25/25NHMUK4x2Bta04DqoQNuL8vSuCdOZpk=; b=gNJujOSQp9rC6EBCot02UBfTX6szLQqPNSCL8LnBSnoJCNczdvFcwNsTJVle7vT4Y5 NMnaxxBxuFqZ+56NgxwpggTKzYoN/5Rg/Pqp5BJ3Tq3+RsW6jq3zXsP8/se7U9orjbSX 9f0+d6YL8zW+yzEFVzJ3gsBVtouSXL1YeE+K0N3XAjLIHiC2vOnKJSaz+jJHLkL81abs po5FQOPWG3C79YXEPAdy20G94bIm/ch/FEldpAFsu2HXMwtAAOZTEb7Yv/5mXvqvbWmS kgnQtJxFUmofT3KLeJqhXiyy+4MSxzl68WqCkB7r4qK+83ytYYIucWf2yxMkzuaP+oO9 veFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FWq12v0l25/25NHMUK4x2Bta04DqoQNuL8vSuCdOZpk=; b=qbJBVfsYo/Enja4kpBwO6igzKHha9LyN3bkqfwe07NdgqOVnPBfWox9twUHBw5awr7 zL9o7p/hHcvLQa9BS5sLBLHVa38xJ/nvqoPEw8SyHK2hPwCKlNwuflWSv9V53h5YkLoj 4td4vWAyGu7uuuFyFfXlAZvwUWpy9N7iKyVDIsQYyhKGY6GEYxF9xtht4i5I4mCDFaVr zmPKE/Cq2eOVDMiXUzGSMVi+jOK7q7i51VoKTF75OO9nQOjrDnG/yNwqQMOmsUZLFbMg F6IJqHUviGloH+Sz3x+L6uaeGFaJ3iO0QzwfTpabpRSfY6u8cBdrh7e8ZyDoIuVD3hi7 i+GA== X-Gm-Message-State: APjAAAWj29ZSU+9eayEOJUa4tTnUV56guQ5PJMPItjXQyEdju5Nus7y0 /QhV9jjti/mOZsnS0sqPT584mQ== X-Google-Smtp-Source: APXvYqwmyQNpRkoi+PIX6YyGFxcPt01EWCgLGoSA83cTmN2ppk/KQEiIQ2Ddl5rsamhhyyDC7ie73Q== X-Received: by 2002:a17:902:8d98:: with SMTP id v24mr687990plo.265.1569454949571; Wed, 25 Sep 2019 16:42:29 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id d1sm131127pfc.98.2019.09.25.16.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 16:42:28 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Greg Kroah-Hartman , Felipe Balbi , Andy Shevchenko , Rob Herring , Mark Rutland , Yu Chen , Matthias Brugger , Chunfeng Yun , linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [RFC][PATCH 0/5] dwc3: Changes for HiKey960 support Date: Wed, 25 Sep 2019 23:42:19 +0000 Message-Id: <20190925234224.95216-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org I've been carrying for awhile some patches that Yu Chen was previously pushing upstream to enable USB on the HiKey960 board and I wanted to try to nudge them forward as I'm not sure as to what his plans are. I've reviewed some of the feedback from his last series, and tried to clean things up a little bit. However, there are still some dt binding bits between the misc switch driver and how it interacts with the rt1711 and dwc3 driver that I'm unsure of. However, there were some simpler parts of the patch set that I wanted to send out to see if we could make some progress on those parts while I continue to work on the more complex bits. You can find the full set of changes to get USB working on the board here: https://git.linaro.org/people/john.stultz/android-dev.git/log/?id=e2f983603b4d89c021929842142ca7c3370422cf This series is just the more trivial changes, along with some missing binding documentation that I've added. I'd greatly appreciate any review or feedback on this series! thanks -john Cc: Greg Kroah-Hartman Cc: Felipe Balbi Cc: Andy Shevchenko Cc: Rob Herring Cc: Mark Rutland Cc: Yu Chen Cc: Matthias Brugger Cc: Chunfeng Yun Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org John Stultz (2): dt-bindings: usb: dwc3: Add a property to do a CGTL soft reset on mode switching dt-bindings: usb: dwc3: of-simple: add compatible for HiSi Yu Chen (3): usb: dwc3: Execute GCTL Core Soft Reset while switch mode for Hisilicon Kirin Soc usb: dwc3: Increase timeout for CmdAct cleared by device controller usb: dwc3: dwc3-of-simple: Add support for dwc3 of Hisilicon Soc Platform .../devicetree/bindings/usb/dwc3.txt | 2 + .../devicetree/bindings/usb/hisi,dwc3.txt | 52 +++++++++++++++++++ drivers/usb/dwc3/core.c | 20 +++++++ drivers/usb/dwc3/core.h | 3 ++ drivers/usb/dwc3/dwc3-of-simple.c | 4 +- drivers/usb/dwc3/gadget.c | 2 +- 6 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/hisi,dwc3.txt