From patchwork Sat Nov 12 13:13:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9424131 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 A88CB60720 for ; Sat, 12 Nov 2016 13:13:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D7B7296E2 for ; Sat, 12 Nov 2016 13:13:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 925A8298C0; Sat, 12 Nov 2016 13:13:59 +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 562FD298D4 for ; Sat, 12 Nov 2016 13:13:59 +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 1c5Y80-0000Qa-Ak; Sat, 12 Nov 2016 13:13:52 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c5Y7x-0000Lv-6q for linux-amlogic@lists.infradead.org; Sat, 12 Nov 2016 13:13:50 +0000 Received: by mail-wm0-x242.google.com with SMTP id a20so3227273wme.2 for ; Sat, 12 Nov 2016 05:13:28 -0800 (PST) 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=QWST820jYqor5nPze70d3M5abELjpNtmsUAbchiy1qA=; b=TGdwXvU0iYDAMExsACSypw6UlR4f0SaQOqYUgvL8dBY9fGyF2IB4na7T3ue7R1COag q/HeXsRQMAOPj7BigDJ6ZJdGKKiiWAazP4kYDvD/5zDAI32GVoPsuH370A2U4Vhmo3nP KxY92zYGMYFnHjbWGjSPGzst54gQKVZx8eQA3qvwZ1PwlYVhLuzZnOFfuNGb4prrkN+K uPOMDdMC36tpRGAkD0S+oyO8urorn++rchUnbX46CSjLZcgeC7aNqKtn8yDoHsCnbVZo F3e0PiN8KisLij3mGWg/TJPc1nLtdclKUNlKhgAYIEeLiQap/0Fu4C/9gr8wneXlJ3m2 s7Bw== 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=QWST820jYqor5nPze70d3M5abELjpNtmsUAbchiy1qA=; b=QJw3iVEhJB50oXU7QMflpKYRo00deoiOC9hlKBVF9TOYtbBiA1JJXknAFFiIo6d3OZ KHhdCSAPKsXGhXvMyl970a2r+sHWzC97Xqs7lYW4i7AiZQhNsqluysy1aRZFxQNy6hwZ B09mVltgXN+7einbMuUYIwNnzZHHJA+txn/tM8vvyR+vd3lFipBMn08xRT30SKYUe2Rj VY6MUZ/hTHMyFvsOn5bkNbOI6R+9HUmU+EQE99Hf9R+OHtw+hBl2ILX9qOFFxwnryBmq ZmJJRWSjhzBFdEg5ZtEs+/cogYXSkJq3qYTmh6lYEqHOinuFYYXFOYZljXFWmOOpa9LA yzcw== X-Gm-Message-State: ABUngvcFLIeQkNUYGEavJTYBoDsYRvETyUFGj7oDrh7NMpmCsr32IN/JpygyaUWP8CZGKQ== X-Received: by 10.194.98.208 with SMTP id ek16mr15686622wjb.94.1478956407173; Sat, 12 Nov 2016 05:13:27 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD3D3DE04CD53CC2510F85EC9.dip0.t-ipconnect.de. [2003:dc:d3d3:de04:cd53:cc25:10f8:5ec9]) by smtp.googlemail.com with ESMTPSA id i2sm13198333wjx.44.2016.11.12.05.13.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Nov 2016 05:13:26 -0800 (PST) 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, 12 Nov 2016 14:13:05 +0100 Message-Id: <20161112131305.26088-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161112131305.26088-1-martin.blumenstingl@googlemail.com> References: <20161001152134.8168-1-martin.blumenstingl@googlemail.com> <20161112131305.26088-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161112_051349_489466_C1A0C118 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. 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, robh+dt@kernel.org, catalin.marinas@arm.com, carlo@caione.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 719bf50..a548663 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -87,6 +87,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";