
On 18/08/2019 15:42, Beniamino Galvani wrote:
Hi,
these two patches enable the USB host controller on Odroid-C2. The first patch adds a PHY driver; the second one enables the necessary configuration options and updates the device tree.
Note that the DWC2 driver currently does not support enabling PHYs from the device tree and so the following series (still on review) is needed as runtime requirement for the second patch:
[PATCH 0/5] usb: host: dwc2: use driver model for PHY and CLOCK
Pushed to my u-boot-amlogic-next test tree until this dependency is applied.
Thanks, Neil
Thanks, Beniamino
Beniamino Galvani (2): phy: meson: add GXBB PHY driver odroid-c2: enable USB host controller
arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi | 8 + configs/odroid-c2_defconfig | 7 + drivers/phy/Kconfig | 8 + drivers/phy/Makefile | 1 + drivers/phy/meson-gxbb-usb2.c | 235 +++++++++++++++++++ include/configs/meson64.h | 5 + 6 files changed, 264 insertions(+) create mode 100644 drivers/phy/meson-gxbb-usb2.c