summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/helper.c
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2023-07-21 04:39:17 +0000
committerTom Rini <trini@konsulko.com>2023-08-03 09:40:50 -0400
commit7a041fea2dad412f75168b27167d30eb27b07322 (patch)
treecf6f6aa2444c6da3529ffa19d211af52e2a58b1b /drivers/ddr/imx/phy/helper.c
parent269b4a3550fa94503c14d09466f62bb19ea6768b (diff)
board: traverse: ten64: ensure retimer reset is done on new board revisions
Board revision C (production) and later require the SFP+ retimer to be turned on (or reset) on boot, by way of issuing a command to the board's microcontroller (via I2C). The comparison statement here was incorrect, as the board ID decrements every revision (from 0xFF downwards), so this was matching board RevA,B,C instead of Rev >= C. Another oops that transpired when working on this issue, is that if the board controller is not called (such as CONFIG_TEN64_CONTROLLER=n or earlier board rev), then the retimer udevice was not obtained. So the board version check has to be moved inside board_cycle_retimer (which probes/fetches the retimer device) as well. Signed-off-by: Mathew McBride <matt@traverse.com.au>
Diffstat (limited to 'drivers/ddr/imx/phy/helper.c')
0 files changed, 0 insertions, 0 deletions