From patchwork Tue Feb 25 17:52:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 183868 Delivered-To: patches@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp2040956ile; Tue, 25 Feb 2020 09:53:20 -0800 (PST) X-Received: by 2002:a63:7ce:: with SMTP id 197mr49508638pgh.429.1582653200796; Tue, 25 Feb 2020 09:53:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582653200; cv=none; d=google.com; s=arc-20160816; b=rn2Ryt+ay8110t0Ibv69ghsEv2vyjbnbDMbu+Ocao7Qewf2Qqk69IRuojwKTSz5hvx VJPpFnD9cOUaYxuchCfaOwdDLReIJH7IumLzFYRdsQTf32OgDnRUazsBbZQLeLIXU7Zd bdzHfZ6nSydapM5koBMpkZPKbErZ00paaUG2oDGvJXgDClpS/XqofYVjDiEgmJofNlOd v2BC8kkZtRPk2457vlOKlkxaA/iDuTi1G9YWfSZqxg/pgTWjxnHuqC5k23bNggDvNuDJ F8qYCmLvCmBMPoA6isVaFhJdOD6SfHCeloqj5Wq1IJqok/Jj+6FQ6OOuZsj02dAyz/hg +jNg== 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=3f9i7/6H9zuBMJqRcxgLGnwHoSaH99NYup2HlRp7R/M=; b=n7TDP2Q6RWYIY+eQr64IbsRnHnH1C2uTcEbUzQIhVJU6AHiLBbmuSgemUcZuWFvCgJ Yuqn7KlL21dl7fzR7TTOxlH2pJG8Vj+z9PZcv/vSjPwFvvLYo77Y7Yo5ik40JPtQyg2G fsR9rGFaHxnlg+ZxVxJTlyPeQV8BIhPDVLGrdLj8F+zxcpmonAdRHXT5cx/ckH8eRwmE WY/Nvax1ftOepop+u7zT2zsZDw/4Uz3bavG02Wr92Mc6uXfOy1is+Q1EF2wk7/HzbeQC ucTmlzM3lWTSnGAs7J63dxCCnBMdc/huzNqqpMRA0/pgdKaNSINpqCBKG1h8SpvG4nkD iFig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IS5nkK9Y; 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 w3sor258871plq.36.2020.02.25.09.53.20 for (Google Transport Security); Tue, 25 Feb 2020 09:53:20 -0800 (PST) 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=IS5nkK9Y; 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=3f9i7/6H9zuBMJqRcxgLGnwHoSaH99NYup2HlRp7R/M=; b=IS5nkK9Ym1FKFD8R94G0EDCeIhwwQqWITciFqHXpnJ0D+8i/mNhXApP0RW4omNzEUL KJxv+BeCzz9DPpheVQBnCQF8T6ecLMDK6AJpH6ipeKlYai+4uAdBoYJq4MunK9MRprSC hrS5lzCBtJ4UWdXFqbusRb2VGXEOyjMEtbZQ2oedc7Eb01oes5Y0WbkioRY9Xd8acLfh /BrNP0yzopYUDmJKQ5Sw/czm1oeQA5x8i7zV7f9bN5Ma2vxB3UmtDYOnEsKnvQiQLruU dlBor2kR9PdwdfftwaxZxiMdhJ11kfXKRIcmjuAhMXkqRKit143DYaTTaJ/FNwVbmYQW 2tcg== 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=3f9i7/6H9zuBMJqRcxgLGnwHoSaH99NYup2HlRp7R/M=; b=UFNlaP6LEc6EQnmy9yt1CjFGm48uYejb7bswBOwc+Lrg08ne3H333xFxE1vC5VLvlD Onz/Z6lMvhduqK3OefPpjydPAYldR4VjL44nBlwG+nbNOlDvc4ay3cWYZ7axxaj/HDGW zai5ohtiDyEcN8umznlIZfneDgia34hMHGyfP9gmP+IrD1tK+1r8PLIl05smmfNVSuX6 M3oKM3XVuqd6oi4tgxLotC0vr6uIGdNoaGBSEoeAZrTIXSY7K3U1LBB2Sn4iFFkK2jS1 2wATurOB4eQNUpNWvmo9tPrSHRqnl1fP2y6Iq/3Y3koYz7aZP+36F6L3f/XhJZc4bfNi xJig== X-Gm-Message-State: APjAAAVg6GExyopVapR5bp7wAh+epnA4etjU4wV3lPF7Ok5qU46SY2pB dgns8yaFvqOEZ86zt4XYrAkkpwss X-Google-Smtp-Source: APXvYqzs1jd4ZMn6EZj8s8LLMXaJxiIAeutiq4sl2FHDxjTkHQ/w21zJsm+acFAlG4hmT/6ttn9f1Q== X-Received: by 2002:a17:902:b417:: with SMTP id x23mr5566387plr.9.1582653200322; Tue, 25 Feb 2020 09:53:20 -0800 (PST) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id v8sm18013291pgt.52.2020.02.25.09.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 09:53:19 -0800 (PST) From: John Stultz To: lkml Cc: John Stultz , Greg Kroah-Hartman , Rob Herring , Mark Rutland , ShuFan Lee , Heikki Krogerus , Suzuki K Poulose , Chunfeng Yun , Yu Chen , Felipe Balbi , Hans de Goede , Andy Shevchenko , Jun Li , Valentin Schneider , Guillaume Gardet , Jack Pham , linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v8 0/6] dwc3 dependencies for HiKey960 USB Date: Tue, 25 Feb 2020 17:52:58 +0000 Message-Id: <20200225175304.36406-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 Just wanted to send these out again to try to make some progress on these patches originally by Yu Chen to get HiKey960 dev-board's USB functionality working. For now I've dropped the hub switching functionality from the series, as I've not yet been able to come up with a solution to Rob's objections. So this set focuses just on the dwc3 changes needed. The full patchset (including hub switching and dts changes not submitted here) can be found here: https://git.linaro.org/people/john.stultz/android-dev.git/log/?id=410aa219e0c201e8ba0e03a79b5d3f4f5c47126b I'd greatly appreciate any feedback or thoughts! thanks -john New in v8: * Rob objected to the custom hub switching logic in the previous series, so I've dropped it for now. Cc: Greg Kroah-Hartman Cc: Rob Herring Cc: Mark Rutland CC: ShuFan Lee Cc: Heikki Krogerus Cc: Suzuki K Poulose Cc: Chunfeng Yun Cc: Yu Chen Cc: Felipe Balbi Cc: Hans de Goede Cc: Andy Shevchenko Cc: Jun Li Cc: Valentin Schneider Cc: Guillaume Gardet Cc: Jack Pham Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org John Stultz (5): dt-bindings: usb: generic: Add role-switch-default-mode binding usb: dwc3: Add support for role-switch-default-mode binding dt-bindings: usb: dwc3: Allow clock list & resets to be more flexible usb: dwc3: Rework clock initialization to be more flexible usb: dwc3: Rework resets initialization to be more flexible Yu Chen (1): usb: dwc3: Registering a role switch in the DRD code. .../devicetree/bindings/usb/dwc3.txt | 5 +- .../devicetree/bindings/usb/generic.txt | 6 ++ drivers/usb/dwc3/core.c | 22 ++--- drivers/usb/dwc3/core.h | 6 ++ drivers/usb/dwc3/drd.c | 96 ++++++++++++++++++- 5 files changed, 116 insertions(+), 19 deletions(-) -- 2.17.1