ARM: imx6q: Add GPR6 and GPR7 register definitions for iomuxc gpr
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 24 Feb 2014 13:51:49 +0000 (14:51 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 5 Mar 2014 02:40:47 +0000 (10:40 +0800)
Masks for IPU AXI transaction QoS settings

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
include/linux/mfd/syscon/imx6q-iomuxc-gpr.h

index 866e355fa409135a78a374122b590035cb09a5b0..ff44374a1a4e0ea4b90418c49514f7f39a7b79e8 100644 (file)
 
 #define IMX6Q_GPR5_L2_CLK_STOP                 BIT(8)
 
+#define IMX6Q_GPR6_IPU1_ID00_WR_QOS_MASK       (0xf << 0)
+#define IMX6Q_GPR6_IPU1_ID01_WR_QOS_MASK       (0xf << 4)
+#define IMX6Q_GPR6_IPU1_ID10_WR_QOS_MASK       (0xf << 8)
+#define IMX6Q_GPR6_IPU1_ID11_WR_QOS_MASK       (0xf << 12)
+#define IMX6Q_GPR6_IPU1_ID00_RD_QOS_MASK       (0xf << 16)
+#define IMX6Q_GPR6_IPU1_ID01_RD_QOS_MASK       (0xf << 20)
+#define IMX6Q_GPR6_IPU1_ID10_RD_QOS_MASK       (0xf << 24)
+#define IMX6Q_GPR6_IPU1_ID11_RD_QOS_MASK       (0xf << 28)
+
+#define IMX6Q_GPR7_IPU2_ID00_WR_QOS_MASK       (0xf << 0)
+#define IMX6Q_GPR7_IPU2_ID01_WR_QOS_MASK       (0xf << 4)
+#define IMX6Q_GPR7_IPU2_ID10_WR_QOS_MASK       (0xf << 8)
+#define IMX6Q_GPR7_IPU2_ID11_WR_QOS_MASK       (0xf << 12)
+#define IMX6Q_GPR7_IPU2_ID00_RD_QOS_MASK       (0xf << 16)
+#define IMX6Q_GPR7_IPU2_ID01_RD_QOS_MASK       (0xf << 20)
+#define IMX6Q_GPR7_IPU2_ID10_RD_QOS_MASK       (0xf << 24)
+#define IMX6Q_GPR7_IPU2_ID11_RD_QOS_MASK       (0xf << 28)
+
 #define IMX6Q_GPR8_TX_SWING_LOW                        (0x7f << 25)
 #define IMX6Q_GPR8_TX_SWING_FULL               (0x7f << 18)
 #define IMX6Q_GPR8_TX_DEEMPH_GEN2_6DB          (0x3f << 12)