[PATCH v2 22/22] phy: cadence-torrent: support 8 lanes on the sd0801 PHY
Benjamin Robin
benjamin.robin at bootlin.com
Wed Dec 2 07:09:07 PST 2026
The Cadence Torrent PHY (sd0801) supports up to 8 lanes, but the driver
capped the number of lanes at 4. Raise MAX_NUM_LANES to 8, enlarging the
links array and the per-lane register base arrays (TX/RX lane CDB and PHY
PCS lane CDB) accordingly, so the full 8-lane capability can be used.
Signed-off-by: Benjamin Robin <benjamin.robin at bootlin.com>
---
drivers/phy/cadence/phy-cadence-torrent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c
index 21ad6c30a3f2..5a3e307f6c96 100644
--- a/drivers/phy/cadence/phy-cadence-torrent.c
+++ b/drivers/phy/cadence/phy-cadence-torrent.c
@@ -22,7 +22,7 @@
#include <linux/reset.h>
#define DEFAULT_NUM_LANES 4
-#define MAX_NUM_LANES 4
+#define MAX_NUM_LANES 8
#define DEFAULT_MAX_BIT_RATE 8100 /* in Mbps */
#define POLL_TIMEOUT_US 5000
--
2.56.1
More information about the linux-arm-kernel
mailing list