Am 05.04.19 um 13:44 schrieb Stefan Roese: > This driver is derived from this Linux driver: > linux/drivers/phy/ralink/phy-ralink-usb.c > > The driver sets up power and host mode, but also needs to configure PHY > registers for the MT7628 and MT7688. > > I removed the reset controller handling for the USB host and device, as > it does not seem to be necessary right now. The soft reset bits for both > devices are enabled by default and testing has shown (with hackish > reset handling added), that USB related commands work identical with > or without the reset handling. > > Please note that the resulting USB support is tested only very minimal. > I was able to detect one of my 3 currently available USB sticks. > Perhaps some further work is needed to fully support the EHCI controller > integrated in the MT76x8 SoC. > > Signed-off-by: Stefan Roese <[email protected]> > Cc: Marek Vasut <[email protected]> > Cc: Daniel Schwierzeck <[email protected]> > --- > drivers/phy/Kconfig | 8 ++ > drivers/phy/Makefile | 1 + > drivers/phy/mt76x8-usb-phy.c | 161 +++++++++++++++++++++++++++++++++++ > 3 files changed, 170 insertions(+) > create mode 100644 drivers/phy/mt76x8-usb-phy.c >
Reviewed-by: Daniel Schwierzeck <[email protected]> -- - Daniel _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

