From patchwork Fri Apr 12 22:41: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: 10899189 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 A220F1708 for ; Fri, 12 Apr 2019 22:42:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82CBE28748 for ; Fri, 12 Apr 2019 22:42:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7684428F20; Fri, 12 Apr 2019 22:42:48 +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 2AC0C28748 for ; Fri, 12 Apr 2019 22:42:48 +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=aX8IpyT2kCgGy9PRvHGpdEB6mvIO80HriVQUFtfv/7g=; b=UbhOKjr0ikAVaG POZJ1uqY8KHD6RdGsFsld70QEUBxs8ru+6Kxh0LsA6GDGf2EM5hlNV4woRWpataBZyXUl0er1qbUp sW0CPQ5Sc/jyjx+csF+s8pepilX13HfkBhCm1ejk+FCs7SNPFrDNfsJta085Z4j8/YQcE50Bf/q/z l4xsgdCrZ6oanqjqyn/XYDmQL3o14pSFrMjFo01Cscwac5mJ2wwSjn6wO7woeVMYhO1u1rQrk/y2L VStxalmxJLrXiOpd7/kojN5pkZ1iOh4BR+snksu2dVwYtlzbmxm3rEtMLqVLBsgCKaBJIGjJ2R1xK ay2JM2Ds/JrUHv7Hdhsw==; 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 1hF4se-0002zM-Fw; Fri, 12 Apr 2019 22:42:44 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hF4sF-0002Rr-7t for linux-rockchip@lists.infradead.org; Fri, 12 Apr 2019 22:42:22 +0000 Received: by mail-pf1-x443.google.com with SMTP id e24so5780784pfi.12 for ; Fri, 12 Apr 2019 15:42:18 -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=QzD3qq/PMUVMpjWUpPygcIhbopx0mZxT37qNcK5sZeg=; b=I51Nr8NvO7I03CvvyUyTROENQTyD5o14qi2nx7dIdi+6gWVZccni3+8Y7liLPOoM6S y9AG/P3jxdIb+NZo10L2IGrB8/rc53LHv3xCCHWPWM+fMXpDiqO5LcdzLIgZz+NkIkQb YE2yvYHVcGNlyAKI03VIkTIuDLRqZg1dLbm2k= 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=QzD3qq/PMUVMpjWUpPygcIhbopx0mZxT37qNcK5sZeg=; b=fzge8hbjuysRwDtK6OeasOJAxriuFZ+vc0MnRhj7NFBYkIX4stCZOiUXwngr5Gja98 lFLVyBCO7iE9HXNQslRKcgNz+T6DhywzFOTJ4UOMXfdqsV6b/w8coDmc953ItWi6VpIk 5+qo932dpk0FuZgNU4dA86RyG6sAX/3uyDctWMr5hU7SIzorhYKShD+v4bPXqvW1nN68 i+Y23FcTIl+op7npJgc9vQRdl2oZWSreUYtm2kPdP8I0d7vbXA9zIiPPG8abPxEB7Hqr G/sWp8IZG/FJjPEAixEa8Wl60qsVgTcLCTBUKbm356umKEnP3eHKIrKJVipyH9pRMiUS Dbuw== X-Gm-Message-State: APjAAAXJEqMELEwqezvbLJFk/GcIwUKyuR03UXgcWMeNR3qbXLV9zrib kVksQKxczQT0kccn+Lc0dPKUMQ== X-Google-Smtp-Source: APXvYqwsHgmjXC6uKa5IaBxOFT2e9eBfb4WK9JupK/WhHmuI1mKfXXGN9jIgHYYXdygBtHRX1fxrvA== X-Received: by 2002:aa7:8384:: with SMTP id u4mr59216540pfm.214.1555108938477; Fri, 12 Apr 2019 15:42:18 -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.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 15:42:17 -0700 (PDT) From: Douglas Anderson To: Rob Herring , Minas Harutyunyan , Heiko Stuebner , Felipe Balbi Subject: [PATCH 3/4] ARM: dts: rockchip: Hook resets up to USB PHYs on rk3288. Date: Fri, 12 Apr 2019 15:41:48 -0700 Message-Id: <20190412224149.106971-4-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_154219_498180_64501FF3 X-CRM114-Status: GOOD ( 11.11 ) 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 Let's hook up the resets to the three USB PHYs on rk3288 as per the bindings. This is in preparation for a future patch that will set the "snps,reset-phy-on-wake" on the host port. Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke --- arch/arm/boot/dts/rk3288.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 2e604f0afa98..92e0600595f8 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -905,6 +905,8 @@ clocks = <&cru SCLK_OTGPHY0>; clock-names = "phyclk"; #clock-cells = <0>; + resets = <&cru SRST_USBOTG_PHY>; + reset-names = "phy-reset"; }; usbphy1: usb-phy@334 { @@ -913,6 +915,8 @@ clocks = <&cru SCLK_OTGPHY1>; clock-names = "phyclk"; #clock-cells = <0>; + resets = <&cru SRST_USBHOST0_PHY>; + reset-names = "phy-reset"; }; usbphy2: usb-phy@348 { @@ -921,6 +925,8 @@ clocks = <&cru SCLK_OTGPHY2>; clock-names = "phyclk"; #clock-cells = <0>; + resets = <&cru SRST_USBHOST1_PHY>; + reset-names = "phy-reset"; }; }; };