summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-samsung/s3c-timer.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM/Samsung: adapt the generic timer driver to support the S3C6410 SoCJuergen Beisert2012-07-301-4/+12
| | | | | | | | | | | The S3C64XX SoC has a real 32 bit counter, but almost the same style of registers. It's enough to change the parameters, to get the routines work on this SoC. sha: s5p timer works like s3c64xx, so use #else to cover this. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Re-work the S3C family timer driverJuergen Beisert2012-01-021-18/+60
| | | | | | | | | | | | After separation and after all S3C macros are now present, change the driver to be more generic for future additions. The timer registers in the S3C24XX family are only 16 bit wide. But these registers can be read and written in a 32 bit manner. This is important to share code with more recent CPUs which comes with 32 bit registers. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Rename register macros to reflect the MACH they are valid forJuergen Beisert2012-01-021-8/+25
| | | | | | | | | Most members of the S3Cxxxx family share similar timer units. But they are not really register compatible. To reflect this, use a separate name space for the S3C family. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Separate the clocksource for the S3C familyJuergen Beisert2012-01-021-0/+55
This patch just move the clocksource functions out of the generic.c source file to handle it on a per CPU base later on. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>