Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 080e0d13 authored by Tetsuyuki Kobayashi's avatar Tetsuyuki Kobayashi Committed by Rafael J. Wysocki
Browse files

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: default avatarTetsuyuki Kobayashi <koba@kmckk.co.jp>
Tested-by: default avatarSimon Horman <horms@verge.net.au>
Acked-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent accb90c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment