u-boot-brain/drivers
Jagan Teki 9c22aec410 usb: sunxi: Use proper reg_mask for clock gate, reset
Masking clock gate, reset register bits based on the
probed controller is proper only due to the assumption
that masking should start with 0 even thought the controller
has separate PHY or shared between OTG.

unfortunately these are fixed due to lack of separate
clock, reset drivers.

Say for example EHCI1 - EHCI3 in the datasheet (EHCI0 is for the OTG)
so we need to start reg_mask 0 - 2.

This patch calculated the mask, based on the register base
so that we can get the proper bits to set with respect to
probed controller.

We even do this masking by using PHY index specifier from dt,
but dev_read_addr_size is failing for 64-bit boards.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
2018-06-29 10:52:18 +02:00
..
adc adc: meson-saradc: fix regmap_init_mem call 2018-06-19 07:31:46 -04:00
ata ata: ahci_mvebu: add scsi support 2018-05-29 08:33:05 +02:00
bios_emulator SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
block block: Add SPL_BLOCK_CACHE and default n 2018-06-18 14:43:13 -04:00
bootcount SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk clk: add Amlogic meson clock driver 2018-06-19 07:31:47 -04:00
core dm: core: add functions to get memory-mapped I/O addresses 2018-06-01 15:56:02 +02:00
cpu cpu: bmips: convert to use live dt 2018-06-01 15:56:02 +02:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr SPDX: Fixup SPDX tags in a few new files 2018-05-20 09:47:45 -04:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dma SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fastboot usb: fastboot: Convert USB f_fastboot to shared fastboot 2018-05-30 11:59:21 +02:00
firmware SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fpga fpga: zynqmp: Add secure bitstream loading for ZynqMP 2018-06-01 11:37:31 +02:00
gpio Merge git://git.denx.de/u-boot-imx 2018-06-27 13:09:55 -04:00
i2c meson: use the clock driver 2018-06-19 07:31:47 -04:00
input SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
led led: bcm6328: convert to use live dt 2018-06-01 15:56:02 +02:00
mailbox SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc sandbox: swap_case: Increase number of base address regs 2018-06-19 07:31:44 -04:00
mmc mmc: zynq: Fix tuning_loop_counter type in arasan_sdhci_execute_tuning() 2018-06-15 08:54:04 +02:00
mtd Merge branch 'master' of git://git.denx.de/u-boot-spi 2018-06-28 09:04:41 -04:00
net net: sh_eth: Support reset GPIO both in mac and phy node 2018-06-19 06:15:55 +02:00
nvme SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci dm: pci: Use a 1:1 mapping for bus <-> phy addresses 2018-06-13 09:50:57 +08:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2018-06-04 08:55:00 -04:00
pinctrl pinctrl: renesas: Fix register usage in sh_pfc_{read,write} 2018-06-19 06:15:55 +02:00
power power: pmic: Let PFUZE3000 see all 256 registers 2018-06-27 09:47:46 +02:00
pwm pwm: sunxi: add support for PWM found on Allwinner A64 2018-05-15 08:18:09 +02:00
qe SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ram ram: bmips: convert to use live dt 2018-06-01 15:56:02 +02:00
remoteproc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset reset: uniphier: sync reset data with Linux 4.18-rc1 2018-06-23 01:28:08 +09:00
rtc drivers/rtc: convert mvrtc to DM 2018-06-05 20:19:09 -04:00
scsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial serial: uniphier: set clock rate without clock-frequency property 2018-06-23 01:28:15 +09:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi spi: omap3: fix set_speed and set_mode dm callbacks 2018-06-25 15:35:15 +05:30
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset regmap: clean up regmap allocation 2018-05-07 15:15:27 -04:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: cadence: Implement timer_get_boot_us 2018-06-15 08:06:31 +02:00
tpm tpm: add a Sandbox TPMv2.x driver 2018-05-25 20:13:00 -04:00
usb usb: sunxi: Use proper reg_mask for clock gate, reset 2018-06-29 10:52:18 +02:00
video dm: video: Add an EFI framebuffer driver 2018-06-17 21:16:04 +08:00
watchdog Merge branch 'master' of git://git.denx.de/u-boot-mips 2018-06-01 16:46:39 -04:00
Kconfig Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2018-06-04 08:55:00 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2018-06-04 08:55:00 -04:00