]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ehci-mx6: Split usb_power_config()
authorMarek Vasut <marex@denx.de>
Wed, 31 Mar 2021 21:00:23 +0000 (23:00 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 18 Apr 2021 02:29:36 +0000 (04:29 +0200)
commit80b6d3b460a05ab88d245f686c63a16e17825364
treee617fdc9c79c66b51ae32c85b09062a9e227286d
parentcddbdd8c129a69ac06dcd5bae242d3b034715e64
usb: ehci-mx6: Split usb_power_config()

Split usb_power_config() per SoC and pass in USB PHY, USBNC and ANATOP
addresses instead of ad-hoc sequence numbers. This is only applicable
on legacy systems which do not implement proper PHY support. Once PHY
support is available, parts of this can be removed altogether and moved
to the PHY driver, similar to Linux phy-mxs-usb.c .

Fixes: de8bfe098ed ("usb: ehci-mx6: Drop assignment of sequence number")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
drivers/usb/host/ehci-mx6.c