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: 174431 Delivered-To: patches@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1313427ill; Wed, 25 Sep 2019 16:42:30 -0700 (PDT) X-Received: by 2002:a17:90a:8404:: with SMTP id j4mr266735pjn.143.1569454950254; Wed, 25 Sep 2019 16:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569454950; cv=none; d=google.com; s=arc-20160816; b=C7iqn3n+dDWHJ4s2rAqHxqyy9xlxeOweTJCuUrrtdXqngMlyMiGQOWmyrK8IeEoX5H 4D2m+Zzz+tn5pqe9HTuUu1nH5V/TqTdBiww3P1hIQpGxeccPaVVcRpKFASNZZBcC2thc ZLLMszTxFWd9lgQadw6hHeaO3T4rYSzT7F/sbks/A5pUPl5Eo1X0XOu6YIgJkMNRqn1G yZbm+Ngk1tEGetuyFpu4jpoRpz2fvXtUWovkHsus/GSrKxoHtlh5vcJ38rGLol08Qtq6 17qd36EGbBrdF3w7y2OPcTzzkV9O4iEFOHdFpK+RexJGUE66Q2suE1M30lkWIToDVb/o ORgw== 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=FWq12v0l25/25NHMUK4x2Bta04DqoQNuL8vSuCdOZpk=; b=tXzPwMzZ9VwTFtugV2X9q+G52QSW8i5qli9E7ahbIIhSri/qsXsv2gfvA4Kzkfc+3D aqKuhpz8qIdcmOKOFRHpLaoh6/6VwcYHIsnBKB5ugkUcCzx1xh4uhyrMPCznk0GKM74m 49pTmx/kuALaJpMXiH9C7evxPNswGUhvEubQsv47RdbBSZ82/+tLw3TEqB72b//jYYzw HPmhFFVfRu7VS4MdG9iCu4X+psWMgwjRmSW+wy3YznSpscEdkGtmQ59mEO3FMp1Y5UFf l1HaBbcQcm3SPNN9ZvfrEzsw/8w+Tc3wYszZbny8tKnvGEsj1+jnFeguC0YZ/r/KE/1V qfvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNJujOSQ; 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 t2sor261499plo.60.2019.09.25.16.42.30 for (Google Transport Security); Wed, 25 Sep 2019 16:42:30 -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=gNJujOSQ; 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=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=SCJ0FnhlaCKz7sxewIQv8B9Av9D9d1rhY8JCuy+gn01kobl4+EWNox4dhcfBx+mvMi KLheF80kShSDl1E7lPU/mdRNAZ9vxlVJ1NHcgG+KPLwcqdMIsl+74uVoobC06SOozhCq nC1CVyWUiT+myDpsG6hZHV+B+AmHbKANcGeRz0oAQCdE5G3lwtO0tZA/j68GR0+oqds0 8yzJqi5KnbRJGmB91ntA9thRJQfiSaRXgL1NzlHSf12mo789mB9xUzX+w84BZjociQrz 5cWlFKynyQQ2Q8M8HWRp+161AKNUzCrTzHo8mhd/Bafz++7OvLDGCQV/WycvcT3ehS2z GvDw== X-Gm-Message-State: APjAAAV7pOQrlYaN8NLDN0JEZ52wDNJdhQZV7e4QoABoTqaeeTx3tIB2 SrBwXgbmymuHejkKac5NGltWz3Ye 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) Return-Path: 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 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 -- 2.17.1