On Tue, 4 Dec 2007 16:46:51 -0800, Andrew Sharp <[EMAIL PROTECTED]> wrote:
> +struct rtc_plat_data {
> + struct rtc_device *rtc;
> + void __iomem *ioaddr; /* virtual base address */
> + unsigned long baseaddr; /* physical base address */
> + int size;
Add RTC support for DS1511 RTC/WDT chip.
Incorprate changes from feedback:
Remove noinline;
Remove code checking/setting jiffies since last read;
Remove enum typedef.
Signed-off-by: Andy Sharp <[EMAIL PROTECTED]>
---
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefi
On Tue, 4 Dec 2007 12:00:05 -0800
Andrew Sharp <[EMAIL PROTECTED]> wrote:
>
> Add RTC support for DS1511 RTC/WDT chip.
>
> ...
>
> +typedef enum ds1511reg {
> + DS1511_SEC = 0x0,
> + DS1511_MIN = 0x1,
> + DS1511_HOUR = 0x2,
> + DS1511_DOW = 0x3,
> + DS1511_DOM = 0x4,
> +
Add RTC support for DS1511 RTC/WDT chip.
Signed-off-by: Andy Sharp <[EMAIL PROTECTED]>
---
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-ds1511.c | 665 ++
3 files changed, 676 insertions(+), 0 deletions(-)
dif
4 matches
Mail list logo