10 #include <linux/kernel.h>
11 #include <linux/module.h>
18 #define SIRFSOC_CPUIOBRG_CTRL 0x00
19 #define SIRFSOC_CPUIOBRG_WRBE 0x04
20 #define SIRFSOC_CPUIOBRG_ADDR 0x08
21 #define SIRFSOC_CPUIOBRG_DATA 0x0c
48 spin_unlock_irqrestore(&rtciobrg_lock, flags);
73 spin_unlock_irqrestore(&rtciobrg_lock, flags);
101 spin_unlock_irqrestore(&rtciobrg_lock, flags);
106 { .compatible =
"sirf,prima2-rtciobg" },
116 panic(
"unable to map rtc iobrg registers\n");
122 .probe = sirfsoc_rtciobrg_probe,
124 .name =
"sirfsoc-rtciobrg",
126 .of_match_table = rtciobrg_ids,
130 static int __init sirfsoc_rtciobrg_init(
void)