Re: [PATCH] Platform real time clock driver for Dallas 1511 chip.

2007-12-05 Thread Atsushi Nemoto
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;

[PATCH] Platform real time clock driver for Dallas 1511 chip.

2007-12-04 Thread Andrew Sharp
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

Re: [PATCH] Platform real time clock driver for Dallas 1511 chip.

2007-12-04 Thread Andrew Morton
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, > +

[PATCH] Platform real time clock driver for Dallas 1511 chip.

2007-12-04 Thread Andrew Sharp
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