OMAP2 clock: 2430 I2CHS uses non-standard CM_IDLEST register
authorPaul Walmsley <paul@pwsan.com>
Sat, 25 Jul 2009 01:44:04 +0000 (19:44 -0600)
committerpaul <paul@twilight.(none)>
Sat, 25 Jul 2009 02:10:36 +0000 (20:10 -0600)
commit3dc2197579089c5b74c7fba666c8ccf1a449afb4
treee1f2da76834733d9a0dc0a1799a683d46ba86d0d
parent72350b29a4c0debfc27c2edbeed9b4ff3f935dd4
OMAP2 clock: 2430 I2CHS uses non-standard CM_IDLEST register

OMAP2430 I2CHS CM_IDLEST bits are in CM_IDLEST1_CORE, but the CM_*CLKEN bits
are in CM_{I,F}CLKEN2_CORE [1].  Fix by implementing a custom clkops
.find_idlest function to return the correct slave IDLEST register.

...

1. OMAP2430 Multimedia Device Package-on-Package (POP) Silicon Revision 2.1
   (Rev. V) Technical Reference Manual, tables 4-99 and 4-105.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock24xx.h