aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/phy-stm32-usbphyc.c
Commit message (Collapse)AuthorAgeFilesLines
* phy: usbphyc: increase PLL wait timeoutPatrick Delaunay2019-04-211-6/+4
| | | | | | | wait 200us to solve USB init issue on device mode (ums and stm32prog commands) Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* phy: usbphyc: move vdda1v1 and vdda1v8 in phy_initPatrick Delaunay2019-04-211-29/+31
| | | | | | | vdda1v1 and vdda1v8 are used by the PLL. Both need to be enabled before starting the PLL. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* phy: usbphyc: Binding update of vdda supplyPatrick Delaunay2019-04-211-24/+30
| | | | | | | Move supply vdda1v1 and vdda1v8 in usbphyc node and no more in port Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* phy: usbphyc: update xlate with DT bindingPatrick Delaunay2019-04-211-9/+10
| | | | | | | | | | | | | | | | | | | | | Parameter added for port 1, for example: &usbh_ehci { phys = <&usbphyc_port0>; phy-names = "usb"; vbus-supply = <&vbus_sw>; status = "okay"; }; &usbotg_hs { pinctrl-names = "default"; pinctrl-0 = <&usbotg_hs_pins_a>; phys = <&usbphyc_port1 0>; phy-names = "usb2-phy"; status = "okay"; }; Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* phy: usbphyc: remove unused variable indexPatrick Delaunay2019-04-211-2/+0
| | | | | | Remove unused field index in struct stm32_usbphyc_phy. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* SPDX: Fixup SPDX tags in a few new filesTom Rini2018-05-201-1/+1
| | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* phy: add support for STM32 usb phy controllerPatrice Chotard2018-05-181-0/+402
This patch adds phy tranceiver driver for STM32 USB PHY Controller (usbphyc) that provides dual port High-Speed phy for OTG (single port) and EHCI/OHCI host controller (two ports). One port of the phy is shared between the two USB controllers through a UTMI+ switch. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>