#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/rtc.h>
#include <linux/bcd.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/module.h>
Go to the source code of this file.
#define RTC_ALARM_DATE_REG_OFFS 0xc |
#define RTC_ALARM_INTERRUPT_CASUE_REG_OFFS 0x14 |
#define RTC_ALARM_INTERRUPT_MASK_REG_OFFS 0x10 |
#define RTC_ALARM_TIME_REG_OFFS 8 |
#define RTC_ALARM_VALID (1 << 7) |
#define RTC_DATE_REG_OFFS 4 |
#define RTC_HOURS_12H_MODE (1 << 22) /* 12 hours mode */ |
#define RTC_HOURS_OFFS 16 |
#define RTC_MINUTES_OFFS 8 |
#define RTC_SECONDS_OFFS 0 |
#define RTC_TIME_REG_OFFS 0 |
MODULE_ALIAS |
( |
"platform:rtc-mv" |
| ) |
|