[PATCH 1/3] PCI: j721e: Add PCIe 4x lane selection support
Matt Ranostay
mranostay at ti.com
Fri Sep 9 13:16:05 PDT 2022
Increase LANE_COUNT_MASK to two-bit field that allows selection of
4x lane PCIe which was previously limited to 2x lane support.
Cc: Kishon Vijay Abraham I <kishon at ti.com>
Signed-off-by: Matt Ranostay <mranostay at ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
---
drivers/pci/controller/cadence/pci-j721e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/controller/cadence/pci-j721e.c b/drivers/pci/controller/cadence/pci-j721e.c
index a82f845cc4b5..62c2c70256b8 100644
--- a/drivers/pci/controller/cadence/pci-j721e.c
+++ b/drivers/pci/controller/cadence/pci-j721e.c
@@ -43,7 +43,7 @@ enum link_status {
};
#define J721E_MODE_RC BIT(7)
-#define LANE_COUNT_MASK BIT(8)
+#define LANE_COUNT_MASK GENMASK(9, 8)
#define LANE_COUNT(n) ((n) << 8)
#define GENERATION_SEL_MASK GENMASK(1, 0)
--
2.37.2
More information about the linux-arm-kernel
mailing list