From: Tetsuyuki Kobayashi Date: Wed, 20 Jun 2012 10:57:51 +0000 (+0200) Subject: ARM: shmobile: kzm9g: Support Real Time Clock X-Git-Tag: v3.6-rc1~63^2~1^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080e0d1384a3fce16b7d5324dbfc47c136cc3573;p=pandora-kernel.git 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 --- Reading git-diff-tree failed