arm-trusted-firmware/drivers/marvell
Marek Behún b662232d18 drivers: marvell: comphy-a3700: fix USB3 powering on when on lane 2
When USB3 is on lane 2 and indirect register access is used, the polling
at the end of the mvebu_a3700_comphy_usb3_power_on function is
incorrect.

The LOOPBACK_REG0 register should not be used at all. Instead we have to
write the LANE_STATUS1 register address (with offset
USB3PHY_LANE2_REG_BASE_OFFSET) into the indirect address register and
then we should poll indirect data register.

This fixes problems on Turris Mox, which uses lane 2 for USB3.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Change-Id: I968b0cccee5ddbe10a2b5614e52e52d87682aacd
2019-12-11 14:23:27 +00:00
..
comphy drivers: marvell: comphy-a3700: fix USB3 powering on when on lane 2 2019-12-11 14:23:27 +00:00
mc_trustzone Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
mochi Update marvell platform to not rely on undefined overflow behaviour 2019-07-11 12:10:51 +01:00
uart Console: remove deprecated finish_console_register 2019-04-03 14:55:18 +01:00
amb_adec.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ap807_clocks_init.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
cache_llc.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ccu.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
comphy.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
gwin.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
io_win.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
iob.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
mci.c Update marvell platform to not rely on undefined overflow behaviour 2019-07-11 12:10:51 +01:00
thermal.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00