Skip to content

Commit 13d7294

Browse files
TE-N-ShengjiuWangLee Jones
authored andcommitted
mfd: imx6sx: Add MQS register definition for iomuxc gpr
Add macros to define masks and bits for imx6sx MQS registers Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent a2a0c4e commit 13d7294

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,15 @@
410410
#define IMX6SX_GPR1_FEC_CLOCK_PAD_DIR_MASK (0x3 << 17)
411411
#define IMX6SX_GPR1_FEC_CLOCK_MUX_SEL_EXT (0x3 << 13)
412412

413+
#define IMX6SX_GPR2_MQS_OVERSAMPLE_MASK (0x1 << 26)
414+
#define IMX6SX_GPR2_MQS_OVERSAMPLE_SHIFT (26)
415+
#define IMX6SX_GPR2_MQS_EN_MASK (0x1 << 25)
416+
#define IMX6SX_GPR2_MQS_EN_SHIFT (25)
417+
#define IMX6SX_GPR2_MQS_SW_RST_MASK (0x1 << 24)
418+
#define IMX6SX_GPR2_MQS_SW_RST_SHIFT (24)
419+
#define IMX6SX_GPR2_MQS_CLK_DIV_MASK (0xFF << 16)
420+
#define IMX6SX_GPR2_MQS_CLK_DIV_SHIFT (16)
421+
413422
#define IMX6SX_GPR4_FEC_ENET1_STOP_REQ (0x1 << 3)
414423
#define IMX6SX_GPR4_FEC_ENET2_STOP_REQ (0x1 << 4)
415424

0 commit comments

Comments
 (0)