From patchwork Tue Apr 16 21:53:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10904237 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 97CA813B5 for ; Tue, 16 Apr 2019 21:54:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BFAD271FD for ; Tue, 16 Apr 2019 21:54:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CFD6288CE; Tue, 16 Apr 2019 21:54:52 +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 A1DC6271FD for ; Tue, 16 Apr 2019 21:54:50 +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=l9+r6dN5KPlDuycC9Yx3b0cupM8+94pq8csxePyA/kc=; b=NqwW8OIjQxW1GF xt/O0MB01aiXn7v+l0UISAHzNRvGvL9QWDD16V4Tr+po7g0qBhgjJKA66VC9OByW200D/G4tD+njH PGmfhDjUqLKK6PSeRl8Gxq8y0+1L+ZKGu5W2gievvVBnegcqXIg6E5WPCkVwUfscwQu9M7lVFDxwg XYZceZNIMg+b/TlHW3FEoCunlKF8C8ACRhpKJVefFVJAkEk/9kGmWatcWGjxTOTNiLanJUGevNjN+ B5mLI/y/61wOF8ENILsKW1vf2313YXmQY0ZOU4QjQfBPN6vrxrxM1naoJvM2lANFSqv4o0K7tlfJd JCmPj0hKZHbLf6+KdDHQ==; 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 1hGW2Q-0000KZ-Mr; Tue, 16 Apr 2019 21:54:46 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGW1x-0008Aw-K6 for linux-rockchip@lists.infradead.org; Tue, 16 Apr 2019 21:54:21 +0000 Received: by mail-pg1-x543.google.com with SMTP id p6so10970637pgh.9 for ; Tue, 16 Apr 2019 14:54:17 -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=cWXcwUO99R4dLB/IuZUC9gJlZE5FQWRDL44srQDPsqk=; b=ejBtaPnR9q05b/fAPX24cAvnXMkUKl8dv74zXRQ/flOfxwW2g+52dgsY64NuNdME22 uPRaVNQIDZwDLbenk3fXkr5sCpbUoQQx3iz6VI/N4wTVQq5I+lf9isXR5BnHdcl04m0i qMRY/ItYRRoO2Pj+l2mtAwkwcK8tNs2AKNPyA= 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=cWXcwUO99R4dLB/IuZUC9gJlZE5FQWRDL44srQDPsqk=; b=K281kiA1gEeeScJTd8xuaYI4bTmlbqgvTJR/hjy1m3hzk6NqS7A1SLo4FJSlmvey3m joKVh0LoaQ2ZN054uTp+wu6K1e9jaMnf0MM65Op2BL2Evxk7rYCyaJn734jKoyMwM23T F2gtMjcbfVxz4FK7q0sckulr4WMNe5g2hm0K1giL4aHdXIbCfnaFudJpACviGwjtCoGU 7fQX11I7JpIJScdckBjdYv65gYTp8RWvJNTWHLmG+yihi5opMUfclsD9JBFRX12fDLh8 p1+iG7V47EXeRZXcBivUHmyYas8UO5qpR0IzdiLgSPjlkNCODOeRl5/RSiJVuHL/pCTH 371Q== X-Gm-Message-State: APjAAAUXS5XshYVZQ3FVcu2GycsBVYrFaikS04bIIeFEORd9tQiUy3GQ W4QTHfUL8JXj9QFDqA4LRt6dZg== X-Google-Smtp-Source: APXvYqxxdYR0fLJUpsHaTgteMM1jkatPh1TgL1h1tZn2iyQSTF5t4CnY+DzCpefDu9PaKb6nKGydpA== X-Received: by 2002:a63:af0a:: with SMTP id w10mr54056203pge.67.1555451656875; Tue, 16 Apr 2019 14:54: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 b6sm8156770pgt.58.2019.04.16.14.54.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 14:54:16 -0700 (PDT) From: Douglas Anderson To: Rob Herring , Minas Harutyunyan , Heiko Stuebner , Felipe Balbi Subject: [PATCH v2 4/4] ARM: dts: rockchip: Add quirk for resetting rk3288's dwc2 host on wakeup Date: Tue, 16 Apr 2019 14:53:51 -0700 Message-Id: <20190416215351.242246-5-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_145417_882078_D4263E84 X-CRM114-Status: GOOD ( 10.86 ) 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 --- Changes in v2: None 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 7e70ecf2b95a..aa017abf4f42 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -621,6 +621,7 @@ dr_mode = "host"; phys = <&usbphy2>; phy-names = "usb2-phy"; + snps,reset-phy-on-wake; status = "disabled"; };