From patchwork Mon Oct 7 17:55:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 175397 Delivered-To: patches@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4606694ill; Mon, 7 Oct 2019 10:55:59 -0700 (PDT) X-Received: by 2002:a63:1d0:: with SMTP id 199mr32302331pgb.329.1570470959383; Mon, 07 Oct 2019 10:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570470959; cv=none; d=google.com; s=arc-20160816; b=OaX4bF3l+lY2aN0uG7jq9j4i/eoGj72lA1qtHqEiGls9IB2JWyvuZ9xRWIWH8VQJGL pzG+pYLiooNOU24Vu/CNdhORXu+s/qmsxt8+18KXfSvrO2eLbrO6SqbypP9qi7yV5ogv niFmbb0U66EP09aA27vKsK1l8ftBFk4xC4UZeWPXPQBToMaSlsetXf5S4iev5bQR+HYK 1p6v1KtsQMGI1bXeQgfXF5dOBAxFr0nNib8YRUh22vpjx0lMnmE4fC6vQwFU/Ner4XC3 6ZH3ayRCtHQuC6IaBRr8kpKSGMxxyyiBrTG0LjOVW3vOzWgVj/9poC9E+BjpphYCLtv/ 30LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=egboN5LspnsxlOmbUEUbW8zbZDOgKxSBdf9tJPyXXRs=; b=rOLQFmQOU0i/Kwyacm+mSRSu+x+i6PVRNYGqeOL4p+6K0DyArxGcaj6nG62XZactnk 8YFIWEkQ4ETa3qF3lhRrpbhIfMYBB5HMHXJDykV/q9Bj3h76kj/M7iHGv+gdOxTLI0Z+ zV8CLaPAZmJ8SF5EF73sYyZC0c10O5pUCvTEr38kY9qv/0ugrtagjulH09loyYQLlIxa CQn/UvrxTDheKNpEjZKB57X0yBgr+dZ+GLa2wHSKNRdPi5SEvp872+Vk1a3GLvXiUt1x nrj6125McbLvstLn6rBsXJ8LFjH62l/Pqcaj8iynvK49FB/lE4d26AhBICsjZy9Z2VY/ YHrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h1As562v; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z123sor4382958pgz.61.2019.10.07.10.55.59 for (Google Transport Security); Mon, 07 Oct 2019 10:55:59 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h1As562v; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=egboN5LspnsxlOmbUEUbW8zbZDOgKxSBdf9tJPyXXRs=; b=h1As562vjET1VzrndYwZlyOz+8bP+Z6B7xHScJN8GN0dXK88R+2cHCxeADlO92XjUQ bp+k3fsyOVMKU2H8C5DhtAir11Pp95AfQwX9dBU1Q00hP05/wNahVY35KhVta3r9FF9X pEmUBcyVKz579Ru6T16W/hzUbOal04Ygcxw/JOPYxnD/YP7g1rbcHTkXsNIRNCbBO3jX lll53Au/bZ9ilssKtkuGjChBP9xXL9Lz0ShEdID0ZabgSrB1y7mVM4oY1C0qAnGK2RIv 1dnwOO0g0TbkftARF6KvWBcBTVuvOFhXHqsZw6+8qfho08c1qfxOW3+ggttMw5KH1YGT Mclg== 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=egboN5LspnsxlOmbUEUbW8zbZDOgKxSBdf9tJPyXXRs=; b=kWORYorGZZD8+nL48cVD2U1UGMQjncCriHvgahlhQvV3fpNZUWqgeUG1EC/p2gvoBi BGd0an/rsr9PM6i3NCEu3TE95uJuvSmCbtW+FKWKgPgMnNn1jtacfdlBDgPJaq7dULl9 18ntZRscNXika4mIQugPG93Nsuuc5mtmCQmuDloUe/F2wAqe5hBEnzjtFYcMRp2j/PKl MECJaG1RSC32zH6q3jnE1qM1CEWZ+R/t/d6horsLY80RVoumYz+bgXaC8W5WjFPWUB45 0DgUHJMUf9XIfvPl7W0ujUusVU0ZmJ5NPhugXI8S9Mu0DT53WM3iRULp+nA9RVI60H5K E2zg== X-Gm-Message-State: APjAAAWfqdZjLqe5SEhuyXd67h3E1Ji2pFqESMTUQQ4qzINZtrcil7z5 LbzQhmi+KSDq89x5t7V/QMVNsP1G X-Google-Smtp-Source: APXvYqxlGxe94guiFCzVkK5f+pR1M2fVMTgZtKZPLcP1Jxldh/nvUB2WLt7G/TlrrY7TC5wnTetyzQ== X-Received: by 2002:a63:d250:: with SMTP id t16mr3884089pgi.278.1570470958745; Mon, 07 Oct 2019 10:55:58 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id k15sm3820096pgt.25.2019.10.07.10.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 10:55:57 -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 v2 0/5] dwc3: Changes for HiKey960 support Date: Mon, 7 Oct 2019 17:55:48 +0000 Message-Id: <20191007175553.66940-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 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. This series is just the simpler parts of the patch set that I wanted to send out to see if we could make some progress on 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=ef858be80f202b7bffb7d03c168ee72457a0ef3e 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 New in v2: * Tweaked binding clock name as clk_usb3phy_ref didn't seem right. 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 mdoe 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 -- 2.17.1