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: 10952155 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 5BD1414C0 for ; Mon, 20 May 2019 17:56:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45AD928846 for ; Mon, 20 May 2019 17:56:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38B77288DC; Mon, 20 May 2019 17:56:27 +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 CF4F928846 for ; Mon, 20 May 2019 17:56:26 +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=/Tgn/LWGiBjZKzBwLgJxYwwqRhKqQ1QUEaaNK/tN5lw=; b=e+DaW5HXK5ufKI 0wD5/6RkjCmeQewTcuP8pRz9896JkHGSKOcE48bdJVhKBYRlB880oQ1P6wu2K29OevCQ1c7M0pXoE qq9lWrr0sePG7n3CNNFsJan7h5sD6hBpHmtC+FYzjiTdZDbzFPqGvXaRxPnLbaY6Tk8/IoB4U1Bdq V8+Vj7TaAfj4zSbx/WMJzqYMwPA7xQd4YKlbnrdSatz2RCWRBbe7Vk+s5dkZO378yUuHK6rXNiun/ J6yvgzDWlfupOY82xXNqIcUIHsuC8W7jpDOrUTGHcUsJlH1fFZ6vrH5KLVZadjOSPMANnKkVVwR08 YaGUiiiq5c12Wg2QuRSw==; 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 1hSmWM-0007xV-EH; Mon, 20 May 2019 17:56:22 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSmWC-0007kD-QS for linux-rockchip@lists.infradead.org; Mon, 20 May 2019 17:56:14 +0000 Received: by mail-pf1-x443.google.com with SMTP id y11so7570329pfm.13 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=pvveUmFnQfqBrFxnO0/uDDkAZNOokLdA47B3WXB3Ng1qdmkQ/Nw4NGc36bKtRDV/sd 5A8BnheMaXoAkmivjwswRKDSWsdpvTVxrV+16L5PktgSkUMKBJ/gHWK+r5VG1e/TBPR2 re+PpYvIm28JynWp1a8tcIpLlom1JmJiUlChSN6HN0Sbj1MOfAkUCyvFj6i6o9/XushM nefPceaAo4wolpoesBYYdmSoWdrXXlbpSYXEXfxjzywtKiKFOygnJumkoEfQuEpwVA0Q a++uAYe/MJgj5sz2IrLOboqMy1cG6QvhCQqa2OAHamXRxKCsDXBB3KrNr1K8ik5JHGon 4N4Q== X-Gm-Message-State: APjAAAUy5rZFgmVFHAde0wopXpPCaYIqUEMNp1xR82NY6ywydkzaAJry pkrmyhXg/EdB5jPtdRdXVOxP3Q== 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_879819_3EC8756F X-CRM114-Status: UNSURE ( 9.26 ) 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: 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-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. 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(-)