From patchwork Mon Jun 22 23:52:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Anderson X-Patchwork-Id: 6658421 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 C89A69F1C1 for ; Mon, 22 Jun 2015 23:53:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0326A203C0 for ; Mon, 22 Jun 2015 23:53:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 44AFA20421 for ; Mon, 22 Jun 2015 23:53:22 +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 1Z7BWj-0002yc-TR; Mon, 22 Jun 2015 23:53:21 +0000 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z7BWh-0002rG-Gx for linux-rockchip@lists.infradead.org; Mon, 22 Jun 2015 23:53:20 +0000 Received: by igblr2 with SMTP id lr2so42698853igb.0 for ; Mon, 22 Jun 2015 16:52:57 -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=GUGsPxsUbblMDUSl1vGBVHsYqbCpVh/vCR3Nk9sWokv/ApqdmlKFvV8fvFxggZUDws 6k4KA4soOVjdL5mheLOwqqPt5QinnUHFVpZt2znXmF57t9haIwaPi1840FvDRTc8wetX 0bJfdV2gioP4iNJhaAsKmCCiwEF5C9w3wE364= 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=TiFN80VJOE+rhY/TRUchEoiRkrf/b7hPYe/Hi/utiQc/zvJ6HJj9C055MNF9YM9dOs Wc/iq8hGlJNt0M/DFeRznbt2XcIEnDUNwWhcoy//D1alXA5APIpqcOPK10JivvqUm7qG t+gOEg7THiDQcI0JSkjAn3gdAABLtxeWsPZSG3Clr6buLaG1EuvQu91MRcxsJgYTHjxL M0em/SoS4GO1EbyDqpJ6FDtxsWVx2IOJxmLGaQDV8u9p7uwD1dbFDEiXXPkrbuCR71s0 RDMLBjzgVsmw6O5XQEULF7KDA5C3RdXoKadx6xLT7NCXFCCH5BRT5JGQsm8VbMPZK53Q V/kg== X-Gm-Message-State: ALoCoQlgK6tyAflXSrJNeAyLTBy9R24BmZCXhkwNG4glOSxrjeWnEBBs+ygBDyGkjolB61BfDZNQ X-Received: by 10.107.9.150 with SMTP id 22mr24139896ioj.39.1435017177218; Mon, 22 Jun 2015 16:52:57 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by mx.google.com with ESMTPSA id pg5sm8600390igb.4.2015.06.22.16.52.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jun 2015 16:52:56 -0700 (PDT) From: Douglas Anderson To: Greg Kroah-Hartman , John Youn , Felipe Balbi Subject: [PATCH 2/3] Documentation: dt-bindings: Add snps, need-phy-for-wake for dwc2 USB Date: Mon, 22 Jun 2015 16:52:23 -0700 Message-Id: <1435017144-2971-3-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.4.3.573.g4eafbef In-Reply-To: <1435017144-2971-1-git-send-email-dianders@chromium.org> References: <1435017144-2971-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150622_165319_650399_74C5F9B6 X-CRM114-Status: GOOD ( 11.09 ) X-Spam-Score: -2.0 (--) Cc: Mark Rutland , Gregory Herrero , Heiko Stuebner , Pawel Moll , Ian Campbell , Andrew Bresticker , linux-kernel@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 , Paul Zimmerman , Alexandru Stan X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-5.5 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; };