From patchwork Mon May 20 17:56:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10952161 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 E0BB814C0 for ; Mon, 20 May 2019 17:56:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCBD628846 for ; Mon, 20 May 2019 17:56:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0EA1288DC; Mon, 20 May 2019 17:56:36 +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 7604B28846 for ; Mon, 20 May 2019 17:56:36 +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=6Dg9O78EMQuQqIXqGUj6ZPqLSk9ojpXP2INW8ftDY0w=; b=tV5cX1lXQxh8P6 gr0oMaSgurXjahmnIEysGgKKuEUvUcOqY1/v17MB8i235SM1QEQEEkPJwThEhCjaq2b1F/W5P/HW4 oaNV4T+VMs3wRaoVXM4fPW0We/ahwh0zdpOPEtD9esoxpFARv4azKhXo5OPSMCGe4rk6TFDS2WFIs iTwZLBMYD/k3Xm+jX8L1MNRvBgIkvt5DnHMFj/qeyauEjXvFWmSu5BhP9Co9BebmJA30kDX7V9oi+ R5q87OV21L3QpwZeqMDBvmH0pwDA7hZaf1ayvzkFYcZ4u+00RCwqO7+3FNs+FI4COu/RA3RgHjhU6 QN3/0z6Jj7G3fuFnImmw==; 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 1hSmWU-00086R-6H; Mon, 20 May 2019 17:56:30 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSmWC-0007kE-TG for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2019 17:56:15 +0000 Received: by mail-pg1-x544.google.com with SMTP id n27so4539950pgm.4 for ; Mon, 20 May 2019 10:56:12 -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=52yco9VK5RzDzN0Ze4QU/l0MYwJs+5CquMz8VBL6VQk=; b=V4AXEIv08AJKozp2k60l6WH+FbxePpO4LTwIjjxSxtuTTGQq9J6Z94lUGUst3qQJQ0 gzqVaxKuD9EsnXxGRIJAA19oBZ5ie2qAalS6DvszK5vEF1nkOTgi0UW+OK0Eg3doRcqb waYM/YGAhtSg0UmYZ5Z0OQJoZBrMBmKMhqCY0= 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=52yco9VK5RzDzN0Ze4QU/l0MYwJs+5CquMz8VBL6VQk=; b=K+MEj0CRk93nApXJFLYS01leaECcR0dvfbxUbfcAMPsu7Cqui+7OVZhS/j0tjYJtUW J0aXOiNOILR31rE4OVTNb3U0cVZpf00j73rM64XHjFmiI34sxlo2j8bWI7/g1GlVWNKF UtQ/435jqu7RXkcV1G7sqUQd6+vg2HGQtTJxKHD2nACgejaEkmn8d0R/xUacOsMdypvo 8s+3K1j6xMZqm5jC6fT2KR5oMpmx7qNtpkPa3X7Trq8seNrhs6s0TSs13ZcLh+qHF/xF FZQ8Ow7UyjV+Jdv4de0nLQNb5TaMsmBBTrlXdu71FuCxh4Icroxj/+1H0laccq+fPhLp dQQA== X-Gm-Message-State: APjAAAVwKC7H2zf9zkMKH0PLrdfcSLeCm4Q8dXcWioKmdL3zODInVzUa IsPY1iMtGz9+92n2vyudQFI9uQ== X-Google-Smtp-Source: APXvYqzZDvPhaLQndJXX3Bt+sreJ+zs8jKeG3JkAK89Y9xuYz8Uqg1m2gbKwuR3Bid5ZcOye6FcIpw== X-Received: by 2002:a62:b40a:: with SMTP id h10mr74507778pfn.216.1558374971504; Mon, 20 May 2019 10:56:11 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id o2sm16852723pgq.1.2019.05.20.10.56.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 10:56:10 -0700 (PDT) From: Douglas Anderson To: Minas Harutyunyan , Felipe Balbi , heiko@sntech.de Subject: [PATCH v3 0/3] USB: dwc2: Allow wakeup from suspend; enable for rk3288-veyron Date: Mon, 20 May 2019 10:56:02 -0700 Message-Id: <20190520175605.2405-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-20190520_105612_948451_47403E21 X-CRM114-Status: GOOD ( 10.50 ) 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: Stefan Wahren , Artur Petrosyan , Amelie Delaunay , Randy Li , amstan@chromium.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , zyw@rock-chips.com, linux-usb@vger.kernel.org, Douglas Anderson , Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, mka@chromium.org, Alan Stern , Elaine Zhang , jwerner@chromium.org, William Wu , ryandcase@chromium.org, Mark Rutland , linux-arm-kernel@lists.infradead.org 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. Patch #2 has a slight difference in v3 here to fix build robot reported error. Changes in v3: - Fixed kbuild test robot error. 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 | 8 +++++++ drivers/usb/dwc2/hcd.c | 19 +++++++++++++++ drivers/usb/dwc2/platform.c | 23 ++++++++++++++++--- 5 files changed, 52 insertions(+), 3 deletions(-)