Skip to content

Commit 045ad2c

Browse files
vingu-linarobjorn-helgaas
authored andcommitted
PCI: dwc: Add register and bitfield definitions
Add register and bitfield definitions: - GEN3_RELATED_OFF_EQ_PHASE_2_3 field of GEN3_RELATED_OFF - Coherency control registers Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20251121164920.2008569-3-vincent.guittot@linaro.org
1 parent 0472132 commit 045ad2c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/pci/controller/dwc/pcie-designware.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121

122122
#define GEN3_RELATED_OFF 0x890
123123
#define GEN3_RELATED_OFF_GEN3_ZRXDC_NONCOMPL BIT(0)
124+
#define GEN3_RELATED_OFF_EQ_PHASE_2_3 BIT(9)
124125
#define GEN3_RELATED_OFF_RXEQ_RGRDLESS_RXTS BIT(13)
125126
#define GEN3_RELATED_OFF_GEN3_EQ_DISABLE BIT(16)
126127
#define GEN3_RELATED_OFF_RATE_SHADOW_SEL_SHIFT 24
@@ -138,6 +139,13 @@
138139
#define GEN3_EQ_FMDC_MAX_PRE_CURSOR_DELTA GENMASK(13, 10)
139140
#define GEN3_EQ_FMDC_MAX_POST_CURSOR_DELTA GENMASK(17, 14)
140141

142+
#define COHERENCY_CONTROL_1_OFF 0x8E0
143+
#define CFG_MEMTYPE_BOUNDARY_LOW_ADDR_MASK GENMASK(31, 2)
144+
#define CFG_MEMTYPE_VALUE BIT(0)
145+
146+
#define COHERENCY_CONTROL_2_OFF 0x8E4
147+
#define COHERENCY_CONTROL_3_OFF 0x8E8
148+
141149
#define PCIE_PORT_MULTI_LANE_CTRL 0x8C0
142150
#define PORT_MLTI_UPCFG_SUPPORT BIT(7)
143151

0 commit comments

Comments
 (0)