+ rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767.patch added to -mm tree
Subsystems (3)
Subject: + rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 30 Oct 2013 15:38:23 -0700
The patch titled
Subject: rtc: s5m-rtc: add real-time clock driver for s5m8767
has been added to the -mm tree. Its filename is
rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Sangbeom Kim <[email protected]>
Subject: rtc: s5m-rtc: add real-time clock driver for s5m8767
Add real-time clock driver for s5m8767.
---
drivers/rtc/Kconfig | 10 drivers/rtc/Makefile | 1 drivers/rtc/rtc-s5m.c | 635 +++++++++++++++++++++++++++++ include/linux/mfd/samsung/core.h | 1 include/linux/mfd/samsung/rtc.h | 11 5 files changed, 658 insertions(+)
drivers/rtc/Kconfig renamed from drivers/rtc/Kconfig~rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767 +10 -0
@@ -497,6 +497,16 @@ config RTC_DRV_RV3029C2 This driver can also be built as a module. If so, the module will be called rtc-rv3029c2. +config RTC_DRV_S5M + tristate "Samsung S5M series" + depends on MFD_SEC_CORE + help + If you say yes here you will get support for the + RTC of Samsung S5M PMIC series. + + This driver can also be built as a module. If so, the module + will be called rtc-s5m. + endif # I2C comment "SPI RTC drivers"
drivers/rtc/Makefile renamed from drivers/rtc/Makefile~rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767 +1 -0
@@ -107,6 +107,7 @@ obj-$(CONFIG_RTC_DRV_RX8025) += rtc-rx80 obj-$(CONFIG_RTC_DRV_RX8581) += rtc-rx8581.o obj-$(CONFIG_RTC_DRV_S35390A) += rtc-s35390a.o obj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o +obj-$(CONFIG_RTC_DRV_S5M) += rtc-s5m.o obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o obj-$(CONFIG_RTC_DRV_SNVS) += rtc-snvs.o
drivers/rtc/rtc-s5m.c new file +635 -0
635 lines not on this page · raw message
include/linux/mfd/samsung/core.h renamed from include/linux/mfd/samsung/core.h~rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767 +1 -0
@@ -51,6 +51,7 @@ struct sec_pmic_dev {int ono;int type;bool wakeup; +bool wtsr_smpl; };int sec_irq_init (struct sec_pmic_dev *sec_pmic);
include/linux/mfd/samsung/rtc.h renamed from include/linux/mfd/samsung/rtc.h~rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767 +11 -0
@@ -62,6 +62,11 @@ enum sec_rtc_reg {/* RTC Update Register1 */ #define RTC_UDR_SHIFT 0#define RTC_UDR_MASK (1 << RTC_UDR_SHIFT) +#define RTC_TCON_SHIFT 1 +#define RTC_TCON_MASK (1 << RTC_TCON_SHIFT) +#define RTC_TIME_EN_SHIFT 3 +#define RTC_TIME_EN_MASK (1 << RTC_TIME_EN_SHIFT) +/* RTC Hour register */ #define HOUR_PM_SHIFT 6#define HOUR_PM_MASK (1 << HOUR_PM_SHIFT)
@@ -69,6 +74,12 @@ enum sec_rtc_reg {#define ALARM_ENABLE_SHIFT 7#define ALARM_ENABLE_MASK (1 << ALARM_ENABLE_SHIFT) +#define SMPL_ENABLE_SHIFT 7 +#define SMPL_ENABLE_MASK (1 << SMPL_ENABLE_SHIFT) + +#define WTSR_ENABLE_SHIFT 6 +#define WTSR_ENABLE_MASK (1 << WTSR_ENABLE_SHIFT) +enum {RTC_SEC =0 ,RTC_MIN ,
_
Patches currently in -mm which might be from [email protected] are
rtc-s5m-rtc-add-real-time-clock-driver-for-s5m8767.patch linux-next.patch