#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/rtc.h>
#include <linux/spi/spi.h>
#include <linux/bcd.h>
#include <linux/delay.h>
#include <linux/bitops.h>
Go to the source code of this file.
|
#define | RSECCNT 0x00 /* Second Counter */ |
|
#define | RMINCNT 0x01 /* Minute Counter */ |
|
#define | RHRCNT 0x02 /* Hour Counter */ |
|
#define | RWKCNT 0x03 /* Week Counter */ |
|
#define | RDAYCNT 0x04 /* Day Counter */ |
|
#define | RMONCNT 0x05 /* Month Counter */ |
|
#define | RYRCNT 0x06 /* Year Counter */ |
|
#define | R100CNT 0x07 /* Y100 Counter */ |
|
#define | RMINAR 0x08 /* Minute Alarm */ |
|
#define | RHRAR 0x09 /* Hour Alarm */ |
|
#define | RWKAR 0x0a /* Week/Day Alarm */ |
|
#define | RTIMCNT 0x0c /* Interval Timer */ |
|
#define | REXT 0x0d /* Extension Register */ |
|
#define | RFLAG 0x0e /* RTC Flag Register */ |
|
#define | RCR 0x0f /* RTC Control Register */ |
|
#define R100CNT 0x07 /* Y100 Counter */ |
#define RCR 0x0f /* RTC Control Register */ |
#define RDAYCNT 0x04 /* Day Counter */ |
#define REXT 0x0d /* Extension Register */ |
#define RFLAG 0x0e /* RTC Flag Register */ |
#define RHRAR 0x09 /* Hour Alarm */ |
#define RHRCNT 0x02 /* Hour Counter */ |
#define RMINAR 0x08 /* Minute Alarm */ |
#define RMINCNT 0x01 /* Minute Counter */ |
#define RMONCNT 0x05 /* Month Counter */ |
#define RSECCNT 0x00 /* Second Counter */ |
#define RTIMCNT 0x0c /* Interval Timer */ |
#define RWKAR 0x0a /* Week/Day Alarm */ |
#define RWKCNT 0x03 /* Week Counter */ |
#define RYRCNT 0x06 /* Year Counter */ |
MODULE_ALIAS |
( |
"spi:rtc-r9701" |
| ) |
|
module_spi_driver |
( |
r9701_driver |
| ) |
|