usb: host: dwc2: add phy support
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 27 Apr 2020 13:29:58 +0000 (15:29 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 28 Apr 2020 11:52:52 +0000 (13:52 +0200)
commite17a4bf198510693967644c331ab621fc41ea8b5
treeb98089d2fe618d3f45c5e5a7f4398f2673840c23
parent6f7917472e6428262c52c62526cdeda40a599644
usb: host: dwc2: add phy support

Use generic phy to initialize the PHY associated to the
DWC2 device and available in the device tree.

This patch don't added dependency because when CONFIG_PHY
is not activated, the generic PHY function are stubbed.

Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/usb/host/dwc2.c