Mainline:Broadcom Kona/USB PHY (HSOTGCTRL): Difference between revisions

Created page with "'''HSOTGCTRL''' is the USB2 PHY used in Broadcom Kona chips. == MDIO == MDIO most likely stands for [https://en.wikipedia.org/wiki/Management_Data_Input/Output Management Data Input/Output], a PHY management interface used primarily for Ethernet PHYs. While there is a standard for Ethernet MDIO registers, the USB MDIO does not appear to follow it, instead using its own values. Like the Ethernet MDIO, however, both the addresses and values are 16-bit. MDIO read/write r..."
 
No edit summary
 
Line 1: Line 1:
'''HSOTGCTRL''' is the USB2 PHY used in Broadcom Kona chips.
'''HSOTGCTRL''' is the USB2 PHY used in Broadcom Kona chips.
== Drivers ==
=== Downstream ===
Split into two parts:
* {{downstream|baffinlite|arch/arm/plat-kona/bcm-hsotgctrl.c}} which handles all HSOTGCTRL functions;
** {{downstream|baffinlite|arch/arm/plat-kona/bcm-hsotgctrl-phy-mdio.c}} which specifically has [[#MDIO]] setup
* {{downstream|baffinlite|drivers/usb/otg/bcmpmu59xxx_otg_xceiv.c}} which hooks into Linux's USB PHY API, calls the HSOTGCTRL functions and also handles some PMU-related bits of the process (mostly related to VBUS control)
=== Mainline ===
The mainline driver uses the generic PHY framework; it is located in <code>drivers/phy/broadcom/phy-bcm-kona-usb2.c</code>.


== MDIO ==
== MDIO ==