aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-orion
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-04-10 13:20:10 -0600
committerPaul Walmsley <paul@pwsan.com>2016-04-10 13:20:10 -0600
commit461932dfb54ebaf7da438fd8b769a01ce97a9360 (patch)
treec65f1aa859110c70b8c0e1d46f3b453e8f483be9 /arch/arm/plat-orion
parentb05ff3c394bc5dbb1bc88073759f01c0ebdf5de1 (diff)
ARM: OMAP2+: hwmod: RTC: Add lock and unlock functions
RTC IP have kicker feature which prevents spurious writes to its registers. In order to write into any of the RTC registers, KICK values has to be written to KICK registers. Also, RTC busy flag needs to be polled for non-TC registers as well, without which update is not proper and confirmed it by testing on DRA7-evm. Introduce omap_hwmod_rtc_unlock/lock functions, which writes into these KICK registers inorder to lock and unlock RTC registers. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> [paul@pwsan.com: fixed subject line] Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-orion')
0 files changed, 0 insertions, 0 deletions