]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: s5m: add support for S2MPS14 RTC
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Sat, 17 May 2014 13:19:21 +0000 (23:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 20 May 2014 08:14:08 +0000 (18:14 +1000)
commitb1d1455cd58d234f6fcff3a335fab53e9f04744f
treef3365bbde457eb57afb9f75f66d1fe8801e55702
parentbb1d885803b40bebea31a29a60ef22bc2e335273
rtc: s5m: add support for S2MPS14 RTC

Add support for S2MPS14 to the rtc-s5m driver. Differences in S2MPS14
(in comparison to S5M8767):

 - Layout of registers;
 - Lack of century support for time and alarms (7 registers used for
   storing time/alarm);
 - Two buffer control registers: WUDR and RUDR;
 - No register for enabling writing time;
 - RTC interrupts are reported in main PMIC I2C device;

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/rtc-s5m.c