From patchwork Tue Apr 16 21:53:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10904221 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 D9C461850 for ; Tue, 16 Apr 2019 21:54:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5BF828535 for ; Tue, 16 Apr 2019 21:54:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B96FA28A14; 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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A12C28535 for ; Tue, 16 Apr 2019 21:54:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730725AbfDPVyR (ORCPT ); Tue, 16 Apr 2019 17:54:17 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:36898 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730677AbfDPVyQ (ORCPT ); Tue, 16 Apr 2019 17:54:16 -0400 Received: by mail-pl1-f193.google.com with SMTP id w23so10994012ply.4 for ; Tue, 16 Apr 2019 14:54:15 -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=JQcpLLY5KK4GVOCCGHD2Lb4pmJlBo3NKSgPvy82sxxs=; b=jet7qqlVkuzSyJBHgzdOZoBdkDRzb97FPPvS6OsfblhPaOgPly4QVhABda+QsNoBQK jSX0iOEXcTriDz+NlJkB35upNjg0ZfCLEuDRTmv+qErSFyncQ4yXwxyteneTHds73VxI +R8BqVW1892eo6PNlyEr32+pD7W05ojOAxm8w= 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=JQcpLLY5KK4GVOCCGHD2Lb4pmJlBo3NKSgPvy82sxxs=; b=Y6Vd8XgC42FgSuLuNljaCLQIlEO/2wxM9JLkIo5Q6GIpqjTPjqngoQ0x95XwOR1Vgd UnkLFDBScfPUl72oP1bXAx3G1yRLw9bTHuTvYh9rwGX2fIP3Cx9luAvOOvBVWSEUDFyi ag7/shkdXzF6k0ccMTYoFpwPQbVHRPGXciM4E4MJpD6Ob92xmOY5XU0zHfx6An/dff2A U75npo7GYKxxJZVOnFSeFtLDU1PlMQ1Y7SurvK2VHM9ONG44P+iGZ1DLrB4R3iXTrqaW Zoz8wQ54Xsz/biCuRxXvDoj58nLqm2Lhf5deBgoWgpT26c94l3RC3GYEQTt3npmq0xsE v9MA== X-Gm-Message-State: APjAAAWea5kXYpZhWdh0ZFzLd5m020pwwEI8xyZRSBRqeiXX+WIeTZlm +UZXxwpGAG6uJZFBcRHizppo1I6Ja10= X-Google-Smtp-Source: APXvYqwe5Q3sUUtcLGPdwFIhZi1gZhbtsybtUcA04et5Y4lRysaMcw+0xjOT5eMBQpQRdD8EFX89zg== X-Received: by 2002:a17:902:e302:: with SMTP id cg2mr81457671plb.285.1555451655465; Tue, 16 Apr 2019 14:54:15 -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.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 14:54:14 -0700 (PDT) From: Douglas Anderson To: Rob Herring , Minas Harutyunyan , Heiko Stuebner , Felipe Balbi Cc: amstan@chromium.org, linux-rockchip@lists.infradead.org, linux-usb@vger.kernel.org, Randy Li , mka@chromium.org, ryandcase@chromium.org, jwerner@chromium.org, Elaine Zhang , Douglas Anderson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] ARM: dts: rockchip: Hook resets up to USB PHYs on rk3288. Date: Tue, 16 Apr 2019 14:53:50 -0700 Message-Id: <20190416215351.242246-4-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 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.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 --- Changes in v2: None 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 74c9517c4f92..7e70ecf2b95a 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -909,6 +909,8 @@ clocks = <&cru SCLK_OTGPHY0>; clock-names = "phyclk"; #clock-cells = <0>; + resets = <&cru SRST_USBOTG_PHY>; + reset-names = "phy-reset"; }; usbphy1: usb-phy@334 { @@ -917,6 +919,8 @@ clocks = <&cru SCLK_OTGPHY1>; clock-names = "phyclk"; #clock-cells = <0>; + resets = <&cru SRST_USBHOST0_PHY>; + reset-names = "phy-reset"; }; usbphy2: usb-phy@348 { @@ -925,6 +929,8 @@ clocks = <&cru SCLK_OTGPHY2>; clock-names = "phyclk"; #clock-cells = <0>; + resets = <&cru SRST_USBHOST1_PHY>; + reset-names = "phy-reset"; }; }; };