u-boot/drivers/usb
Nicolas Saenz Julienne 1a474559d9 xhci: translate virtual addresses into the bus's address space
So far we've been content with passing physical addresses when
configuring memory addresses into XHCI controllers, but not all
platforms have buses with transparent mappings. Specifically the
Raspberry Pi 4 might introduce an offset to memory accesses incoming
from its PCIe port.

Introduce xhci_virt_to_bus() and xhci_bus_to_virt() to cater with these
limitations, and make sure we don't break non DM users.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
[mb: fix compilation for 32 bit]
Signed-off-by: Matthias Brugger <mbrugger@suse.com>

fix from nicolas
2021-02-18 11:56:26 +01:00
..
cdns3 dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
common common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
dwc3 Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
emul dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
eth Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
gadget usb: dwc2: change compatible st,stm32mp1-hsotg to st,stm32mp15-hsotg 2021-02-10 22:23:35 +01:00
host xhci: translate virtual addresses into the bus's address space 2021-02-18 11:56:26 +01:00
mtu3 dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
musb common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
musb-new common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
phy common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig cosmetic: fix typo in drivers/usb/Kconfig 2021-01-04 09:10:17 -05:00