]> git.dujemihanovic.xyz Git - u-boot.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)
commiteb64f598dc569cc139b309aa7778c286d9ac6f4f
treea3267c09383f5db0fbb4d2059a6e1f396daf9188
parentef464e4c362f154465dcd315e17c6601642117d1
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: 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