From nobody Sun Apr 5 16:44:28 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 CFB8211CBA for ; Sat, 21 Feb 2026 09:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771664569; cv=none; b=fbdXj+JkAxUf6Pyf/quk079EOQ5DP5wyCNfyL1calO5g4gGYs98jNLUJ+Xr6gq7OSUsyAxGKeNRkEL6qJQ/GFohgu/uzI9ZgmCB3tR0SpH68NoZXyyfe06oxlFLl5nm671O2nx2EEaJG+BDBEVMZsmo1HPSKTWGDP2J7PEVUv6g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771664569; c=relaxed/simple; bh=IacRt8mbGi70TSLqe8x1dQjcwccLECzWFLM4R/ZS/Dc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=EfSI9v2NmkIbeFdytziN/l5GvqQynJ/vLHz2hzEcZeW+mnhc16kTX8lL+Tj324sCUp+oUWeTMtncl19/Xy1B8FV4Y9I+vEaMzoZ0rLTpYZmszh2jxHGfM9c/JUyQw6R9zcrg7ZesqvMYhPugGzgodw1isHagNEJYy8rExc6qkKc= 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=ezVoDZ7A; arc=none smtp.client-ip=209.85.128.50 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="ezVoDZ7A" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-482f454be5bso35629285e9.0 for ; Sat, 21 Feb 2026 01:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771664566; x=1772269366; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=zmCZgLjaf6WNAl4QcnYSjzIUbADts2hS5FwiTnomwBA=; b=ezVoDZ7A8a+1X+RzIz7+8AlbcCBvf72vZMxfpg8LnK6+BJAlFaH020bR1rL2E4sc0b bGolPuuG71ROodSsHHsuk8jvVdzBMNRdCEH/BMIbeMJR5VUXgaommOBwgIQax8J3jCff MCpsaHbduxMWIluV9La84VM+EnWpIHBForazMnW26Zzq4wRb8Warxo2VVT5p7+KhbYH5 GwYpW6RMzHy6V4xKQmKKlPDoq9qnNK/3XMXq1qJVDhI4IIQP26kTxHEJju3C0u6TuKPY T/joHhzlde4Zmuya4PnmpxehFRs6E3lvMEdfdn1lqvj7AuOn6tpQzfqbkXYG6LeuTcil d9EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771664566; x=1772269366; h=cc:to: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=zmCZgLjaf6WNAl4QcnYSjzIUbADts2hS5FwiTnomwBA=; b=p/OKWPO4viDZGcQqKA/o0b/Eq+27SO4oLCyDEwNDuNHkRoDKAjxdXwIJFOq9wuL9uQ h1rDlrd8Ril0RsBpyoaT7zX0JcdT1I08gdJbMVQZcJ1vrTK6+paU3h7oNl3x5jBQ2l31 DJTOuN9+eQhIfwkxMxKx2yOOJOOymgFBRF0y3MOiAY+5UMw+rrGR6vhI0D3aSzKsX7OJ EweEtfIkDyTpfbB0sny3qLZmO+wBo4yteLMr7nJEM0W0+tmYWRKmqO3Vw6+toYZRZN2P SdtgR/eEkXVTGR8P1QJq1lSDEMjIfxxdoVd5VIiGpA4uK6oRCW+EUiaJ9oT2QbV2sT60 HAQA== X-Forwarded-Encrypted: i=1; AJvYcCXWZ3zqDsvYDPe7YW8aBWupS4xRq94Be02pHdSBu+sWlDvEHIXJCNs9sksom3Pwd8rsdg5ZGOyAdBTumcM=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5krWtAci+zw8G0VixCojdew3DweM4BEV4BBTUpUlLZIYdBi/e dblu6HhGv2/YvSpB6mLdgtq8vpiNwY5n1AzIJZqVcZxgPkJ6RYs4WpHaW79zkA== X-Gm-Gg: AZuq6aI6aerLPjJrsAUBPTVO5DH5q6ijcRORmBySEyWDc2GMNPvIlNLCIyG3D6uR0D7 UKAiUVt9ks0rKw7m6rCwCOv+p8z5P+uKJdkCN5iarxy9tnbqlnbjNav1fxhmwlPneY++YcxQWpo J6/J8qscqi0b3Zt0cidi+VQNZyh6+964QdGD96kJiPTHr8sosiohPxvZgAdndKWeeu9OBImONDr laJQFez3WdnXajEqfL57XusDrPNGD7zmfCgt13jAKxUsn4XNyhyPtSnmCqGnO5YG+HU2TfoAdr5 GKYsJma4KbU99FB9wekw3ZZ3t8GCqBUrY36foXJ6NKwIh+mVoVrrma87Dj1+729PJaClfFPNp3J XM1xwmfIEyX7x3rZFyiKbqVMv6odVqOuVKVxdX1IJe/YYmLn15hUoHhS++2mxKvaJSfJ5/64hVM NUy/BqUj6+Ro0sLBE2ivyq5bVAmHeHLc1uqxrkrAZHRwL3V0t3xRHoZw== X-Received: by 2002:a05:600d:8445:20b0:47e:e0b3:2437 with SMTP id 5b1f17b1804b1-4839fe96a24mr99827825e9.5.1771664566116; Sat, 21 Feb 2026 01:02:46 -0800 (PST) Received: from [192.168.20.124] (5D59A51C.catv.pool.telekom.hu. [93.89.165.28]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-483a9b75b4dsm63146555e9.4.2026.02.21.01.02.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Feb 2026 01:02:45 -0800 (PST) From: Gabor Juhos Date: Sat, 21 Feb 2026 10:02:37 +0100 Subject: [PATCH v2] usb: ehci-orion: remove optional PHY handling code remnants 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: <20260221-ehci-orion-drop-phy-handling-v2-1-5e26aa73790b@gmail.com> X-B4-Tracking: v=1; b=H4sIAKx0mWkC/42NQQ6CMBBFr0Jm7Zh2VCKuuIdhgdPSTgK0aQ2RE O5u5QQu38/L+xtkm8RmeFQbJLtIljAXoFMF7PvZWRRTGEhRrYgUWs+CIRUNTQoRo1+xiGaU2aF pLqxv3JC6EpRETHaQz5F/doW95HdI6/G26N/6Z3jRqFHp/mWaQdd35tZNvYxnDhN0+75/AYvaa 0XIAAAA X-Change-ID: 20260220-ehci-orion-drop-phy-handling-d93c15c92042 To: Alan Stern , Greg Kroah-Hartman , Miquel Raynal Cc: Gregory CLEMENT , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Gabor Juhos X-Mailer: b4 0.14.2 Since the USB core code handles the generic USB PHYs automatically, the optional PHY handling code has been removed from the 'ehci-orion' driver entirely by commit e04585184dcf ("usb: ehci-orion: avoid double PHY initialization"). However, the devm_phy_optional_get() call has been kept so the driver still gets the PHY even though it is not used for anything in the driver. Drop the remaining code, and also remove the 'phy' member of the 'orion_ehci_hcd' structure to simplify the code. Acked-by: Alan Stern Signed-off-by: Gabor Juhos Reviewed-by: Miquel Raynal --- Changes in v2: - add 'Acked-by' tag from Alan Stern - remove 'Fixes' tag - Link to v1: https://lore.kernel.org/r/20260220-ehci-orion-drop-phy-hand= ling-v1-1-01abd9f168cc@gmail.com --- drivers/usb/host/ehci-orion.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 34abff8669f8bf096f4547b6ce0977eb130b3c8d..eaaa49712a8c64928771eb31716= 5091480245d0f 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -60,7 +59,6 @@ =20 struct orion_ehci_hcd { struct clk *clk; - struct phy *phy; }; =20 static struct hc_driver __read_mostly ehci_orion_hc_driver; @@ -276,13 +274,6 @@ static int ehci_orion_drv_probe(struct platform_device= *pdev) goto err_put_hcd; } =20 - priv->phy =3D devm_phy_optional_get(&pdev->dev, "usb"); - if (IS_ERR(priv->phy)) { - err =3D PTR_ERR(priv->phy); - if (err !=3D -ENOSYS) - goto err_dis_clk; - } - /* * (Re-)program MBUS remapping windows if we are asked to. */ --- base-commit: 2b7a25df823dc7d8f56f8ce7c2d2dac391cea9c2 change-id: 20260220-ehci-orion-drop-phy-handling-d93c15c92042 Best regards, --=20 Gabor Juhos