Go to the documentation of this file.
27 #include <linux/module.h>
28 #include <linux/types.h>
29 #include <linux/errno.h>
30 #include <linux/kernel.h>
37 #include <mach/hardware.h>
41 #define OCPI_BASE 0xfffec320
42 #define OCPI_FAULT (OCPI_BASE + 0x00)
43 #define OCPI_CMD_FAULT (OCPI_BASE + 0x04)
44 #define OCPI_SINT0 (OCPI_BASE + 0x08)
45 #define OCPI_TABORT (OCPI_BASE + 0x0c)
46 #define OCPI_SINT1 (OCPI_BASE + 0x10)
47 #define OCPI_PROT (OCPI_BASE + 0x14)
48 #define OCPI_SEC (OCPI_BASE + 0x18)
51 #define HOSTUEADDR 0xfffba0e0
52 #define HOSTUESTATUS 0xfffba0e4
54 static struct clk *ocpi_ck;
81 static int __init omap_ocpi_init(
void)
88 return PTR_ERR(ocpi_ck);
92 pr_info(
"OMAP OCPI interconnect driver loaded\n");
97 static void __exit omap_ocpi_exit(
void)