From patchwork Thu May 16 22:59:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10947139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C56D7924 for ; Thu, 16 May 2019 23:00:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1BDE1FE8E for ; Thu, 16 May 2019 23:00:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A50E01FEBD; Thu, 16 May 2019 23:00:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 543081FE8E for ; Thu, 16 May 2019 23:00:20 +0000 (UTC) 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=k87B0rnHRl9rJw3B2Y7NURQLVVb6GacGP/1rw9nbQsY=; b=rF+29UUwvU+8Gy 1cUgvrehwLASHutU/PKhxHBMTV05A/P47Z2dcna/os2rMg8scu8eE+ECyL3QHPkCQgOXiN6ZiXZQ5 lJ68TH+OIwbNj1p3kkvGWtevuftuPp0LGGbBt9xZe+gN6AiTQYaL9Bl7V34onEt05bbayNOpkV+DC aAiAvAEEFA5u3jZqkJWv2z2KBPuP0nx3fsx/LzBPTYirUuIm7oAnqsRU6ALw2s90or3zEVfmD5uI3 Ssh+LgHYOQ0h+7o0esOFFYHfx/KC+d6MhyCgBtLW2b+c1yj/y3l+AR6RM+ZUqtVoT5cwsrmbqGSek 7LA3UILb1WlRkv1ZMPCQ==; 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 1hRPMD-0003W4-TU; Thu, 16 May 2019 23:00:13 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hRPM0-00025H-3S for linux-rockchip@lists.infradead.org; Thu, 16 May 2019 23:00:01 +0000 Received: by mail-pg1-x541.google.com with SMTP id 145so2265195pgg.9 for ; Thu, 16 May 2019 16:00:00 -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=5SPI5RDPWdm7X3U8G9i9l916Umv8GEODUn9UXyetpFQ=; b=XqaResjbamVa27eUZH0ReqyOeLnzGjESnU4sd5uP71Q5DjrC6Inen21If1TxNy1eAS EUwh3Zd7mrs5/Cu5uCL878Xot+50PiUbvP8uAHxvZaDMO4L6wLl6b5Zn5TbkU/15oyDX Ki3YSd8i7BuCoLoxD8NnkrNgGtzAexmc0Ni1I= 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=5SPI5RDPWdm7X3U8G9i9l916Umv8GEODUn9UXyetpFQ=; b=cBR8DZyVys8Jj3hB/wrVFXz1+oZnP0euxXei5myWBK158J2CSvoI+LuGrgysDEGsib GyEqF4l9c421k2jt+AiFKm/7W49gJu14PvBEVkPrYlZIHhIFE5O2WysmKzqMyFsozUx8 vMns/HzD2RZC7/FfUvzL1kkjs2W+42bDcszi/N9Kg7PVAlSwQxFhmfcGKkVTXlAbBNXY SEdgOBBsLvAClOdg2lhfFOXyx5Vl8dVV89jPXJSlO7PBCW27J835ewyhjUjgJKp8As72 jLWkSeiX+AngurSTt5oO4pSZSKwqOAlLw7wfUZVwxBY8/wKZ7GJpuLhWAPzQ1qvhGkFz yU3g== X-Gm-Message-State: APjAAAXzEzHoqhunjLqqz5i08WJPttJK+FoKrNnT+A2gQaqOpuXPFNte OfcKa2CYrQo4YghQIIQf5XCBYQ== X-Google-Smtp-Source: APXvYqyBwuyMUc16C5THCTCHLcAVBc5sfzm5Lo0F2Kp/4BxCcSub39P/7nmc9SsQxcSYnZOu+IhC3g== X-Received: by 2002:a63:6a4a:: with SMTP id f71mr52245653pgc.44.1558047599563; Thu, 16 May 2019 15:59:59 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id j64sm1769506pfb.126.2019.05.16.15.59.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 May 2019 15:59:59 -0700 (PDT) From: Douglas Anderson To: Minas Harutyunyan , Felipe Balbi , heiko@sntech.de Subject: [REPOST PATCH v2 0/3] USB: dwc2: Allow wakeup from suspend; enable for rk3288-veyron Date: Thu, 16 May 2019 15:59:38 -0700 Message-Id: <20190516225941.170355-1-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.1020.gf2820cf01a-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190516_160000_168588_8CB82245 X-CRM114-Status: UNSURE ( 8.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Amelie Delaunay , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, zyw@rock-chips.com, Stefan Wahren , linux-rockchip@lists.infradead.org, mka@chromium.org, Alan Stern , Artur Petrosyan , Elaine Zhang , amstan@chromium.org, Randy Li , Rob Herring , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, Douglas Anderson , ryandcase@chromium.org, William Wu , jwerner@chromium.org, dinguyen@opensource.altera.com Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is a re-post of the last 3 patches of a series I posted earlier at: https://lkml.kernel.org/r/20190418001356.124334-1-dianders@chromium.org The first two patches were applied but the last three weren't because they didn't apply at the time. They apply fine now so are ready to land. Changes in v2: - Rebased to mainline atop rk3288 remote wake quirk series. - rk3288-veyron dts patch new for v2. Douglas Anderson (3): 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/dwc2/core.h | 5 +++ drivers/usb/dwc2/platform.c | 43 ++++++++++++++++++- 4 files changed, 51 insertions(+), 2 deletions(-)