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: 10947133 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 DBF19924 for ; Thu, 16 May 2019 23:00:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9EC21FE8E for ; Thu, 16 May 2019 23:00:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD4891FEBD; Thu, 16 May 2019 23:00:10 +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 6F42A1FE8E for ; Thu, 16 May 2019 23:00:10 +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=1ijxft+TPAvyOQqBbooNxKRHy+KcPL2RbNu+7hqOx8g=; b=DCcnzBByJH2QOH hqWHZ6bEJ6Qt5oleIwJfBYhckeyZzmcu0cQ1G9OkA77aDy9vTsL8dXQEBSZXarvIpQMs9ShUXvQeq TC7Y4dooBg2kcFPspuXmy6wQPM/r+yeE+aU+f+hPwV1zn1TsWWMG1l7GKzT29wsDVUYG1sD99Z8ds xzFS61UpcJFBtP5cUGihFiKtrsgsuzuLgmCMz5f1KKD+XnkKc+1IeTMO681NvguyS8iLOo+TBflgy +M6I4XGbwzQLTpNtO5KLRgQdj3hQupWg/M/5XUfXVHsr6qcXUmkXPfb7GhXCNRj1kLLS8kgNlX0cw m+YhV50PCBhE/IvQhujw==; 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 1hRPM4-0002PL-Ro; Thu, 16 May 2019 23:00:04 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hRPM0-00025G-3K for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2019 23:00:01 +0000 Received: by mail-pg1-x543.google.com with SMTP id i21so2257820pgi.12 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=Oo8lVFyD4OjydAH6qe3XzZyM2f6VBJygfZuR0SnQ5T2Wpf29jSr8f3r9lXd+35xsHa /Uw1rfIkKIiE+abrVFeb4qBOH7Y8vh6wIRSEpN1d9Uqtt4rkZ8E5jBqATvdugctkrpiN F3jFnrmKZqMmLC6WkawJfSKz8xLgVgqAY5Utg3j9AGOCbROZfSOAJmA1ps88PHw10PSt TeLwrtB/n6gc0rB0JHezO3eKoAT2aE+8MUfb1+csfWrU9/jVMME2W9t8Bc9SGdnAgGa+ 5Bqt9NEuCLA37TYY8oXeXbxKRQUdgR0ajSeL4tPGwCpVXnsrceXIkmvVCXJQEQ+KbhmJ GeyQ== X-Gm-Message-State: APjAAAXafg8QXqwakR+cTny4DknMmmAXVXR2YimB4zI4p7tXEmuFxJgr 3Kn5zv4kXdwAq/KaTKeQPBWiBg== 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_168418_4BC9A8C9 X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. 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, 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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(-)