mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
53 lines
2.0 KiB
Diff
53 lines
2.0 KiB
Diff
From 66dafdaad281e0a0eb2045ffb1f8dcf72e25989f Mon Sep 17 00:00:00 2001
|
|
From: Baruch Siach <baruch.siach@siklu.com>
|
|
Date: Mon, 7 Feb 2022 16:51:24 +0200
|
|
Subject: [PATCH 42/44] PCI: dwc: tegra: move GEN3_RELATED DBI register to
|
|
common header
|
|
|
|
These are common dwc macros that will be used for other platforms.
|
|
|
|
Reviewed-by: Rob Herring <robh@kernel.org>
|
|
Signed-off-by: Baruch Siach <baruch.siach@siklu.com>
|
|
---
|
|
drivers/pci/controller/dwc/pcie-designware.h | 6 ++++++
|
|
drivers/pci/controller/dwc/pcie-tegra194.c | 6 ------
|
|
2 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/drivers/pci/controller/dwc/pcie-designware.h b/drivers/pci/controller/dwc/pcie-designware.h
|
|
index 7d6e9b7576be..ea87809ee298 100644
|
|
--- a/drivers/pci/controller/dwc/pcie-designware.h
|
|
+++ b/drivers/pci/controller/dwc/pcie-designware.h
|
|
@@ -74,6 +74,12 @@
|
|
#define PCIE_MSI_INTR0_MASK 0x82C
|
|
#define PCIE_MSI_INTR0_STATUS 0x830
|
|
|
|
+#define GEN3_RELATED_OFF 0x890
|
|
+#define GEN3_RELATED_OFF_GEN3_ZRXDC_NONCOMPL BIT(0)
|
|
+#define GEN3_RELATED_OFF_GEN3_EQ_DISABLE BIT(16)
|
|
+#define GEN3_RELATED_OFF_RATE_SHADOW_SEL_SHIFT 24
|
|
+#define GEN3_RELATED_OFF_RATE_SHADOW_SEL_MASK GENMASK(25, 24)
|
|
+
|
|
#define PCIE_PORT_MULTI_LANE_CTRL 0x8C0
|
|
#define PORT_MLTI_UPCFG_SUPPORT BIT(7)
|
|
|
|
diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
|
|
index bdd84765e646..1381b00702fa 100644
|
|
--- a/drivers/pci/controller/dwc/pcie-tegra194.c
|
|
+++ b/drivers/pci/controller/dwc/pcie-tegra194.c
|
|
@@ -193,12 +193,6 @@
|
|
#define GEN3_EQ_CONTROL_OFF_PSET_REQ_VEC_MASK GENMASK(23, 8)
|
|
#define GEN3_EQ_CONTROL_OFF_FB_MODE_MASK GENMASK(3, 0)
|
|
|
|
-#define GEN3_RELATED_OFF 0x890
|
|
-#define GEN3_RELATED_OFF_GEN3_ZRXDC_NONCOMPL BIT(0)
|
|
-#define GEN3_RELATED_OFF_GEN3_EQ_DISABLE BIT(16)
|
|
-#define GEN3_RELATED_OFF_RATE_SHADOW_SEL_SHIFT 24
|
|
-#define GEN3_RELATED_OFF_RATE_SHADOW_SEL_MASK GENMASK(25, 24)
|
|
-
|
|
#define PORT_LOGIC_AMBA_ERROR_RESPONSE_DEFAULT 0x8D0
|
|
#define AMBA_ERROR_RESPONSE_CRS_SHIFT 3
|
|
#define AMBA_ERROR_RESPONSE_CRS_MASK GENMASK(1, 0)
|
|
--
|
|
2.37.2
|
|
|