Implement RTC support for S3C2443/S3C2416/S3C2450

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heikosntech.de> Date: Wed, 21 Dec 2011 09:22:26 +0100

Similar to the ADC the RTC of S3C2443 and S3C2416/2450 has some slight variances when compared to the existing types. This series adds support for those SoCs. As with the ADC patches, these changes where tested on S3C2416 hardware. The S3C2443 quirks are a subset of those and are done according to the datasheet, but not tested on real hardware (as I do not own a S3C2443 device). changes since v2: remove obsolete constants in register cleanup changes since v1: address comments from Thomas Abraham, reducing number of ifdefs and duplicate code Heiko Stuebner (2): ARM: SAMSUNG: cleanup of rtc register definitions rtc-s3c: make room for more variants in devicetree block rtc-s3c: add variants for S3C2443 and S3C2416 ARM: S3C2443/S3C2416: add s3c_rtc_setname and rename rtc devices arch/arm/mach-s3c2416/s3c2416.c | 2 + arch/arm/mach-s3c2443/s3c2443.c | 2 + arch/arm/plat-samsung/include/plat/regs-rtc.h | 81 +++++++++++++------------ arch/arm/plat-samsung/include/plat/rtc-core.h | 27 ++++++++ drivers/rtc/rtc-s3c.c | 74 +++++++++++++++++++---- 5 files changed, 134 insertions(+), 52 deletions(-) create mode 100644 arch/arm/plat-samsung/include/plat/rtc-core.h -- 1.7.5.4

Patches in this set

Statistics

  • 4 individual patches
  • 141 lines added
  • 59 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...