[rtc-linux] [PATCH] rtc: Add support for maxim dallas rtc max-6917

2016-10-12 Thread VENKAT PRASHANTH B U
This is a patch to add support for maxim dallas rtc max6917. Signed-off-by: Venkat Prashanth B U --- --- drivers/rtc/Kconfig | 9 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-max6917.c | 406 ++ 3 files changed, 416 insertions(+) diff

Re: [rtc-linux] [PATCH v3 0/3] add device tree support for rtc-rv8803

2016-10-12 Thread Alexandre Belloni
Hi, On 29/06/2016 at 16:39:58 +0200, Dirk Behme wrote : > From: Oleksij Rempel > > Changes v2: > - rename mc to microcrystal > - rename vdetoff to vdet-disable > > Changes v3: > - remove of_device_id patch > - use device type instead of of_device_is_compatible > > Oleksij Rempel (3): > devic

Re: [rtc-linux] [PATCH] rtc: Add support for maxim dallas rtc max-6917

2016-10-12 Thread Alexandre Belloni
Hi, Seeing this has the same register map as max6916, please use regmap to abstract the accesses and handle both with the same driver. You can have a look at rtc-ds3232.c for an example. On 12/10/2016 at 01:33:32 -0700, VENKAT PRASHANTH B U wrote : > This is a patch to add support for > maxim dal

[rtc-linux] [PATCH] rtc-cmos: don't refer to asm-generic/rtc.h

2016-10-12 Thread Christoph Hellwig
That header has been gone for a while. I've fixed up the Kconfig comment, but the one in rtc-cmos.c doesn't make any sense to me even looking at its history. Signed-off-by: Christoph Hellwig --- drivers/rtc/Kconfig| 4 ++-- drivers/rtc/rtc-cmos.c | 3 --- 2 files changed, 2 insertions(+), 5