Skip to content

Commit 2609e4d

Browse files
ch-fLee Jones
authored andcommitted
mfd: imx6sx: Add PCIe register definitions for iomuxc gpr
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@googlemail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent dcdf117 commit 2609e4d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/linux/mfd/syscon/imx6q-iomuxc-gpr.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@
422422
#define IMX6SX_GPR5_VADC_TO_CSI_CAPTURE_EN_MASK (0x1 << 26)
423423
#define IMX6SX_GPR5_VADC_TO_CSI_CAPTURE_EN_ENABLE (0x1 << 26)
424424
#define IMX6SX_GPR5_VADC_TO_CSI_CAPTURE_EN_DISABLE (0x0 << 26)
425+
#define IMX6SX_GPR5_PCIE_BTNRST_RESET BIT(19)
425426
#define IMX6SX_GPR5_CSI1_MUX_CTRL_MASK (0x3 << 4)
426427
#define IMX6SX_GPR5_CSI1_MUX_CTRL_EXT_PIN (0x0 << 4)
427428
#define IMX6SX_GPR5_CSI1_MUX_CTRL_CVD (0x1 << 4)
@@ -435,6 +436,10 @@
435436
#define IMX6SX_GPR5_DISP_MUX_DCIC1_LVDS (0x1 << 1)
436437
#define IMX6SX_GPR5_DISP_MUX_DCIC1_MASK (0x1 << 1)
437438

439+
#define IMX6SX_GPR12_PCIE_TEST_POWERDOWN BIT(30)
440+
#define IMX6SX_GPR12_PCIE_RX_EQ_MASK (0x7 << 0)
441+
#define IMX6SX_GPR12_PCIE_RX_EQ_2 (0x2 << 0)
442+
438443
/* For imx6ul iomux gpr register field define */
439444
#define IMX6UL_GPR1_ENET1_CLK_DIR (0x1 << 17)
440445
#define IMX6UL_GPR1_ENET2_CLK_DIR (0x1 << 18)

0 commit comments

Comments
 (0)