Commit 8e65baf
phy: sparx5-serdes: add constants to match data
We need to handle a few different constants that differ for Sparx5 and
lan969x. Add a new struct: sparx5_serdes_consts for this purpose. We
populate it with an initial field for the number of SERDES'es: sd_max.
Signed-off-by: Daniel Machon <[email protected]>
Reviewed-by: Steen Hegelund <[email protected]>
Link: https://lore.kernel.org/r/20240909-sparx5-lan969x-serdes-driver-v2-2-d695bcb57b84@microchip.com
Signed-off-by: Vinod Koul <[email protected]>1 parent d41bb5e commit 8e65baf
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2510 | 2510 | | |
2511 | 2511 | | |
2512 | 2512 | | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
2513 | 2516 | | |
2514 | 2517 | | |
2515 | 2518 | | |
| |||
2526 | 2529 | | |
2527 | 2530 | | |
2528 | 2531 | | |
2529 | | - | |
| 2532 | + | |
2530 | 2533 | | |
2531 | 2534 | | |
2532 | 2535 | | |
| |||
2594 | 2597 | | |
2595 | 2598 | | |
2596 | 2599 | | |
2597 | | - | |
| 2600 | + | |
2598 | 2601 | | |
2599 | 2602 | | |
2600 | 2603 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
0 commit comments