linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2] Fix prm/cm accessor api's usage on OMAP4
@ 2010-08-10 15:02 Rajendra Nayak
  2010-08-10 15:02 ` [RFC][PATCH 1/2] OMAP4: PRCM: Add prcm_mpu_base to omap_globals Rajendra Nayak
  0 siblings, 1 reply; 10+ messages in thread
From: Rajendra Nayak @ 2010-08-10 15:02 UTC (permalink / raw)
  To: linux-omap; +Cc: khilman, paul, b-cousson, Rajendra Nayak

Hi,

This RFC patch series fixes the prm and cm accessor api usage which is
broken today on OMAP4.

OMAP's have always had PRCM split into PRM for power and reset
management and CM for clock management.
In OMAP4 the split (physically) is not very straight forward and
there are instances of clock management control registers in PRM
and vice versa.
However it still makes sense, even on OMAP4 to logically split
PRCM into PRM and CM for better understanding and to avoid adding
additonal complexity in higher level frameworks which rely on the
accessor api;s to do the low level register accesses. 

Hence this patch series makes sure that any clock management code can
use the cm_read/write* accessor apis (without knowing the physical split)
and power and reset management code can use prm_read/write*
accessor api;s.

regards,
Rajendra

Rajendra Nayak (2):
  OMAP4: PRCM: Add prcm_mpu_base to omap_globals
  OMAP4: PRCM: Fix usage of prm/cm accessor api's for OMAP4

 arch/arm/mach-omap2/cm.h                 |    4 +-
 arch/arm/mach-omap2/prcm-common.h        |   58 +++++++++++++++---------
 arch/arm/mach-omap2/prcm.c               |   73 ++++++++++++++++++++++++++++--
 arch/arm/mach-omap2/prm.h                |    4 +-
 arch/arm/plat-omap/common.c              |    1 +
 arch/arm/plat-omap/include/plat/common.h |    1 +
 6 files changed, 112 insertions(+), 29 deletions(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-18 22:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-10 15:02 [RFC][PATCH 0/2] Fix prm/cm accessor api's usage on OMAP4 Rajendra Nayak
2010-08-10 15:02 ` [RFC][PATCH 1/2] OMAP4: PRCM: Add prcm_mpu_base to omap_globals Rajendra Nayak
2010-08-10 15:02   ` [RFC][PATCH 2/2] OMAP4: PRCM: Fix usage of prm/cm accessor api's for OMAP4 Rajendra Nayak
2010-08-24 21:39     ` Kevin Hilman
2010-08-25  8:56       ` Nayak, Rajendra
2010-08-25 18:16         ` Kevin Hilman
2010-09-23 14:15     ` Nayak, Rajendra
2010-10-14 18:44     ` Paul Walmsley
2010-10-15 16:07       ` Cousson, Benoit
2010-10-18 22:52         ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).