From patchwork Tue Apr 16 21:53:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10904223 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 106C113B5 for ; Tue, 16 Apr 2019 21:54:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EADF628A0E for ; Tue, 16 Apr 2019 21:54:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF6B428535; Tue, 16 Apr 2019 21:54:30 +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 804B228A0E for ; Tue, 16 Apr 2019 21:54:30 +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=12GMx5O20LCI50PptxR8n7McSI9g29wUP89eV/6KHC0=; b=rHS/N95QrRpGOx RaNv+dPrjcpfZjzkHdvDHhXKxKXBC5Bc+Nrtvu+Gv79mLuuTo0CcpVLNrRy/miMRk7ZLOHM5sn/pK q3Wpqx6T/wRTP+KggA5bFwuJ2MLoEFcOMMNoE4oq8lHFj74bKetigB0kK3KrBXEStcXRMGSqvvQxg /Qw7ZjiLK7YMghqiEYWNTvPrKt74a/HEqmeZnjx7ljR9bpXD+GAjOvtJnBE8L0e2JznoT0L6N6mvd osu7FH0WAjZz+RhFn5EJsWhMj6WvtJpip9d6VsT+ch9+TzjDWRD6JqSiCkcWYl2QRJpBpz2/wXSmK 69wi8XvwM9IkxQpG0pTA==; 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 1hGW26-0008Og-Fp; Tue, 16 Apr 2019 21:54:26 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGW1t-00088T-P7 for linux-rockchip@lists.infradead.org; Tue, 16 Apr 2019 21:54:15 +0000 Received: by mail-pf1-x444.google.com with SMTP id i17so11056541pfo.6 for ; Tue, 16 Apr 2019 14:54:13 -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=XsFf4LEh0pktHURaMfPnlhrkOmI1Owbh5PPEFMjaE6c=; b=iAutK9hipedEuHpce3EVCQiVHg1QIADXgE6iqLm1r6d1fj7U2UxC7EQiQB9cxDi8Ii SfBS68X6Kezeq3ah8uFonHpSA+3J6bahOeI5qcPe3sJRjsHoOFtB8xueB7usSKAPIseB t4vRGdujBdSPadp44iYqSkCoHtvKGS+e621f4= 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=XsFf4LEh0pktHURaMfPnlhrkOmI1Owbh5PPEFMjaE6c=; b=OkCF1OXUpC6FTI3R8s5NF5nGE869yXzQd2c0Irr70r4wf3WUAVJZtM9GBGSo76I0zY wwuATreFAreBqxMyGwdra/pMJaJ9bJWsRJKEPtHDMTH7RkdXCq/i9mJY9fSGFyRlWDaL lEJo+ynHXhh3zZzITpTzHOVErTVK6OxfPoh8PckT82dfpiHni6VJe6uVAk5s0frgbhlS H7y+MFo6vHGFmqwPhALYpRj1DKY9PBNZmalfKTQUeVosDsDEORCDotA/X24X5hXc3WKe CdeZNfLYHPSz00ZJS668fddlnPdE/v/m6IP3wCRaj7hfHaJcboj9d5w0RUakm8XIJKXD Fr3g== X-Gm-Message-State: APjAAAXZbZ0IUrtf4o+gVW/wEeeXJDXCoTR9sde0BTXsT8XtqiMrfdIP h38GZFUQHXXaw2OkfRf1ir7IEg== X-Google-Smtp-Source: APXvYqx9Echs2wcQSIcKJnQgMM0GXGhmDvbnb5yHOmCUV3xMZ9JzJrqQ4WwBfzBGesIzMap8lN9mAQ== X-Received: by 2002:a63:4144:: with SMTP id o65mr75004207pga.241.1555451653028; Tue, 16 Apr 2019 14:54:13 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id b6sm8156770pgt.58.2019.04.16.14.54.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 14:54:12 -0700 (PDT) From: Douglas Anderson To: Rob Herring , Minas Harutyunyan , Heiko Stuebner , Felipe Balbi Subject: [PATCH v2 1/4] dt-bindings: usb: dwc2: Document quirk to reset PHY upon wakeup Date: Tue, 16 Apr 2019 14:53:48 -0700 Message-Id: <20190416215351.242246-2-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog In-Reply-To: <20190416215351.242246-1-dianders@chromium.org> References: <20190416215351.242246-1-dianders@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190416_145413_810244_019D546A X-CRM114-Status: GOOD ( 10.41 ) 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 --- Changes in v2: None 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