From patchwork Mon Jul 6 18:27:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 6727101 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B07049F38C for ; Mon, 6 Jul 2015 18:28:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A543420225 for ; Mon, 6 Jul 2015 18:28:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A323F20524 for ; Mon, 6 Jul 2015 18:27:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCB7X-0005eT-DP; Mon, 06 Jul 2015 18:27:59 +0000 Received: from mail-ig0-x230.google.com ([2607:f8b0:4001:c05::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCB7W-0005bX-7A for linux-rockchip@lists.infradead.org; Mon, 06 Jul 2015 18:27:58 +0000 Received: by igrv9 with SMTP id v9so122286574igr.1 for ; Mon, 06 Jul 2015 11:27:37 -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; bh=olxUNHsjXWxm5P9B7G5WZyePG6Q0zTWjIj132ZNrHFo=; b=KV3H5H14aABvMwYRUdwnz1newulhPr1JcFJ8rid7J/sud1wYEK/rfLjfRpvldYYmqN aXayyNrsFPqjoUzn84NPlczN26qGVztcAoVAQGf87tUEk1AucHJbr/fnwjjQzgT9ZB+j 3O3/3tFXsL8hW+NSEDv7Ou5G4eWTdGBB2GP4c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=olxUNHsjXWxm5P9B7G5WZyePG6Q0zTWjIj132ZNrHFo=; b=Ns9LSfEL9gXeN9V/jXII0HFbS5pNWBhs0A4gWBGaDM5/m/qwkWt/34vyzCZlEwwUZU Vux3jafhrV1b8ZZ0dIsUxFZF1gtjAeiM3whcrIL9bJh9I0gKfs26Akci22TuxEYQTach hjM6nWLB8p90cfJlJGDni0YJIk1s0+httsDd8+4WQF1wzOlzE8eCE1b18jTb0NZw2Se5 astbLfwQQkn/FMrO5v1Bh6CuCieUDDvdHL9eG1dWGij0utAl16jb/yKAvKIgONHNk8Vb A4dnGl66LyQW5zsDQnWJFogXyef4bZxY2K2cPuiFJAPV/+rPt1/dapRPtfYQc3DArXCI t6EA== X-Gm-Message-State: ALoCoQllDIek6aCAG1gapGVkUDCVt4FuBVlt9oDadjdOQJXypkV7Yn5QsPq9O/TjBQ53KccHS5uy X-Received: by 10.50.128.169 with SMTP id np9mr12496673igb.37.1436207257453; Mon, 06 Jul 2015 11:27:37 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by smtp.gmail.com with ESMTPSA id o19sm10174850igi.14.2015.07.06.11.27.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jul 2015 11:27:36 -0700 (PDT) From: Douglas Anderson To: Greg Kroah-Hartman , John Youn , Felipe Balbi Subject: [REPOST PATCH 2/3] Documentation: dt-bindings: Add snps, need-phy-for-wake for dwc2 USB Date: Mon, 6 Jul 2015 11:27:03 -0700 Message-Id: <1436207224-21849-3-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.4.3.573.g4eafbef In-Reply-To: <1436207224-21849-1-git-send-email-dianders@chromium.org> References: <1436207224-21849-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150706_112758_302661_941BF5B6 X-CRM114-Status: GOOD ( 10.53 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Gregory Herrero , Heiko Stuebner , Pawel Moll , Ian Campbell , Andrew Bresticker , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Douglas Anderson , Kever Yang , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , lyz@rock-chips.com, Kumar Gala , Chris Zhong , Julius Werner , Alexandru Stan MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some SoCs with a dwc2 USB controller may need to keep the PHY on to support remote wakeup. Allow specifying this as a device tree property. Signed-off-by: Douglas Anderson --- Documentation/devicetree/bindings/usb/dwc2.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt index fd132cb..84d258d 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.txt +++ b/Documentation/devicetree/bindings/usb/dwc2.txt @@ -17,6 +17,9 @@ Refer to clk/clock-bindings.txt for generic clock consumer properties Optional properties: - phys: phy provider specifier - phy-names: shall be "usb2-phy" +- snps,need-phy-for-wake: if present indicates that the phy needs to be left + on for remote wakeup during suspend. + Refer to phy/phy-bindings.txt for generic phy consumer properties - dr_mode: shall be one of "host", "peripheral" and "otg" Refer to usb/generic.txt @@ -35,4 +38,5 @@ Example: clock-names = "otg"; phys = <&usbphy>; phy-names = "usb2-phy"; + snps,need-phy-for-wake; };