Files
linux-stable-mirror/include/linux
Wayne ChangandGreg Kroah-Hartman 3dd6e0faa7 phy: tegra: xusb: Add API to retrieve the port number of phy
[ Upstream commit d843f031d9 ]

This patch introduces a new API, tegra_xusb_padctl_get_port_number,
to the Tegra XUSB Pad Controller driver. This API is used to identify
the USB port that is associated with a given PHY.

The function takes a PHY pointer for either a USB2 PHY or USB3 PHY as input
and returns the corresponding port number. If the PHY pointer is invalid,
it returns -ENODEV.

Cc: stable@vger.kernel.org
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20240307030328.1487748-2-waynec@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:28:28 +02:00
..
2024-01-25 15:35:39 -08:00
2023-11-28 17:19:55 +00:00
2023-09-11 15:24:16 -07:00
2024-03-26 18:19:40 -04:00
2024-04-03 15:28:18 +02:00
2024-03-26 18:20:13 -04:00
2023-09-01 00:29:34 +02:00
2023-09-13 10:48:48 +02:00
2023-11-20 11:58:53 +01:00
2024-02-05 20:14:27 +00:00
2023-11-28 17:19:54 +00:00
2023-09-29 17:20:46 -07:00
2023-11-28 17:19:48 +00:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2024-01-31 16:19:01 -08:00
2023-11-28 17:19:38 +00:00
2024-01-31 16:18:47 -08:00
2023-11-20 11:58:56 +01:00