From patchwork Fri Apr 12 22:41:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10899187 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 8671F13B5 for ; Fri, 12 Apr 2019 22:42:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6506128748 for ; Fri, 12 Apr 2019 22:42:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58C3928F20; Fri, 12 Apr 2019 22:42:47 +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 1554F28748 for ; Fri, 12 Apr 2019 22:42:47 +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=/HRzbCQQ5h4wgEMfWtDV8YVybjttyGlx1GuqPJC4lP4=; b=isJZqXYWdeGAM6 QjhdhpBsddC5QICBkNbKj/M5twfI+A4iHyAkk4j/xsACfH6pPJwUOjt19Ybb6/J2ZLQ5sD8yhX0J/ wKj1sFzz665BNouNl9viGj9VRNemuYOPRsiOLJEmKmLFgOkl94cuk52gFnf3AUapaiF84lXxGTJTD JikvAJZLPRLp29yWRJsYX0DNBwH/uWpy5s2KcCBVANf+0XO9Q8Wyg1raRPHwGxIwQXzhkvG4qE52B UWkjQ6sTnxOVdiypZf9+xfLYMTXXDT5EZ/m86TfFgMNDSZtR3eG/BNiRFH08xrFfY0tgD5OAtwcZ1 HnAUMUP5K/Hcx61GTXaA==; 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 1hF4sd-0002xQ-5B; Fri, 12 Apr 2019 22:42:43 +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 1hF4sG-0002UI-JS for linux-rockchip@lists.infradead.org; Fri, 12 Apr 2019 22:42:22 +0000 Received: by mail-pf1-x444.google.com with SMTP id h5so5816461pfo.0 for ; Fri, 12 Apr 2019 15:42:20 -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=/YuEmfQg8iFJSPB8k83tnNDUSXUSqQSeLxTTSLbTTIw=; b=P5nTYPh6nN+ghxubaHuPvzgMsTS6c1Xt/Xvkr9w2rsv7ycd0UBEp43vGHPMABrMA44 8M1S92pVD/nXq/g4qcsJrJE3pQ5hdDPeaPGzBY08joVJz2pRCq+R/45s9T/NDQcNvwmK 0SeL6Og/rn6RzOK+wrkEtwZYp1WhY7HOYCVIs= 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=/YuEmfQg8iFJSPB8k83tnNDUSXUSqQSeLxTTSLbTTIw=; b=DGuZct/pVBtzFN7L858FTOqgkp/t6qlvQUpF+t0xaKtwMmqGVhFG2NqQ0GGj2sOUC+ MYAbjwsRt8jcqAouCkCr1ROi25Dlg0BgDzbCK8r5p9ZfmKzRA1LvauaGOQHTt+M0T8P5 dZVkPzwulNj7ut73y3JgsLiR3fT/CIFZQmI09qL9qj1gTexZJuHJ/EvQGM983Bxr0ENK TrJad1IJkkRag/XVCyVv+8mdzWmeZDYhgjw7R783ejsfyScugpIKDkPE+ViPCl+2ZjCV A/O1+IHfp/YfGS2SEMW/Z7E3Qqiwap1JrQCMe+v8uHuGmLr+Chjws9mBaB1wVWy6NSSa 75yQ== X-Gm-Message-State: APjAAAWlRtg2wPTYL26PYeYuRFW6SHlOVQ2VLsJG4Z+IDHIG4hxiAxBq zEuMctIrZeno8xhNUfeLNmcXeQ== X-Google-Smtp-Source: APXvYqz6+8oEj+Agjb0SozX8O6BNiaCaZRMvO2ErsDU5sbBvwehG9ytDclHC9I/t9H4hjjFzy2iowQ== X-Received: by 2002:a63:25c4:: with SMTP id l187mr57149864pgl.202.1555108940140; Fri, 12 Apr 2019 15:42:20 -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.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 15:42:19 -0700 (PDT) From: Douglas Anderson To: Rob Herring , Minas Harutyunyan , Heiko Stuebner , Felipe Balbi Subject: [PATCH 4/4] ARM: dts: rockchip: Add quirk for resetting rk3288's dwc2 host on wakeup Date: Fri, 12 Apr 2019 15:41:49 -0700 Message-Id: <20190412224149.106971-5-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_154221_033378_C6EF40BD X-CRM114-Status: GOOD ( 11.07 ) 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, 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, linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The "host" USB port on rk3288 has a hardware errata where we've got to assert a PHY reset whenever we see a remote wakeup. Add that quirk property to the device tree. Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke --- arch/arm/boot/dts/rk3288.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 92e0600595f8..6367c1b50fd7 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -617,6 +617,7 @@ dr_mode = "host"; phys = <&usbphy2>; phy-names = "usb2-phy"; + snps,reset-phy-on-wake; status = "disabled"; };