Message ID | 20190418001356.124334-6-dianders@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 8B70C17E0 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 18 Apr 2019 00:15:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7213628BD4 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 18 Apr 2019 00:15:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6534D28BD7; Thu, 18 Apr 2019 00:15:32 +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 0119C28BD4 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 18 Apr 2019 00:15:32 +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:References:In-Reply-To: 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: List-Owner; bh=QyPq0Y+g7WoP4jj0OWpM8kxMau3vT8gjrXCpYk1SL2Y=; b=ok08HtCa3xr6b/ kHsab/+PTDc1w1qNcN+LzGyBgxtZmjrc3qphPQf7l/w+1s9oLXPuOxmtGkpYjGStz4fOsYrwDLapi CaV6wCqTSL4IUTO9ScYBFY71ju5fR3E7f7xDQSwy8LtIv/2azQFHez05/KbNN1WTYowF6YRNW/Bu0 U3oveHQtZjKGIsciBqRry9130B0vAXuHyFh6U50nv33JT1vxTDD2X3jpZHvafO4SQd2P9mfxlGJ6P F3cD73gi363Y8qESlmYziYqoa/5w2KJMnMVDNW6yKuoTbtgCdueqAezNl30n2OXTRcWt4S2Eq5GoP L3pPjf2RnC+PJ9+QTcDQ==; 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 1hGuiA-0000Su-9a; Thu, 18 Apr 2019 00:15:30 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGuhm-0007WJ-Fo for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2019 00:15:10 +0000 Received: by mail-pl1-x643.google.com with SMTP id d1so260570plj.8 for <linux-arm-kernel@lists.infradead.org>; Wed, 17 Apr 2019 17:15:03 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=9dHCbPnlI9BSQxis0+totmB/WamSdFGOvfhVYVfhROQ=; b=g+JqrgM6CtbjdujZ4bhx4uBddKF+4SRVyOciP5srObjxxh8KDMl19YmZbkZRq9D6ro /oQuSYOpqFTsQE5PzmeCMGPnnB5FLYBf00CWcGLWBi2Ml0xUlmRHTB/JAtskaKWlNo5g dQmAwOypdXgrccYfyYUTb/Z2JAOT2ZOBU3IHI= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=9dHCbPnlI9BSQxis0+totmB/WamSdFGOvfhVYVfhROQ=; b=IH+dXRXPHdvIsrzO+FCNd6s1vvegYmwc85iT4oSBZVFsNJjYciz4PEElQ3xHDHGgY0 tiGLFTtC4CNf2AUlgEknF/UUAFTYv9B+iMo8kGtU6JFho1N0QG08JBKZvvJGVUJ+X58K plDJgIY7GextHecYe64qnRLY8Rys8lreexbcq7PA9Saq4HXQdlpdb1cxTiRXZc9qRqpZ uF1PRBo4TNppRrtJJAxgdJBwS69hAunOqrfmoz5H7rXxnOuGggBvNHNcpDJA1HAAuRa+ +uOCAj8ZevyrlIsZOjw33yjh7lbtYMGdk+976/crOQ07u0h/nJo6VGxema0xEOAncA7Y hDpQ== X-Gm-Message-State: APjAAAVlsfBNNdFV7KDEE2dqYGyCvE02AbmO64I15NZu+AgsPrIU3NYb Hda47cB7CecpG6OXtquMeoB+TA== X-Google-Smtp-Source: APXvYqxWk5e1kbmfttQMLubOoAO7jJexKAOokKqYIE8CqxPpp93l2fjdF31N53x3ArHo1fS2mksl/Q== X-Received: by 2002:a17:902:2aeb:: with SMTP id j98mr25482240plb.38.1555546503259; Wed, 17 Apr 2019 17:15:03 -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.15.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 17:15:02 -0700 (PDT) From: Douglas Anderson <dianders@chromium.org> To: Minas Harutyunyan <hminas@synopsys.com>, Felipe Balbi <felipe.balbi@linux.intel.com>, heiko@sntech.de Subject: [PATCH v2 5/5] ARM: dts: rockchip: Allow wakeup from rk3288-veyron's dwc2 USB ports Date: Wed, 17 Apr 2019 17:13:56 -0700 Message-Id: <20190418001356.124334-6-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog In-Reply-To: <20190418001356.124334-1-dianders@chromium.org> References: <20190418001356.124334-1-dianders@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_171506_650603_65E86998 X-CRM114-Status: GOOD ( 14.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Stefan Wahren <stefan.wahren@i2se.com>, Artur Petrosyan <Arthur.Petrosyan@synopsys.com>, Amelie Delaunay <amelie.delaunay@st.com>, Randy Li <ayaka@soulik.info>, amstan@chromium.org, devicetree@vger.kernel.org, zyw@rock-chips.com, linux-usb@vger.kernel.org, Douglas Anderson <dianders@chromium.org>, Rob Herring <robh+dt@kernel.org>, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, mka@chromium.org, Alan Stern <stern@rowland.harvard.edu>, Mark Rutland <mark.rutland@arm.com>, Elaine Zhang <zhangqing@rock-chips.com>, jwerner@chromium.org, William Wu <william.wu@rock-chips.com>, ryandcase@chromium.org, dinguyen@opensource.altera.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
USB: dwc2: Allow wakeup from suspend; enable for rk3288-veyron
|
expand
|
diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 1252522392c7..1d8bfed7830c 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -424,6 +424,7 @@ &usb_host1 { status = "okay"; + snps,need-phy-for-wake; }; &usb_otg { @@ -432,6 +433,7 @@ assigned-clocks = <&cru SCLK_USBPHY480M_SRC>; assigned-clock-parents = <&usbphy0>; dr_mode = "host"; + snps,need-phy-for-wake; }; &vopb {
We want to be able to wake from USB if a device is plugged in that wants remote wakeup. Enable it on both dwc2 controllers. NOTE: this is added specifically to veyron and not to rk3288 in general since it's not known whether all rk3288 boards are designed to support USB wakeup. It is plausible that some boards could shut down important rails in S3. Also note that currently wakeup doesn't seem to happen unless you use the "deep" suspend mode (where SDRAM is turned off). Presumably the shallow suspend mode is gating some sort of clock that's important but I couldn't easily figure out how to get it working. Signed-off-by: Douglas Anderson <dianders@chromium.org> --- Changes in v2: - rk3288-veyron dts patch new for v2. arch/arm/boot/dts/rk3288-veyron.dtsi | 2 ++ 1 file changed, 2 insertions(+)