u-boot-brain/drivers
Marek Vasut 501547cec1 usb: ehci-mx6: Fix bus enumeration for DM case
The EHCI iMX6 driver is only partly converted to DT probing and
still uses a tremendous amount of hard-coded addresses. Worse,
the driver uses hard-coded SoC-model-specific base addresses, which
are derived from values protected by SoC-specific macros, hence the
driver is also compiled for a specific SoC model. Even worse, the
driver depends on specific sequential indexing of the controllers,
from which it derives offsets in the PHY and ANATOP register sets.

However, when the driver is probed from DT, the indexing is not
correct. In fact, each controller has index 0. This patch derives
the index for DT probing case from the controller base addresses,
which is not the way this should be done, however it is the least
intrusive approach, favorable this close to release.

The necessary steps to convert this driver fully to DT probing are
described inside the patch, however this should be done in the next
release and depends on iMX clock driver patches.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Abel Vesa <abel.vesa@nxp.com>
Cc: Adam Ford <aford173@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Ludwig Zenz <lzenz@dh-electronics.com>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Vagrant Cascadian <vagrant@debian.org>
2019-07-05 14:19:40 +02:00
..
adc
ata ata: fsl_ahci: Add sata DM support for Freescale powerpc socs 2019-05-23 19:53:09 +05:30
axi
bios_emulator
block
board board: gazerbeam: Fix SC detection 2019-05-21 08:03:38 +02:00
bootcount
cache dm: cache: add the pl310 cache controller driver 2019-05-05 08:48:50 -04:00
clk - Add Ethernet support for STM32MP1 2019-06-11 17:22:22 -04:00
core dm: core: Fix dm_extended_scan_fdt() 2019-05-21 17:33:23 -06:00
cpu
crypto Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone" 2019-06-11 10:42:48 +02:00
ddr mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
demo
dfu
dma
fastboot fastboot: Check if partition really exist in getvar_has_slot() 2019-06-14 12:39:54 +02:00
firmware firmware: ti_sci: Always request response from firmware 2019-05-03 07:23:17 -04:00
fpga
gpio gpio: dwapb_gpio: fix broken dev->node 2019-05-24 00:01:08 +02:00
hwspinlock
i2c i2c: stm32f7: improve loopback in timing algorithm 2019-05-23 11:36:47 +02:00
input
led
mailbox
memory
misc imx8: fuse: fix fuse driver 2019-06-11 10:42:48 +02:00
mmc Merge tag 'mmc-6-19' of https://github.com/MrVan/u-boot 2019-06-20 09:13:27 -04:00
mtd mtd: Fix get_mtdparts() 2019-06-06 17:40:14 +02:00
net - Add Ethernet support for STM32MP1 2019-06-11 17:22:22 -04:00
nvme
pch
pci pci: Avoid assigning PCI resources that are below 0x1000 2019-06-21 10:07:11 -04:00
pcmcia
phy
pinctrl pinctrl: uniphier: Add SPI pin-mux settings 2019-06-29 22:21:26 +09:00
power regulator: bd71837: copy the bd71837 pmic driver from NXP imx u-boot 2019-06-11 10:42:48 +02:00
pwm
qe configs: Migrate CONFIG_FMAN_ENET and some related options to Kconfig 2019-05-26 14:40:50 -04:00
ram stm32mp1: ram: add tuning in DDR interactive mode 2019-05-23 11:38:11 +02:00
remoteproc
reset
rtc rtc: export rtc_month_days() 2019-05-31 23:27:12 +02:00
scsi
serial serial: mxc: Add iMX6SX compatible string 2019-06-11 10:42:48 +02:00
smem
soc
sound sound: tegra: Add a sound driver 2019-05-24 10:14:10 -07:00
spi Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-06-17 11:32:22 -04:00
spmi
sysreset
tee
thermal
timer
tpm
usb usb: ehci-mx6: Fix bus enumeration for DM case 2019-07-05 14:19:40 +02:00
video video: meson: hdmi-supply regulator should be optional 2019-06-05 10:51:46 +02:00
virtio
w1
w1-eeprom
watchdog watchdog: tangier: Convert to use WDT class 2019-06-22 22:27:13 +08:00
Kconfig
Makefile