>From 54dad3ebbce5aba4d749a14d8173e94297e14b1a Mon Sep 17 00:00:00 2001
From: Raghavendra Ganiga
Date: Sun, 13 Apr 2014 20:02:59 +0530
Subject: [PATCH] rtc: add support for maxim dallas rtc ds1343 and ds1344
This is patch to add support for
maxim dallas rtc ds1343 and ds1344
Signed-off
This is a patch to add support for
maxim dallas rtc ds1343 and ds1344
Signed-off-by: Raghavendra Chandra Ganiga
---
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-ds1343.c | 594 ++
3 files changed, 605 insertion
This is a patch to add support for
maxim dallas rtc ds1343 and ds1344
Signed-off-by: Raghavendra Chandra Ganiga
---
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-ds1343.c | 679 ++
3 files changed, 690 insertion
On Wed, 30 Apr 2014 21:55:07 +0530
Raghavendra Ganiga wrote:
> +
> +static int ds1343_proc(struct device *dev, struct seq_file *seq)
> +{
> + struct ds1343_priv *priv = dev_get_drvdata(dev);
> + unsigned int data;
> + unsigned char alarm_mode = 0;
> + const char *alarm_str, *diode
On Wed, 7 May 2014 00:33:56 +0530 Raghavendra Ganiga
wrote:
> This is a patch to add support for
> maxim dallas rtc ds1343 and ds1344
>
> ...
>
> +static int ds1343_ioctl(struct device *dev, unsigned int cmd, unsigned long
> arg)
> +{
> + switch (cmd) {
> +#ifdef RTC_SET_CHARGE
> + ca
On Wed, 7 May 2014 14:42:48 -0700
Andrew Morton wrote:
> On Wed, 7 May 2014 00:33:56 +0530 Raghavendra Ganiga
> wrote:
>
> > This is a patch to add support for
> > maxim dallas rtc ds1343 and ds1344
> >
> > ...
> >
> > +static int ds1343_ioctl(struct device *dev, unsigned int cmd, unsigned
On Wed, 7 May 2014 23:15:29 +0100 Alan Cox wrote:
> On Wed, 7 May 2014 14:42:48 -0700
> Andrew Morton wrote:
>
> > On Wed, 7 May 2014 00:33:56 +0530 Raghavendra Ganiga
> > wrote:
> >
> > > This is a patch to add support for
> > > maxim dallas rtc ds1343 and ds1344
> > >
> > > ...
> > >
> >
On Sun, Apr 13, 2014 at 08:12:57PM +0530, RAGHAVENDRA GANIGA wrote:
> +static const struct spi_device_id ds1343_id[] = {
> + { "ds1343", 0 },
> + { "ds1344", 1 },
> + { }
> +};
> +MODULE_DEVICE_TABLE(spi, ds1343_id);
If the 0 and 1 mean anything there they should have #defines, otherw
8 matches
Mail list logo