From patchwork Sat Oct 1 15:21:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9359309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F2AC66086A for ; Sat, 1 Oct 2016 15:22:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E597228D44 for ; Sat, 1 Oct 2016 15:22:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3FCD28D58; Sat, 1 Oct 2016 15:22:17 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9629428D47 for ; Sat, 1 Oct 2016 15:22:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bqM7C-0003dt-RN; Sat, 01 Oct 2016 15:22:14 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bqM78-0003Mz-QH for linux-amlogic@lists.infradead.org; Sat, 01 Oct 2016 15:22:12 +0000 Received: by mail-wm0-x241.google.com with SMTP id b201so2436187wmb.1 for ; Sat, 01 Oct 2016 08:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bwnplrCBZJGWLdD6A8Jt9qo0GNWLn4DiGbrG3mG3ZXo=; b=nfsMQIctbDpEVHj/HhYhdgyvtbL2oLlO7Rm0L/1KXA0/RwHmW9uWW0pMShkLknmJ78 ViGEts7UiBFAcGl26pe7iz35gFn0lM7nk2SaDo8CemZG3xNPc1LEsQtfwZmv+Lu/acZE M77RFyubmMpl7a+l6Au/9OLzWSzDP//7o4z6ICdILTUcbMo5qo2vIWsDE5uRMCsSMiya /yVFLVbs9jrdEoZjGWiauac2RRx1cuDnTHA6qIbFYEvI569kI4XxEEPRAY1RRALEsY5o WF85Pn6cwnvnMkO+/Nj+a4fwgLjssa6eoIZWMr5zJE4HZH1ReEPqI91ERznJPoX+OG9q MpLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bwnplrCBZJGWLdD6A8Jt9qo0GNWLn4DiGbrG3mG3ZXo=; b=E2KFGYUGOjft/f20bLckQwoAGC0pVwsNyaaI/DKOASWtT7F9eJP/hR66P+LTf8metK +tUudBSbR9fAenbqAWnepNYnfv51d/xwz8eIS3dvKRem0Y2K38pYuHjlrcxahY/Z24S2 tJI2VIRLPGS2w/pVwjMT3S5OtLBvxEDICXu2l2IMoxZkUQSg3OH58HTRXQoTVOTqg8Dz 2e4CNKu+EMR+Ilpedr9v7be/6t/vQUq1bFrS7wkAfmNlo9fSKGSSrkMSNLJI/Q+bUTzF x5xdNg3qrzMpLLfWpJaSYHDGUUEGDjY/F9jpRXWcRpCz56kNWECTyNFkLrTeQE3qlxho Fizw== X-Gm-Message-State: AA6/9RlSz3siD5QRCggU1gW7+lzhg6PrEaSL5jiHZf6KeksmFeJI7MUmWudHF7th2zyzaQ== X-Received: by 10.28.174.81 with SMTP id x78mr2455126wme.109.1475335309072; Sat, 01 Oct 2016 08:21:49 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3D31B041155F9C87FD159CD.dip0.t-ipconnect.de. [2003:dc:d3d3:1b04:1155:f9c8:7fd1:59cd]) by smtp.googlemail.com with ESMTPSA id 137sm9643171wmi.16.2016.10.01.08.21.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Oct 2016 08:21:48 -0700 (PDT) From: Martin Blumenstingl To: p.zabel@pengutronix.de, linux-amlogic@lists.infradead.org Subject: [PATCH 3/3] ARM64: dts: meson-gxbb: add the USB reset also to the second USB PHY Date: Sat, 1 Oct 2016 17:21:34 +0200 Message-Id: <20161001152134.8168-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161001152134.8168-1-martin.blumenstingl@googlemail.com> References: <20161001152134.8168-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161001_082211_229906_39562DE0 X-CRM114-Status: GOOD ( 10.17 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Martin Blumenstingl , khilman@baylibre.com, will.deacon@arm.com, kishon@ti.com, catalin.marinas@arm.com, carlo@caione.org, dt@kernel.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP When the USB PHY driver was introduced the reset framework did not have support for triggering a reset pulse for shared resets. On GXBB however there is only one reset line for both PHYs (meaning we have a shared reset line). With the latest changes to the reset framework and the corresponding updates to the phy-meson8b-usb2 driver we can now pass the reset to the second PHY as well. Signed-off-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index cfa3902..2e89ec4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -165,6 +165,7 @@ compatible = "amlogic,meson-gxbb-usb2-phy"; #phy-cells = <0>; reg = <0x0 0xc0000020 0x0 0x20>; + resets = <&reset RESET_USB_OTG>; clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1>; clock-names = "usb_general", "usb"; status = "disabled";