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: 11432345 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 445BD14B7 for ; Wed, 11 Mar 2020 17:21:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E3AB020736 for ; Wed, 11 Mar 2020 17:21:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lGXuwLCc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730498AbgCKRVS (ORCPT ); Wed, 11 Mar 2020 13:21:18 -0400 Received: from mail-pj1-f68.google.com ([209.85.216.68]:53916 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729675AbgCKRVS (ORCPT ); Wed, 11 Mar 2020 13:21:18 -0400 Received: by mail-pj1-f68.google.com with SMTP id l36so1299040pjb.3 for ; Wed, 11 Mar 2020 10:21:17 -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=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=tre887jNYeyzRqMMmk2B9aIlhE8dpsEZN0/3SyiQqZGPHR/VI9Ry+BiehUpPGuYp4B q0J0Axm1w1gY5VTY7eb0meZaiMflP/mUAQ5y4Bzlak322roPqmqqQu7BKbMTelO/+L6A dnXUIO7/n2Q4LK9H0ak5QjTed3vC9ZDkU+P2NiEt8xuCJevgdMWU1gn86cHeXts8dPVX CdGk3t0pz27D82E+c+nIdttBI9PyrgJj9uv/7HHrNQwHFx6HSkZVYFJ2nr2p2vxR2hMZ aja3Iyij/DuWH4AvrJKJVOBx9NWt0duQOTffjfTeQNsJyLHVhPd7Rh5jWktvKYbgXf3y 4HDA== X-Gm-Message-State: ANhLgQ1QLxeWMdc4jbNiDOMwqAWapqrlyHk7eSc9nAcv8tHGIW0bhYFE R45sF8ePSOlZLiREr9VdP+EeZK/W5fw= 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) 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 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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(-)