Skip to contentSkip to conversation

RTC:driver for Cortina's SOC

PATCH Superseded Hans Ulli Kroll 1 participant 2 messages May 13, 2015 Real time clock (RTC)

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 RTC:driver for Cortina's SOC

this is the fourth round of including the RTC driver for Gemini SoC.

changes from v1

v2:
- usage of readl/write
- spaces around *
- line wrapping at open parenthesis.
- add MAINTANERS for driver
v3:
- spaces around * (again)
- line wrapping at open parenthesis (again)
- add depends on ARCH_GEMINI found by Paul
v4:
- COMPILE_TEST requested by Arnd
- some typos found by Joe
- add HAS_IOMEM found by Geert

Ulli

From: Hans Ulli Kroll <[email protected]>
Subject: [PATCHv4] RTC:driver for Cortina's SOC
In-Reply-To:

#1 lore raw

PATCH v4 1/1 RTC:driver for Cortina's SOC

Driver for the on chip RTC found on Cortina's SoC Gemini.

---
 MAINTAINERS              |   3 +-
 drivers/rtc/Kconfig      |  11 +++
 drivers/rtc/Makefile     |   1 +
 drivers/rtc/rtc-gemini.c | 191 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 205 insertions(+), 1 deletion(-)
 create mode 100644 drivers/rtc/rtc-gemini.c
MAINTAINERS +2 -1
index 1622775..2e91f68 100644
@@ -975,9 +975,10 @@ S:	Maintained
 ARM/CORTINA SYSTEMS GEMINI ARM ARCHITECTURE
 M:	Hans Ulli Kroll <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
-T:	git git://git.berlios.de/gemini-board
+T:	git git://github.com/ulli-kroll/linux.git
 S:	Maintained
 F:	arch/arm/mach-gemini/
+F:	drivers/rtc/rtc-gemini.c
 
 ARM/CSR SIRFPRIMA2 MACHINE SUPPORT
 M:	Barry Song <[email protected]>
drivers/rtc/Kconfig +11 -0
index 6149ae0..392dd13 100644
@@ -1362,6 +1362,17 @@ config RTC_DRV_ARMADA38X
 	  This driver can also be built as a module. If so, the module
 	  will be called armada38x-rtc.
 
+config RTC_DRV_GEMINI
+	tristate "Gemini SoC RTC"
+	depends on ARCH_GEMINI || COMPILE_TEST
+	depends on HAS_IOMEM 
+	help
+	  If you say Y here you will get support for the
+	  RTC found on Gemini SoC's.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called rtc-gemini.
+
 config RTC_DRV_PS3
 	tristate "PS3 RTC"
 	depends on PPC_PS3
drivers/rtc/Makefile +1 -0
index c31731c..0fd6e22 100644
@@ -64,6 +64,7 @@ obj-$(CONFIG_RTC_DRV_EFI)	+= rtc-efi.o
 obj-$(CONFIG_RTC_DRV_EM3027)	+= rtc-em3027.o
 obj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93xx.o
 obj-$(CONFIG_RTC_DRV_FM3130)	+= rtc-fm3130.o
+obj-$(CONFIG_RTC_DRV_GEMINI)	+= rtc-gemini.o
 obj-$(CONFIG_RTC_DRV_GENERIC)	+= rtc-generic.o
 obj-$(CONFIG_RTC_DRV_HID_SENSOR_TIME) += rtc-hid-sensor-time.o
 obj-$(CONFIG_RTC_DRV_HYM8563)	+= rtc-hym8563.o
drivers/rtc/rtc-gemini.c new file +191 -0

191 lines not on this page · raw message

Signature · 1 line
2.4.0