From patchwork Fri Apr 12 22:41:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10899173 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 1366A186E for ; Fri, 12 Apr 2019 22:42:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E199D28F1E for ; Fri, 12 Apr 2019 22:42:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D562728F20; Fri, 12 Apr 2019 22:42:29 +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 866F828748 for ; Fri, 12 Apr 2019 22:42:29 +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=KvnN6u/e/hQnbpMD19kIB/s/8KX2usYEV/a9qaD+xI8=; b=jeTv+cOYjh5R1b y0hpoe23mgEKK4gbhTQQ/ZbzXLlY4EVKgj2456stUHZPq4Nf45U8SzHgldfl5mnvJ6i3F2yfRAtoO zhNUphC9gJG80c4fKDZJBRRjvPezUK9WSEV5giM+Si9Ev5wl6hU63Vah3vXA+yOdxA6I9HWgKkEDZ rbai6ZfWojK4h3zbUoiu68bvUr8F01DzY8ONtRbTOGirjXblOsIA2KZHhoHs5s5Ej89R6J27nrFnd pRx0/ECeGeeM0zseofBl4EXQF2fUQjxnGpiBFMUAK4DT2RCui7Wi6n8L0ck5P+wZZwTuDABdNaqTM uxY1iOcxrpF6iqSK6ICg==; 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 1hF4sM-0002c8-Fv; Fri, 12 Apr 2019 22:42:26 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hF4sC-0002Qr-U8 for linux-rockchip@lists.infradead.org; Fri, 12 Apr 2019 22:42:18 +0000 Received: by mail-pl1-x641.google.com with SMTP id w23so5790470ply.4 for ; Fri, 12 Apr 2019 15:42:16 -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=kWLUeccQHJNmQbwFQHETrVq/WCQE28hsAbD/ch2jk/0=; b=iNMu0LcBBkEoblkNikvLsoe0iRPOEcYwdGkme5UBFA+0XD/4tIOYO3Vx+bjaKXVji7 M9To4tbMSajbIxOowKsnAp4q+36Y4WzW03NdM1LpN81G934TCBDxl1SozQCahv/f3raJ 4+lFk6UNxhDm3Ecv5oEwAFbQCwkJy4u1t8ZN4= 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=kWLUeccQHJNmQbwFQHETrVq/WCQE28hsAbD/ch2jk/0=; b=EOc/+9wLRgMSJ44bGxTDQ+EiaejO/D2mJcvK1FazuzqdZvkqje5qpGWHK/GGW6UfnL LMR0WP+/c61+/ngagmv1W/vcjTPNDnFIUOpngSGE5vtKyFMmFETlhlPOCBolSouJKtzV pPQShF8lbItj0sSWetIafrjWRdlt7JRri/d0p65W6Ub0MZqr+9l6/sDGljF8EcOIzyJd LV2uyY5XaP120xRT2EwLgSm9iLlF6BaYASWi4vvAhZ3JhVjzSlSP+cdHM1igLHNL7zyh UPQ5OyPNBMmVUracu6MRTv8l2uc3uwlHms7OvLxeXq39V66RhMgRPRWar42ceB8qxL5+ TxJA== X-Gm-Message-State: APjAAAUmZzq0Tz7nQ5d6IsHcJIE0yiNaiHUFSoQYXl5UUzhwWPOnIRMH sCgWBWHWTcX3A0V7JI4Ey1fQnA== X-Google-Smtp-Source: APXvYqxcV0ZgFhV+rNuPFw2kv/DYtmiXsbIMqoDb86eGxEMGMKNVH9kszsGPxxLMa87ZWhMQFr0SUg== X-Received: by 2002:a17:902:e508:: with SMTP id ck8mr58797653plb.96.1555108936236; Fri, 12 Apr 2019 15:42:16 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id j22sm57170579pfn.129.2019.04.12.15.42.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 15:42:15 -0700 (PDT) From: Douglas Anderson To: Rob Herring , Minas Harutyunyan , Heiko Stuebner , Felipe Balbi Subject: [PATCH 1/4] dt-bindings: usb: dwc2: Document quirk to reset PHY upon wakeup Date: Fri, 12 Apr 2019 15:41:46 -0700 Message-Id: <20190412224149.106971-2-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog In-Reply-To: <20190412224149.106971-1-dianders@chromium.org> References: <20190412224149.106971-1-dianders@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_154216_966828_B2CB66C9 X-CRM114-Status: GOOD ( 11.01 ) 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: Mark Rutland , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, amstan@chromium.org, Greg Kroah-Hartman , Randy Li , Douglas Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, mka@chromium.org, ryandcase@chromium.org, Elaine Zhang , jwerner@chromium.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On Rockchip rk3288 there's a hardware quirk where we need to assert the reset signal to the PHY when we get a remote wakeup on one of the two ports. Document this quirk in the bindings. Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke --- Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt index 6dc3c4a34483..f70f3aee4bfc 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.txt +++ b/Documentation/devicetree/bindings/usb/dwc2.txt @@ -37,6 +37,8 @@ Refer to phy/phy-bindings.txt for generic phy consumer properties - g-rx-fifo-size: size of rx fifo size in gadget mode. - g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode. - g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode. +- snps,reset-phy-on-wake: If present indicates that we need to reset the PHY when + we detect a wakeup. This is due to a hardware errata. Deprecated properties: - g-use-dma: gadget DMA mode is automatically detected