mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-11 18:08:13 +07:00
ARM: S5P6440: Add RTC support for S5P6440
This patch adds support RTC driver for Samsung S5P6440. Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
9fe6206f40
commit
ff7124a38f
@ -18,7 +18,9 @@ config MACH_SMDK6440
|
|||||||
select CPU_S5P6440
|
select CPU_S5P6440
|
||||||
select SAMSUNG_DEV_TS
|
select SAMSUNG_DEV_TS
|
||||||
select SAMSUNG_DEV_ADC
|
select SAMSUNG_DEV_ADC
|
||||||
|
select S3C_DEV_RTC
|
||||||
select S3C_DEV_WDT
|
select S3C_DEV_WDT
|
||||||
|
select HAVE_S3C_RTC
|
||||||
select HAVE_S3C2410_WATCHDOG
|
select HAVE_S3C2410_WATCHDOG
|
||||||
help
|
help
|
||||||
Machine support for the Samsung SMDK6440
|
Machine support for the Samsung SMDK6440
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define S5P_PA_TIMER S5P6440_PA_TIMER
|
#define S5P_PA_TIMER S5P6440_PA_TIMER
|
||||||
|
|
||||||
#define S5P6440_PA_RTC (0xEA100000)
|
#define S5P6440_PA_RTC (0xEA100000)
|
||||||
#define S5P_PA_RTC S5P6440_PA_RTC
|
|
||||||
|
|
||||||
#define S5P6440_PA_WDT (0xEA200000)
|
#define S5P6440_PA_WDT (0xEA200000)
|
||||||
#define S5P_PA_WDT S5P6440_PA_WDT
|
#define S5P_PA_WDT S5P6440_PA_WDT
|
||||||
@ -77,6 +76,7 @@
|
|||||||
/* compatibiltiy defines. */
|
/* compatibiltiy defines. */
|
||||||
#define S3C_PA_UART S5P6440_PA_UART
|
#define S3C_PA_UART S5P6440_PA_UART
|
||||||
#define S3C_PA_IIC S5P6440_PA_IIC0
|
#define S3C_PA_IIC S5P6440_PA_IIC0
|
||||||
|
#define S3C_PA_RTC S5P6440_PA_RTC
|
||||||
#define S3C_PA_WDT S5P6440_PA_WDT
|
#define S3C_PA_WDT S5P6440_PA_WDT
|
||||||
|
|
||||||
#define SAMSUNG_PA_ADC S5P6440_PA_ADC
|
#define SAMSUNG_PA_ADC S5P6440_PA_ADC
|
||||||
|
@ -88,6 +88,7 @@ static struct s3c2410_uartcfg smdk6440_uartcfgs[] __initdata = {
|
|||||||
static struct platform_device *smdk6440_devices[] __initdata = {
|
static struct platform_device *smdk6440_devices[] __initdata = {
|
||||||
&s5p6440_device_iis,
|
&s5p6440_device_iis,
|
||||||
&s3c_device_adc,
|
&s3c_device_adc,
|
||||||
|
&s3c_device_rtc,
|
||||||
&s3c_device_ts,
|
&s3c_device_ts,
|
||||||
&s3c_device_wdt,
|
&s3c_device_wdt,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user