]> git.dujemihanovic.xyz Git - u-boot.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)
commit849763b9635da45d2eaf947e79745af44b7433b0
treee617fdc9c79c66b51ae32c85b09062a9e227286d
parenteb64f598dc569cc139b309aa7778c286d9ac6f4f
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: 4de51cc25b5 ("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