diff options
author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2017-11-27 18:10:54 -0600 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-11-28 15:00:51 -0600 |
commit | 878c718aed200cc2b6b7c6bca3a6e2fa2351ec95 (patch) | |
tree | 66e187a508243a12f15f3cc27a2cbc22dd5c0fb0 /external | |
parent | 4e04c833a1d460d706d9c4fec16a951d75a52efb (diff) | |
download | skiboot-878c718aed200cc2b6b7c6bca3a6e2fa2351ec95.zip skiboot-878c718aed200cc2b6b7c6bca3a6e2fa2351ec95.tar.gz skiboot-878c718aed200cc2b6b7c6bca3a6e2fa2351ec95.tar.bz2 |
npu2: hw-procedures: Change phy_rx_clock_sel values
The clock selection bits we set here are inputs to a state machine.
DL clock select (bits 30-31)
0b00: lane 0 clock
0b01: lane 7 clock
0b10: grid clock
0b11: invalid/noop
To recover from a potential glitch, we need to ensure that the value we
set forces a state change. Our current sequence is to set 0x3 followed
by 0x1. With the above now known, that is actually a noop followed by
selection of lane 7. Depending on lane reversal, that selection is not a
state change for some bricks.
The way to force a state change in all cases is to switch to the grid
clock, and then back to a lane.
Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com>
Acked-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions