From patchwork Wed Mar 11 17:21:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 184403 Delivered-To: patches@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp869779ile; Wed, 11 Mar 2020 10:21:17 -0700 (PDT) X-Received: by 2002:a63:d18:: with SMTP id c24mr3813167pgl.218.1583947277713; Wed, 11 Mar 2020 10:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583947277; cv=none; d=google.com; s=arc-20160816; b=oNbvfG8UhXr2boRNisDJhht5kzxybWdCykGh2XI11ysHU7svqbWAKVo67zoZEQcdrp JYLUFn1AyC2CD/fIJPjo8U9g8HXhISdwwpsrC++FOiMv7H7MFMGnK1AwqXP+zMp2mTSr Kt41Qkf2yBZTpUsrXrYnBrkw560dF6hFB84zTizpwNp71O1FzRglDiTPtWQD6EAvHuP+ Iie4uK1TMkRonVog9H1cvwHKvXX7QEI/QNV1vL83lNa3TpmSJ7gHWZ5Jh59RZWZwAtRU KUtPx6+IccfjckzkLHDlAKFgN0Ipzd6z43IC2nJuhcki0WkmPds9BSyRkMXReFUkI64C oolw== 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=Tq9GZ+8SGFDwRnCh/imVR+PNSA8EAmKdds4nGI9H2Mo=; b=ZZcaq6nHIIbCmPgDRup/rZmGWa34GBqzkBnzf+UJm7ckJ0DGZhsTtzwnyP8MXd82Lg c+578PIkbHWbO01EvOpS9d2xYdR7L9qeMSJSCy0my4ypxVazdKeyI6w2SR3u/u6j12hp gMryEvHzd4QTLedbnyb7SiRcNNQWoKiQYRaRcnLUG9DCcoPCARoGpztT+TIb7JYiTRuL QeNXzPN/387Jg9K1PQtjIFC/+o5QhyaFSseHpLhQiOx+u/XrKkI0LK4nDrOiHEtLv2uW mmMsEuKpcqC4viVBburcdbx1D0o2bEGjIbrnBBNbixQ+/AyQO3YpbgptNPN8uePYiIvD hVnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lGXuwLCc; 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 my2sor2734388pjb.7.2020.03.11.10.21.17 for (Google Transport Security); Wed, 11 Mar 2020 10:21:17 -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=lGXuwLCc; 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=Tq9GZ+8SGFDwRnCh/imVR+PNSA8EAmKdds4nGI9H2Mo=; b=lGXuwLCc1bAMDBZKUm4Z0GVrnOfXviGRb8GMVys/7n/1s1if5NOrly6gG0w9u6s5v6 JD7mdOslalD8z5jY0xf9kpFGmuboRQzy+ilGn45y7yWp9tbpn1ael3prC6E4HYrmFjcg 4yiFINpklMEOlwe6/gCXgXd0YdvrX7x/9S1141KdzA6zIzY8zstlv6s1y9ubjW2a64Wm XrifR5qIa5xt64L7qa8qLb/kBSyJajXJP4L8UCAGsDV9vNkI+mxNGG0lirJg1rTnCNz2 rcUkmMnOF0msCK0ZAF6bYn8k8hcNbkUq47ofh+S+5FQ4GtlUTqTngUyUejwInmCjLc3o xFpw== 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=Tq9GZ+8SGFDwRnCh/imVR+PNSA8EAmKdds4nGI9H2Mo=; b=obUwZeUsLyIRvoxEolLz7+bJozq55WtERXMUQwHcpbFchcf4KZgBEYHfQf89Z3ignQ Q7oCgMBwN86ZQkQQlhawUUCBDXazvS5yfY7nEvUKasekvD2gXgXUFGqilYBOV0rXKDKc jJGiLOZIzKbolNlz4baterq7XHuZD15ggpGEAyjZvL4/iRvCdpEHdvXu7x4PYFIflxpS 4It5MCdZ5sYebwBg/2XG30L3826aJG8JsnTJSMFYsn6hDgrsomB5KjEZF6mUldlwqcBf DRilmqVrmpREEJtiGzIghaNYAV1zhe8R4EqnZhmkDIzWzJ78G6wIyHDRBQxYw0VlhKog wRvA== X-Gm-Message-State: ANhLgQ0131Y0PRExBf1cvpeW6bgvMOHCpgSgbpz3gdxahcKgMPmn5Ywk EU+oYlWtnK0/DtowUh5LcjlMRJuA X-Google-Smtp-Source: ADFU+vvpIUBHc8hAtcs1nlct/+NNyilN9lsepNmLSF74qLod0TgMUU0AXqilUNEu3F5SGIclBX2KXg== X-Received: by 2002:a17:90a:da03:: with SMTP id e3mr4362490pjv.57.1583947277242; Wed, 11 Mar 2020 10:21:17 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id b24sm14914053pfi.52.2020.03.11.10.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 10:21:16 -0700 (PDT) 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: [RESEND][PATCH v8 0/6] dwc3 dependencies for HiKey960 USB Date: Wed, 11 Mar 2020 17:21:03 +0000 Message-Id: <20200311172109.45134-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=dcb542a207ac5c5f94729601b2390ca5fbf6f6cd 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