usb: musb: jz4740: obtain USB PHY from devicetree
authorPaul Cercueil <paul@crapouillou.net>
Tue, 30 Apr 2019 14:59:40 +0000 (09:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Apr 2019 15:55:08 +0000 (17:55 +0200)
commitafbdbd37600b127b37ad88223ed7255fdc9fee92
tree37cc9035d05e49021c9d6783ae0365f41e4dce52
parent82257c73aafe4bc72c8e21f0da00947855aeabec
usb: musb: jz4740: obtain USB PHY from devicetree

Fall back to devm_usb_get_phy() if devicetree is not available.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/jz4740.c