]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ehci-mx6: Pass PHY address to usb_*_phy*()
authorMarek Vasut <marex@denx.de>
Wed, 31 Mar 2021 20:10:35 +0000 (22:10 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 18 Apr 2021 02:29:36 +0000 (04:29 +0200)
commitcddbdd8c129a69ac06dcd5bae242d3b034715e64
treea3267c09383f5db0fbb4d2059a6e1f396daf9188
parent7bd8134e421379ef6155e3715609de50959bd9c2
usb: ehci-mx6: Pass PHY address to usb_*_phy*()

Instead of passing ad-hoc index to USB PHY handling functions and then
try and figure out the PHY address, pass in the PHY address itself. For
DM case, this address comes easily from DT. For non-DM case, the previous
method is still present, however the non-DM case will soon be removed.

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