public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* RFD: OMAP PRCM register access holding up PM branch submissions
@ 2009-03-12 15:25 Kevin Hilman
  2009-03-12 16:28 ` Russell King - ARM Linux
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Hilman @ 2009-03-12 15:25 UTC (permalink / raw)
  To: Russell King, Paul Walmsley; +Cc: linux-omap, linux-arm-kernel

Russell, Paul,

As we discussed a bit in the OMAP clocks thread, there is not yet a
decision on the best way to access the PRCM registers.  I'd like to
get some discussion going so I can begin submissions of the rest of
the OMAP PM core code.

We currently have two methods for PRCM register access

1) direct access using __raw_[read|write] and OMAP_PRM_REGADDR() #defines

2) "MOD + offset" access using prm_[read|write|rmw]_*

The current code (in Russell's omap-clks3) branch is kind of a hybrid
with lots of usages of both methods, and Paul's patch (A 09) which
converted everything to (2) has been rejected.  However, I'm still not
entirely clear whether the objection was because you're opposed to the
'MOD + offset' approach in general, or just the way it was done in
this patch.

So, what is the path forward?  If you are not opposed to moving to the
'MOD + offset' approach in principle, I propose we just make a new
attempt at converting to it.  If you're opposed to it all together, we
need to start some discussion.  Russell, you seem to have suggested
you had some ideas[1].  Would you mind posting your ideas for
discussion, not necessarily patches, but just rough ideas to start
discussions.

Until we get some decision on this, it is impossible to move forward
with submissions of the rest of the OMAP PM code.

Thanks,

Kevin

[1] http://marc.info/?l=linux-omap&m=123609877205834&w=2

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

end of thread, other threads:[~2009-03-12 17:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12 15:25 RFD: OMAP PRCM register access holding up PM branch submissions Kevin Hilman
2009-03-12 16:28 ` Russell King - ARM Linux
2009-03-12 16:54   ` Kevin Hilman
2009-03-12 17:01     ` Russell King - ARM Linux
2009-03-12 17:26       ` Tony Lindgren
2009-03-12 17:55         ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox