Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Vincent Guittot and committed by
Bjorn Helgaas
045ad2c6 0472132d

+8
+8
drivers/pci/controller/dwc/pcie-designware.h
··· 121 121 122 122 #define GEN3_RELATED_OFF 0x890 123 123 #define GEN3_RELATED_OFF_GEN3_ZRXDC_NONCOMPL BIT(0) 124 + #define GEN3_RELATED_OFF_EQ_PHASE_2_3 BIT(9) 124 125 #define GEN3_RELATED_OFF_RXEQ_RGRDLESS_RXTS BIT(13) 125 126 #define GEN3_RELATED_OFF_GEN3_EQ_DISABLE BIT(16) 126 127 #define GEN3_RELATED_OFF_RATE_SHADOW_SEL_SHIFT 24 ··· 138 137 #define GEN3_EQ_FMDC_N_EVALS GENMASK(9, 5) 139 138 #define GEN3_EQ_FMDC_MAX_PRE_CURSOR_DELTA GENMASK(13, 10) 140 139 #define GEN3_EQ_FMDC_MAX_POST_CURSOR_DELTA GENMASK(17, 14) 140 + 141 + #define COHERENCY_CONTROL_1_OFF 0x8E0 142 + #define CFG_MEMTYPE_BOUNDARY_LOW_ADDR_MASK GENMASK(31, 2) 143 + #define CFG_MEMTYPE_VALUE BIT(0) 144 + 145 + #define COHERENCY_CONTROL_2_OFF 0x8E4 146 + #define COHERENCY_CONTROL_3_OFF 0x8E8 141 147 142 148 #define PCIE_PORT_MULTI_LANE_CTRL 0x8C0 143 149 #define PORT_MLTI_UPCFG_SUPPORT BIT(7)