From 080e0d1384a3fce16b7d5324dbfc47c136cc3573 Mon Sep 17 00:00:00 2001 From: Tetsuyuki Kobayashi Date: Wed, 20 Jun 2012 12:57:51 +0200 Subject: ARM: shmobile: kzm9g: Support Real Time Clock KZM-A9-GT board has RTC device r2025d at I2C channel 0 with slave address 0x64. This patch enables reading and writing hardware real time clock on KZM-A9-GT board. Interrupt is not yet supported. How to test this patch using user space command. Read RTC # hwclock -r Copy system clock to RTC # hwclock -w Shutdown and power off the board, and wait a while, then power on again. Check RTC still keeps correct date. Signed-off-by: Tetsuyuki Kobayashi Tested-by: Simon Horman Acked-by: Kuninori Morimoto Signed-off-by: Rafael J. Wysocki --- arch/arm/configs/kzm9g_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/configs') diff --git a/arch/arm/configs/kzm9g_defconfig b/arch/arm/configs/kzm9g_defconfig index e3ebc20ed0a..686129f3a93 100644 --- a/arch/arm/configs/kzm9g_defconfig +++ b/arch/arm/configs/kzm9g_defconfig @@ -108,6 +108,7 @@ CONFIG_MMC_SH_MMCIF=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_RS5C372=y CONFIG_DMADEVICES=y CONFIG_SH_DMAE=y CONFIG_ASYNC_TX_DMA=y -- cgit v1.2.3-70-g09d2