Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 5 Apr 2024 22:29:10 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH v2 1/2] phy: tegra: xusb: Add API to retrieve the port number of phy |
| |
On 07-03-24, 11:03, Wayne Chang wrote: > 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.
Acked-by: Vinod Koul <vkoul@kernel.org>
-- ~Vinod
| ![\](/images/icornerr.gif) |