mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
57f6ce072e
Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. This also includes device tree support for usb3 phy driver and the documentation with device tree binding information is updated. Currently writing to control module register is taken care in this driver which will be removed once the control module driver is in place. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Moiz Sonasath <m-sonasath@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
USB PHY
|
|
|
|
OMAP USB2 PHY
|
|
|
|
Required properties:
|
|
- compatible: Should be "ti,omap-usb2"
|
|
- reg : Address and length of the register set for the device.
|
|
|
|
Optional properties:
|
|
- ctrl-module : phandle of the control module used by PHY driver to power on
|
|
the PHY.
|
|
|
|
This is usually a subnode of ocp2scp to which it is connected.
|
|
|
|
usb2phy@4a0ad080 {
|
|
compatible = "ti,omap-usb2";
|
|
reg = <0x4a0ad080 0x58>;
|
|
ctrl-module = <&omap_control_usb>;
|
|
};
|
|
|
|
OMAP USB3 PHY
|
|
|
|
Required properties:
|
|
- compatible: Should be "ti,omap-usb3"
|
|
- reg : Address and length of the register set for the device.
|
|
- reg-names: The names of the register addresses corresponding to the registers
|
|
filled in "reg".
|
|
|
|
Optional properties:
|
|
- ctrl-module : phandle of the control module used by PHY driver to power on
|
|
the PHY.
|
|
|
|
This is usually a subnode of ocp2scp to which it is connected.
|
|
|
|
usb3phy@4a084400 {
|
|
compatible = "ti,omap-usb3";
|
|
reg = <0x4a084400 0x80>,
|
|
<0x4a084800 0x64>,
|
|
<0x4a084c00 0x40>;
|
|
reg-names = "phy_rx", "phy_tx", "pll_ctrl";
|
|
ctrl-module = <&omap_control_usb>;
|
|
};
|