This patch adds macros to define masks and bits for imx6sx PCIe registers. This is based on a patch by Richard Zhu. Signed-off-by: Christoph Fritz <chf.fritz@xxxxxxxxxxxxxx> --- include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h index 558a485..93d859b 100644 --- a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h +++ b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h @@ -422,6 +422,12 @@ #define IMX6SX_GPR5_VADC_TO_CSI_CAPTURE_EN_MASK (0x1 << 26) #define IMX6SX_GPR5_VADC_TO_CSI_CAPTURE_EN_ENABLE (0x1 << 26) #define IMX6SX_GPR5_VADC_TO_CSI_CAPTURE_EN_DISABLE (0x0 << 26) +#define IMX6SX_GPR5_PCIE_BTNRST_MASK (0x1 << 19) +#define IMX6SX_GPR5_PCIE_BTNRST_RESET (0x1 << 19) +#define IMX6SX_GPR5_PCIE_BTNRST_RELEASE (0x0 << 19) +#define IMX6SX_GPR5_PCIE_PERST_MASK (0x1 << 18) +#define IMX6SX_GPR5_PCIE_PERST_RESET (0x1 << 18) +#define IMX6SX_GPR5_PCIE_PERST_RELEASE (0x0 << 18) #define IMX6SX_GPR5_CSI1_MUX_CTRL_MASK (0x3 << 4) #define IMX6SX_GPR5_CSI1_MUX_CTRL_EXT_PIN (0x0 << 4) #define IMX6SX_GPR5_CSI1_MUX_CTRL_CVD (0x1 << 4) @@ -435,6 +441,15 @@ #define IMX6SX_GPR5_DISP_MUX_DCIC1_LVDS (0x1 << 1) #define IMX6SX_GPR5_DISP_MUX_DCIC1_MASK (0x1 << 1) +#define IMX6SX_GPR12_PCIE_TEST_POWERDOWN_MASK (0x1 << 30) +#define IMX6SX_GPR12_PCIE_TEST_POWERDOWN_ENABLE (0x1 << 30) +#define IMX6SX_GPR12_PCIE_TEST_POWERDOWN_DISABLE (0x0 << 30) +#define IMX6SX_GPR12_PCIE_PM_TURNOFF_MASK (0x1 << 16) +#define IMX6SX_GPR12_PCIE_PM_TURNOFF_OFF (0x1 << 16) +#define IMX6SX_GPR12_PCIE_PM_TURNOFF_RELEASE (0x0 << 16) +#define IMX6SX_GPR12_PCIE_RX_EQ_MASK (0x7 << 0) +#define IMX6SX_GPR12_PCIE_RX_EQ_2 (0x2 << 0) + /* For imx6ul iomux gpr register field define */ #define IMX6UL_GPR1_ENET1_CLK_DIR (0x1 << 17) #define IMX6UL_GPR1_ENET2_CLK_DIR (0x1 << 18) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html