From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39DF9C282DC for ; Thu, 18 Apr 2019 00:15:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0B0AD21850 for ; Thu, 18 Apr 2019 00:15:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WVKgU/F3"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="LVGQpggD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B0AD21850 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/nWJdFIO0wXfy5Se3618sAwchcxaf5bBB9kZVsq1uI4=; b=WVKgU/F3HnDChy t0GqCHcSOCwYJftk9KbIiZEOPgXqkRjkUDrfn6lXp1GVuc93RRnirGIkMB2MMoWH//sGVlAEME65i JFV5nZfHEqVGt6nI4afiobURZEDKxXzSYYSiiq/MX54XQAPnYiiIdMUbD8QtH8qhd2wNM5aYg9jNh bSxMSBA1OMnos8tb3OIwOm9BxcHTasY4z5evC2H+UPEpC+LIK/Q+h3lxV7QWnEYJX1ZQQ3i6j4qkF 4aYNGFpV4X0fWjI4VzLGWVHLNmvA/SuoB0D2HSOXGY/SsTfwZBuPfWI0+dPfYt4j2c2qGdxp93J50 o3REyG6T1UiVoVhBtiEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGuho-00081h-FM; Thu, 18 Apr 2019 00:15:08 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGuhi-0007CR-IQ for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2019 00:15:04 +0000 Received: by mail-pf1-x444.google.com with SMTP id 188so228584pfd.8 for ; Wed, 17 Apr 2019 17:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c9oThqOPQYRE9+j5YBe3T7HRFD4v17lP81JvPeWNUJo=; b=LVGQpggDxObbMay+0kK1xkAClUgU3QUKZ2zeyJjh8Xnrx4z9dJPNi9TUp+f8RTd0Ck d9NpEkly65of7S0zxErJ85rX495+moDdrKFtuN1ondPtJB3MHKsle748/lx4Hfmml3CZ hTOUOxgkvb0vw0HpArE9TW/ArB1KEhj1U94VI= 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:mime-version :content-transfer-encoding; bh=c9oThqOPQYRE9+j5YBe3T7HRFD4v17lP81JvPeWNUJo=; b=rbh0j/Uz2p+YC60rEWgCL0LMegCoi0PTOGX70Ot6T25QlS0wh5bsz371p+oUSF0CM4 UM7nw94ese5fc36qZXR3amJosmtx+iAJ1s1TLricYRGJ+VZ0PolWJqIrb0JIM4ekBQnX Q7hJtoY+rztxKWcHA4/FX7NSwgEJH02pEQ2/wUv9Ybw47MrmeUTYpibKTFq94JqMV6Mj eEKXl7XbJmSyYB7We82vd+h4c363gL7eVFUO2/SuoLESsuaQuu1WDWVSJjK0KxFJI5AU kF0bnoE3IOXyoQphi0sLTR/vvu2eXDwOFd1cwPMNwDsAY8YvxnNjlOn92n3iVC8SCxUu FMig== X-Gm-Message-State: APjAAAWWfC20ePNew5MtyB/iU15y+TwNMksRmVDA/9haDFoWOwSyn68c 4VGnuBoU7TqRLWMspFyXArKDFw== X-Google-Smtp-Source: APXvYqxBrq6dTjS91CHRbsI1bTnxxtQbGFSU4OZmJFaPtT8QQp4Fl3rumYe7P87zkpZ1XvLPGPB3XQ== X-Received: by 2002:a62:7603:: with SMTP id r3mr93273266pfc.32.1555546496404; Wed, 17 Apr 2019 17:14:56 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id q5sm447668pff.97.2019.04.17.17.14.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 17:14:55 -0700 (PDT) From: Douglas Anderson To: Minas Harutyunyan , Felipe Balbi , heiko@sntech.de Subject: [PATCH v2 0/5] USB: dwc2: Allow wakeup from suspend; enable for rk3288-veyron Date: Wed, 17 Apr 2019 17:13:51 -0700 Message-Id: <20190418001356.124334-1-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_171502_697943_C721C415 X-CRM114-Status: GOOD ( 10.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Amelie Delaunay , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kai-Heng Feng , zyw@rock-chips.com, Stefan Wahren , Nicolas Boichat , linux-rockchip@lists.infradead.org, mka@chromium.org, Alan Stern , Jon Flatley , Artur Petrosyan , Elaine Zhang , amstan@chromium.org, Randy Li , Rob Herring , linux-arm-kernel@lists.infradead.org, Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Douglas Anderson , ryandcase@chromium.org, William Wu , jwerner@chromium.org, dinguyen@opensource.altera.com, Nicolas Saenz Julienne Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This re-hashes two older series I posted a long time ago, re-basing them to mainline. ...well, technically, atop another dwc2 series I recently posted: * usb: dwc2: Another attempt handling rk3288's remote wake quirk https://lkml.kernel.org/r/20190416215351.242246-1-dianders@chromium.org https://lore.kernel.org/patchwork/cover/1062972/ In general I've tried to add links to each patch pointing to relevant older discussion. Here are overall links to the cover letters though. Note that for the previous "allow wakeup" series the discussion was scattered a bit between the original post and the repost. * usb: dwc2: bus suspend/resume that's not hibernate https://lkml.kernel.org/r/1446237173-15263-1-git-send-email-dianders@chromium.org https://lore.kernel.org/patchwork/patch/613761/ * dwc2 patches to allow wakeup on Rockchip rk3288 https://lkml.kernel.org/r/1435017144-2971-1-git-send-email-dianders@chromium.org https://lore.kernel.org/patchwork/cover/572944/ * dwc2 patches to allow wakeup on Rockchip rk3288 (REPOST) https://lkml.kernel.org/r/1436207224-21849-1-git-send-email-dianders@chromium.org https://lore.kernel.org/patchwork/cover/576120/ I'm hoping there's a better chance of these things landing this time around, but I guess we'll see. ;-) In case it's helpful I've put what I tested (which is based on Heiko's for-next branch and includes patches to enable deep suspend plus two other s2r fixes) at: https://chromium.googlesource.com/chromiumos/third_party/kernel/+log/refs/sandbox/dianders/190417-testing-dwc2-wakeup Changes in v2: - Rebased to mainline atop rk3288 remote wake quirk series. - rk3288-veyron dts patch new for v2. Douglas Anderson (5): usb: dwc2: bus suspend/resume for hosts with DWC2_POWER_DOWN_PARAM_NONE USB: Export usb_wakeup_enabled_descendants() Documentation: dt-bindings: Add snps,need-phy-for-wake for dwc2 USB USB: dwc2: Don't turn off the usbphy in suspend if wakeup is enabled ARM: dts: rockchip: Allow wakeup from rk3288-veyron's dwc2 USB ports .../devicetree/bindings/usb/dwc2.txt | 3 + arch/arm/boot/dts/rk3288-veyron.dtsi | 2 + drivers/usb/core/hub.c | 7 +- drivers/usb/dwc2/core.h | 5 ++ drivers/usb/dwc2/hcd.c | 84 ++++++++++++------- drivers/usb/dwc2/platform.c | 43 +++++++++- include/linux/usb/hcd.h | 5 ++ 7 files changed, 113 insertions(+), 36 deletions(-) -- 2.21.0.593.g511ec345e18-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel