.. | .. |
---|
318 | 318 | |
---|
319 | 319 | /* lane_reg031E */ |
---|
320 | 320 | #define LN_POLARITY_INV BIT(2) |
---|
| 321 | +#define LN_LANE_MODE BIT(1) |
---|
321 | 322 | |
---|
322 | 323 | #define LANE_REG(lane, offset) (0x400 * (lane) + (offset)) |
---|
323 | 324 | |
---|
.. | .. |
---|
1059 | 1060 | u32 invert = hdptx->lane_polarity_invert[lane]; |
---|
1060 | 1061 | |
---|
1061 | 1062 | regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c78), |
---|
1062 | | - LN_POLARITY_INV, |
---|
1063 | | - FIELD_PREP(LN_POLARITY_INV, invert)); |
---|
| 1063 | + LN_POLARITY_INV | LN_LANE_MODE, |
---|
| 1064 | + FIELD_PREP(LN_POLARITY_INV, invert) | |
---|
| 1065 | + FIELD_PREP(LN_LANE_MODE, 1)); |
---|
1064 | 1066 | } |
---|
1065 | 1067 | |
---|
1066 | 1068 | if (mode == PHY_MODE_DP) { |
---|