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: 491751 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 37E591409F8 for ; Tue, 7 Jul 2015 04:27:49 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b=KV3H5H14; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752130AbbGFS1n (ORCPT ); Mon, 6 Jul 2015 14:27:43 -0400 Received: from mail-ie0-f173.google.com ([209.85.223.173]:34747 "EHLO mail-ie0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751729AbbGFS1h (ORCPT ); Mon, 6 Jul 2015 14:27:37 -0400 Received: by iebmu5 with SMTP id mu5so118834321ieb.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=L+FxVQoUbd8u6ypeVbeDqIpb+9xNm8NUMKUbMHkeeqsJ6inw7VMP7eUXv7e2cNWXnX qwPcSCvjUtBJS9feo5eUl9OAw757USIJhk5DlTQhB6AzTDSaY/dVN9GDaEc0K4dLYz/q wTnKWcjxmwhLJJqGZLWsL9GIQjkCR3Ta4vde3SoWXpiAdULRjp2IdtCYFzXTWe6SgGxk 1nk2up0qgyWcnlNEzjI7ofYXeLk14qJ+syPzx88v/ZNhCwhYvCrY3jMw9sbbZdrqlNWj IkD5bbQamUJJT46tHtRxmJV/o3STwQW/upxSAB7wblAIbR4I8JqZiDGj4b9BTYTsQDHc ABBQ== X-Gm-Message-State: ALoCoQn1AHI+6Z0++/cuziDoYtu20lzTA/2b3yCiu5jKVglPsS1a5W6ZY/ubwbOz4hjSBIYVSAvC 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 Cc: linux-usb@vger.kernel.org, Chris Zhong , Heiko Stuebner , Julius Werner , Andrew Bresticker , Alexandru Stan , lyz@rock-chips.com, linux-rockchip@lists.infradead.org, Douglas Anderson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Kever Yang , Gregory Herrero , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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; };