From nobody Wed Apr 1 09:48:05 2026 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 975D63451B3 for ; Mon, 30 Mar 2026 15:25:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774884333; cv=none; b=R/I6sdbhni8ivuDPnXQVuU7BkTvJk9uLorvS/jS79kCujzbJQxI9TeOnA9GbouBa3ueJels7ARJYoMqWcXM4nclkZM5Bn/XjhQ2yndv2dt/Fct4qzeCkCxHqRGjR/VWNXm1gSJbT1mckPDCk86uW2sT8XKiyWlV1JhmGlD411J0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774884333; c=relaxed/simple; bh=ybEcQezd4bQp+2AiFiCgTO5IRunvGahWXK82YP2l8LM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PqArWq6TI90x3TOQQ/MPg6oW572ZFtONBpSCTNQbWwpVISxk30cmTcRL5DNXbf82xoZae5DAkKw9RIKQ8Ai3XTGAh7TfNecDUwZEPTsk4CHzNaawXwS5nwd0yVdeHsDyowsszRa1Np54DEujdNX3GZleIR886zsS1+xnoCHhB/k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SGCt7QO/; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SGCt7QO/" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-b97f9587e6eso707791466b.3 for ; Mon, 30 Mar 2026 08:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774884328; x=1775489128; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8dnhAgVDW8iuPSVs9uJHLaTkCl9UflKkR8DioSBXExQ=; b=SGCt7QO/F5WbfrEr58URjDbA2gT5Iwf17EwRFKeDy5X704wfhSBDGiVsicCplVDHJL ZWIXByhRxoV3B+Eiq3zHc9/t6OC41+6WcsBIpcluf3Rcss9Xbju+ECqEZKWppCvEcU8V zhWw2eL26H3+IhtN1Gl2JPhZI1fUz4J4pNEnz+O0IrJUT4BJ2zISLScdVP1vpCLFYwZO +3kTJTBk808WaWIp0GS+ISOMWO3+FSVhEjRmAjevFiYVASl12TPM7JSmWdY2qR+56FJo TBel8GC6XjZVdoW8hb6lG22E9P/ptjM1dLlV80IA7DHQzacASqOvqbjgXpy1CkTqIG1D F12A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774884328; x=1775489128; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=8dnhAgVDW8iuPSVs9uJHLaTkCl9UflKkR8DioSBXExQ=; b=C1rKPLL6jyvU4ikGBvEFUutqefTGo7AqMaV3Yn5hAxy4iy9Vks6W0N6+nsf5YhSrIg 8sX4706zfPKj/CCygI5P8/+jtQNHtrecj0R4/lCWsTGGBaSN6duTOkJdlDp/xtcJV3fR 7hjKmLxMDqeaQmqBWoASaEuqJr18Hs55Z9pvC6oMQ4depUiViiwUduHg0gMuFU1zG6Ef TZnLkweJ7lLvCTc5V+4k81scUVGn8AB6iBzrlMHNyx5NICrn81Trb0YDvCDMppkuivGf Y/xd4nXtLtyEEh5/NlFOgnOznPAuOYDB7YuqStfHGni045Q3d1hXWfxQV/gQff0QQaBQ 1muw== X-Forwarded-Encrypted: i=1; AJvYcCUmq2UcxHTgv1AgyUn7w+lBWlIZzpPmf+n+cz6nrwQJuifu6hnWden81hhtaAzCtnURqkJI1I/3LiEzDGk=@vger.kernel.org X-Gm-Message-State: AOJu0Yx7Ak231h0lf0vKwdj0DDrEwuZsH0nWkZSOK5XWaD0vKKOhZudy yv8MBK4mYnlaV1YEox2A3p8ttXxLWQCZm41Th5SOf7le49W4OS7kGWgSEYYerg== X-Gm-Gg: ATEYQzxbPHG3Wiy4ClMsnq6lN42i36nN+nuSNi+u8CsEwgjglh2njab9CLcE/JU16kl ucOJGVTgLnNC8FYbb4fRLk90L1aNt1PGq6G++ut/O07Hb1Z5O4T/HHUSzvCHTY/IrZ9Wwxo1Z7c 8uK86vazX2JF62fIPfZ2slDb0FncMRpe3nAH1VqpaSL0eOd2/lKv01/p2hoxIYE/h0n+G33onDW u3b/Aj1ufqGslkfyRpnk7XnOYsqoDTi4pl9R/sSpL/FlCRpo37MR8PYFRQbyx+WZ/Id44dYJpwd MdkxKlTW7i6Ut8uzNYFw9VH8wXBXiDEDtRuttC/2FxmsKbcn6yWI0lFhNhTnf2YgrnHk8c+Ndkp CVsVjBIYnIDmdJq7NdnDwD6jgJ5bgrLrn7u7sDpOQXHSZUGnMnsNzLw0Edky9BiqWYYHj1usM2b vkPB3yMF1VAK7YmDEF7/fBFg14ycxI+RKZEJuyAnSKbI/+CarhVMaw X-Received: by 2002:a17:907:1c9e:b0:b98:40f3:47fc with SMTP id a640c23a62f3a-b9b50169017mr811597866b.1.1774884327882; Mon, 30 Mar 2026 08:25:27 -0700 (PDT) Received: from [192.168.0.253] (5D59A51C.catv.pool.telekom.hu. [93.89.165.28]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-b9b7b1e33c0sm301058566b.49.2026.03.30.08.25.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 08:25:27 -0700 (PDT) From: Gabor Juhos Date: Mon, 30 Mar 2026 17:25:16 +0200 Subject: [PATCH 1/2] arm64: dts: marvell: armada-37xx: use 'usb2-phy' in USB3 controller's phy-names Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260330-armada-37xx-usb3-phy-cleanup-v1-1-34d77f1a1784@gmail.com> References: <20260330-armada-37xx-usb3-phy-cleanup-v1-0-34d77f1a1784@gmail.com> In-Reply-To: <20260330-armada-37xx-usb3-phy-cleanup-v1-0-34d77f1a1784@gmail.com> To: Gregory Clement , Andrew Lunn , Sebastian Hesselbarth , Robert Marko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Stanley Chang Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gabor Juhos X-Mailer: b4 0.14.2 Instead of the generic 'usb2-phy' name, the Armada 37xx device trees are using a custom 'usb2-utmi-otg-phy' name for the USB2 PHY in the USB3 controller node. Since commit 53a2d95df836 ("usb: core: add phy notify connect and disconnect"), this triggers a bug [1] in the USB core which causes double use of the USB3 PHY. Change the PHY name to 'usb2-phy' in the SoC and in the uDPU specific dtsi files in order to avoid triggering the bug and also to keep the names in line with the ones used by other platforms. Link: https://lore.kernel.org/r/20260330-usb-avoid-usb3-phy-double-use-v1-1= -d2113aecb535@gmail.com # [1] Fixes: 53a2d95df836 ("usb: core: add phy notify connect and disconnect") Signed-off-by: Gabor Juhos --- arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi | 2 +- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi b/arch/arm64= /boot/dts/marvell/armada-3720-uDPU.dtsi index cd856c0aba71e6f6fd3db8fb386ad607912e7577..12deacb741ccbea684d905f246f= 26a4399fc8cd8 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi @@ -161,7 +161,7 @@ ð1 { &usb3 { status =3D "okay"; phys =3D <&usb2_utmi_otg_phy>; - phy-names =3D "usb2-utmi-otg-phy"; + phy-names =3D "usb2-phy"; }; =20 &uart0 { diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot= /dts/marvell/armada-37xx.dtsi index 44c47409f8793ae1266303607812ef481edbfbc5..7470d504a41081b32bee4536802= 8189a13ea7087 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -372,7 +372,7 @@ usb3: usb@58000 { interrupts =3D ; clocks =3D <&sb_periph_clk 12>; phys =3D <&comphy0 0>, <&usb2_utmi_otg_phy>; - phy-names =3D "usb3-phy", "usb2-utmi-otg-phy"; + phy-names =3D "usb3-phy", "usb2-phy"; status =3D "disabled"; }; =20 --=20 2.53.0 From nobody Wed Apr 1 09:48:05 2026 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2F9A344D8B for ; Mon, 30 Mar 2026 15:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774884335; cv=none; b=q5Cb2Sq9l+YmC854ViVY3pQuG/h9iQS92cvekkKkBdrZrioKDek1sgAINAqEjrm/8QsrNXuQ3bMG3EhdeItUEDZiCB5wAMosoABx6aDxnR55jTD5rax3OgXur/8F6nz6ZiOpbVrrcrsmlYoDMOl0EHMUWEOLwisN4vB+C9vlLJg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774884335; c=relaxed/simple; bh=Zea/O9BbOkwxi/sWJXxnVYPJVPMRlXla7A8hLEVnhdc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jFaqpFxqmNkNzgwDXtU8DsaNjU6B6O8+ezbPguyb0hH6m6fKHe/DLMUe6UiWApIiFUUKyNFiEDweB0W2ZaLwqe4LhHDcNkFkAW4n3RkZy44UAws+queUG5MftpFmVltS9jKa/QkBQgAqu4CyyD8k9Oa5aus3XaYoyXMlFmw4gjI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KuGzkSB5; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KuGzkSB5" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-b932fe2e1a7so621807166b.1 for ; Mon, 30 Mar 2026 08:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774884330; x=1775489130; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Fi+1KAYYwQg88j14KB9Qe0SEuxhGb/RcRHTFnbIZpHk=; b=KuGzkSB5SXJ0x94n2J3DBn2no04RyNd5ULeGxQDlUNZCe2eyeOeJJwlg33qFIWxkaN Gmhl/BK5+3hlOiv8RH6HeHRYLX+a9RcHN6r5MXycRkxXot2n4WChj7oFHYZUEy2yX3MX eyCeGWJK0Q2J3RVuJfQ6LXpRMQ2yOz+Y7zYQBzIcG/BvmGqHLsZoLDqRhYQgb8AhCKzr +bLs45KpLwOU9q9CjQVQn1FqXHR3THX6a27ynopGM2u8S/9N70ygKisoerkWqLbEeY1T 28i7havwUtYRG7F63d4ctK9U+aCm2Y5EFT9EwipypBsOwcgqDjKjY00JeEPFZAOlRuR4 c5Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774884330; x=1775489130; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Fi+1KAYYwQg88j14KB9Qe0SEuxhGb/RcRHTFnbIZpHk=; b=NUnGwFdBt4EiDxBKJHH3RHaloc2xDSNBLuMBmgFsqYW8lchDyukYjKWu8M3+sVZCl6 0bNM8KeQvmPEiE1Nwj5RjvqjzwoNzt3+6mKeJJWO23GJqKvcUxbgxcFbLr0k0Pyd+N/W 2x1xPayGq9/BuyTMfqLkSqFLeih65/w2zhGOJFUwGJd4OhJwiCtZ2F7LcRpXcLDusgXF YuW07gLecqaH1cvkbJKBUviBJFeKGA33eDtekYflDjMNM3UryHEmb83MYvu1AxCBK2Dp gvmWmevQSskOB15ilQ5Zh1JtXv/32I8lNYWkDXHLBAqjz4bCxybFX+7XRcbzR/m7uMD/ 5mrQ== X-Forwarded-Encrypted: i=1; AJvYcCW/Z0947MHcn1U4JYtVzaYCGnu4EnFrak/j17QL2mmkA98AyPA/C/cVjSnI40nUWdgseMvEYW47h3IaTRg=@vger.kernel.org X-Gm-Message-State: AOJu0Yzlj2gVpc+0QMRBRJHmGWROH0pUQnZSrM90/zdnSpKDYmATe/hN NMDtywTtelYGMlDj0bxLM3ZxQpDpXd4tUmLAtugxt3yUkj70cgbQMqmH X-Gm-Gg: ATEYQzz96srUlEdD/myTX/HF9bUmtl6DiNAqpZFwJAdJHgFh3w28YARY3UFQvy2kbb0 mO9LTJbOyrU1rcPgsk0xDeY9slPDCuPCT15DkupXA2gfBGey61MHdmzHQcG3sW4fWB34HoXBSUs VgJ9avcBWl0RyQqZ+bz0C7pnTbw8T0Hp4h4i3XbPFnvEIPgWp3no1l05rqdYW21UHK32qwb+8CF IvSaWMEwD3cWGPzWV0iEnqKR013Lt7VCpHdHXmFJrizU2z+AXsFPt1GCiHbK5G7VuDxCUZXDAt0 979meW/ORqOlZ6asU9dnwKmEWAaTaPooaPs7iXUfL1hqUHZGvS2+hFdtT4ssQbWE+vL4q87/g1X b4rFGQoZHLANcBzkwejz72T49JnaLi7FfDDdCkzzGdC1gyz8t8fRNe92cjby0Z4lqeMkLdZQIVo ahXIpxRDAalT/HK0JqH/0LePu/imAJz5Md9cg2vVuYvW6IPImjixhI X-Received: by 2002:a17:907:960b:b0:b99:7697:76dc with SMTP id a640c23a62f3a-b9b50175845mr850255266b.4.1774884329432; Mon, 30 Mar 2026 08:25:29 -0700 (PDT) Received: from [192.168.0.253] (5D59A51C.catv.pool.telekom.hu. [93.89.165.28]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-b9b7b1e33c0sm301058566b.49.2026.03.30.08.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 08:25:28 -0700 (PDT) From: Gabor Juhos Date: Mon, 30 Mar 2026 17:25:17 +0200 Subject: [PATCH 2/2] arm64: dts: marvell: armada-37xx: swap PHYs' order in USB3 controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260330-armada-37xx-usb3-phy-cleanup-v1-2-34d77f1a1784@gmail.com> References: <20260330-armada-37xx-usb3-phy-cleanup-v1-0-34d77f1a1784@gmail.com> In-Reply-To: <20260330-armada-37xx-usb3-phy-cleanup-v1-0-34d77f1a1784@gmail.com> To: Gregory Clement , Andrew Lunn , Sebastian Hesselbarth , Robert Marko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Stanley Chang Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gabor Juhos X-Mailer: b4 0.14.2 It seems that the Armada 3700 is the only platform where the USB3 specific PHY is defined before the USB2 specific one in the device tree: $ git grep -E 'phy-names[ \t]*=3D[ \t]*"usb3-phy"[ \t]*,' next-20260327 -= - *.dts *.dtsi | tr '\t' ' ' next-20260327:arch/arm64/boot/dts/marvell/armada-37xx.dtsi: phy-names = =3D "usb3-phy", "usb2-utmi-otg-phy"; In contrary to this, there are 93 other platforms/boards where 'usb2-phy' is defined first: $ git grep -E 'phy-names[ \t]*=3D[ \t]*"usb2-phy"[ \t]*,' next-20260327 -= - *.dts *.dtsi | wc -l 93 Swap the order of the USB3 and USB2 PHYs to follow the common pattern used on other platforms. No functional changes intended. Signed-off-by: Gabor Juhos --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot= /dts/marvell/armada-37xx.dtsi index 7470d504a41081b32bee45368028189a13ea7087..360fc24fdde2204540ac4158521= 46d3020be87c0 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -371,8 +371,8 @@ usb3: usb@58000 { reg =3D <0x58000 0x4000>; interrupts =3D ; clocks =3D <&sb_periph_clk 12>; - phys =3D <&comphy0 0>, <&usb2_utmi_otg_phy>; - phy-names =3D "usb3-phy", "usb2-phy"; + phys =3D <&usb2_utmi_otg_phy>, <&comphy0 0>; + phy-names =3D "usb2-phy", "usb3-phy"; status =3D "disabled"; }; =20 --=20 2.53.0