[PATCH v2 1/2] phy: tegra: xusb: Add API to retrieve the port number of phy

Vinod Koul vkoul at kernel.org
Fri Apr 5 09:59:10 PDT 2024


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 at kernel.org>

-- 
~Vinod



More information about the linux-phy mailing list