All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 1/3] mx6: imx-regs: Provide a structure for GPC registers
@ 2014-08-25 17:26 Fabio Estevam
  2014-08-25 17:26 ` [U-Boot] [PATCH v3 2/3] pcie_imx: Add mx6solox support Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Fabio Estevam @ 2014-08-25 17:26 UTC (permalink / raw)
  To: u-boot

Introduce a structure for accessing the General Power Controller block (GPC)
registers.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v2:
- None
Changes since v1:
- None

 arch/arm/include/asm/arch-mx6/imx-regs.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h
index 2631beb..22614fc 100644
--- a/arch/arm/include/asm/arch-mx6/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
@@ -419,6 +419,19 @@ struct iomuxc {
 	u32 gpr[14];
 };
 
+struct gpc {
+	u32	cntr;
+	u32	pgr;
+	u32	imr1;
+	u32	imr2;
+	u32	imr3;
+	u32	imr4;
+	u32	isr1;
+	u32	isr2;
+	u32	isr3;
+	u32	isr4;
+};
+
 #define IOMUXC_GPR2_COUNTER_RESET_VAL_OFFSET		20
 #define IOMUXC_GPR2_COUNTER_RESET_VAL_MASK		(3<<IOMUXC_GPR2_COUNTER_RESET_VAL_OFFSET)
 #define IOMUXC_GPR2_LVDS_CLK_SHIFT_OFFSET		16
-- 
1.9.1

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

end of thread, other threads:[~2014-09-09 15:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-25 17:26 [U-Boot] [PATCH v3 1/3] mx6: imx-regs: Provide a structure for GPC registers Fabio Estevam
2014-08-25 17:26 ` [U-Boot] [PATCH v3 2/3] pcie_imx: Add mx6solox support Fabio Estevam
2014-08-25 19:50   ` Marek Vasut
2014-09-09 15:26   ` Stefano Babic
2014-08-25 17:26 ` [U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support Fabio Estevam
2014-08-25 19:50   ` Marek Vasut
2014-08-25 20:11     ` Fabio Estevam
2014-08-25 20:24       ` Otavio Salvador
2014-08-25 20:28         ` Marek Vasut
2014-08-25 20:31           ` Otavio Salvador
2014-08-25 20:47             ` Marek Vasut
2014-08-29 20:19       ` Fabio Estevam
2014-08-29 22:29         ` Marek Vasut
2014-08-29 22:54           ` Fabio Estevam
2014-08-30 12:31             ` Marek Vasut
2014-09-09 15:26   ` Stefano Babic
2014-09-09 15:26 ` [U-Boot] [PATCH v3 1/3] mx6: imx-regs: Provide a structure for GPC registers Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.