LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] mfd: imx6sx: add MQS register definition for iomuxc gpr
@ 2019-04-28  9:52 S.j. Wang
  2019-04-29  2:14 ` Aisheng Dong
  2019-05-08 10:52 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: S.j. Wang @ 2019-04-28  9:52 UTC (permalink / raw)
  To: lee.jones, shawnguo, s.hauer, kernel, festevam, dl-linux-imx,
	andrew.smirnov, Leonard Crestez, Anson Huang, l.stach,
	linux-arm-kernel
  Cc: linux-kernel

Add macros to define masks and bits for imx6sx MQS registers

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
 include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
index c1b25f5e386d..f232c8130d00 100644
--- a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
+++ b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
@@ -410,6 +410,15 @@
 #define IMX6SX_GPR1_FEC_CLOCK_PAD_DIR_MASK		(0x3 << 17)
 #define IMX6SX_GPR1_FEC_CLOCK_MUX_SEL_EXT		(0x3 << 13)
 
+#define IMX6SX_GPR2_MQS_OVERSAMPLE_MASK			(0x1 << 26)
+#define IMX6SX_GPR2_MQS_OVERSAMPLE_SHIFT		(26)
+#define IMX6SX_GPR2_MQS_EN_MASK				(0x1 << 25)
+#define IMX6SX_GPR2_MQS_EN_SHIFT			(25)
+#define IMX6SX_GPR2_MQS_SW_RST_MASK			(0x1 << 24)
+#define IMX6SX_GPR2_MQS_SW_RST_SHIFT			(24)
+#define IMX6SX_GPR2_MQS_CLK_DIV_MASK			(0xFF << 16)
+#define IMX6SX_GPR2_MQS_CLK_DIV_SHIFT			(16)
+
 #define IMX6SX_GPR4_FEC_ENET1_STOP_REQ			(0x1 << 3)
 #define IMX6SX_GPR4_FEC_ENET2_STOP_REQ			(0x1 << 4)
 
-- 
1.9.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] mfd: imx6sx: add MQS register definition for iomuxc gpr
  2019-04-28  9:52 [PATCH] mfd: imx6sx: add MQS register definition for iomuxc gpr S.j. Wang
@ 2019-04-29  2:14 ` Aisheng Dong
  2019-05-08 10:52 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Aisheng Dong @ 2019-04-29  2:14 UTC (permalink / raw)
  To: S.j. Wang, lee.jones, shawnguo, s.hauer, kernel, festevam,
	dl-linux-imx, andrew.smirnov, Leonard Crestez, Anson Huang,
	l.stach, linux-arm-kernel
  Cc: linux-kernel

> From: S.j. Wang
> Sent: Sunday, April 28, 2019 5:53 PM
> 
> Add macros to define masks and bits for imx6sx MQS registers
> 
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.cm>

Regards
Dong Aisheng

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mfd: imx6sx: add MQS register definition for iomuxc gpr
  2019-04-28  9:52 [PATCH] mfd: imx6sx: add MQS register definition for iomuxc gpr S.j. Wang
  2019-04-29  2:14 ` Aisheng Dong
@ 2019-05-08 10:52 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2019-05-08 10:52 UTC (permalink / raw)
  To: S.j. Wang
  Cc: shawnguo, s.hauer, kernel, festevam, dl-linux-imx,
	andrew.smirnov, Leonard Crestez, Anson Huang, l.stach,
	linux-arm-kernel, linux-kernel

On Sun, 28 Apr 2019, S.j. Wang wrote:

> Add macros to define masks and bits for imx6sx MQS registers
> 
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
> ---
>  include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 9 +++++++++
>  1 file changed, 9 insertions(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-08 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-28  9:52 [PATCH] mfd: imx6sx: add MQS register definition for iomuxc gpr S.j. Wang
2019-04-29  2:14 ` Aisheng Dong
2019-05-08 10:52 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).