linux/include/linux/phy
Wayne Chang fd8e9ef13a 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>
History 2024-04-10 16:18:40 +02:00
..
tegra phy: tegra: xusb: Add API to retrieve the port number of phy 2024-04-10 16:18:40 +02:00
omap_control_phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
omap_usb.h phy: omap-usb2: Clean up exported header 2020-05-18 19:30:56 +05:30
phy-dp.h phy: Add DisplayPort configuration options 2020-01-14 10:50:19 +05:30
phy-mipi-dphy.h phy: dphy: Clarify lanes parameter documentation 2019-02-07 11:11:05 +05:30
phy-sun4i-usb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
phy.h phy: core: Reword the comment specifying the units of max_link_rate to be Mbps 2021-06-14 11:20:17 +05:30
ulpi_phy.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00