public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC 0/3] OMAP3: VC: first pass at common VC init
@ 2010-01-22  1:02 Kevin Hilman
  2010-01-22  1:02 ` [PATCH/RFC 1/3] OMAP3: VC: create common init code Kevin Hilman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kevin Hilman @ 2010-01-22  1:02 UTC (permalink / raw)
  To: linux-omap, Lesly A M

In my reply to this series from Lesly:

  [PATCH v2 0/6] omap3: pm: Update TRITON power scripts and making it generic

I made this proposal:

> Second, your series is making it clear we need some common VC init.
> And this common VC init should be probably be separated from PMIC
> init/setup.  So before we go much further with this, I think it's time
> for some common VC infrastructure.
>
> So here's a proposal off the top of my head:
>
> - create new file(s): vc34xx.c, vc.h (or something like that)
> - move the common prm_setup_times init and structs there
> - move VC init from pm34xx.c (omap3_pm_init_vc, configure_vc, etc.)
>
> We'll then have all the VC init/setup in a single place.  

To help get things moving along in that direction, I created
this series to get things started.

Comments are welcome.

This series applies on to of current PM branch, and is also available
in my tree as the branch 'pm-wip/vc',

Kevin

Kevin Hilman (3):
  OMAP3: VC: create common init code
  OMAP3: VC: simply struct copy in init_vc routine
  OMAP3: VC: 3430SDP: remove prm_setup_vc, done in common VC code

 arch/arm/mach-omap2/Makefile        |    3 +-
 arch/arm/mach-omap2/board-3430sdp.c |   18 ------
 arch/arm/mach-omap2/pm.h            |   25 ---------
 arch/arm/mach-omap2/pm34xx.c        |   91 -------------------------------
 arch/arm/mach-omap2/vc.c            |  102 +++++++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/vc.h            |   47 ++++++++++++++++
 6 files changed, 151 insertions(+), 135 deletions(-)
 create mode 100644 arch/arm/mach-omap2/vc.c
 create mode 100644 arch/arm/mach-omap2/vc.h


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

end of thread, other threads:[~2010-01-25 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22  1:02 [PATCH/RFC 0/3] OMAP3: VC: first pass at common VC init Kevin Hilman
2010-01-22  1:02 ` [PATCH/RFC 1/3] OMAP3: VC: create common init code Kevin Hilman
2010-01-25 16:01   ` Cousson, Benoit
2010-01-25 19:32   ` Kevin Hilman
2010-01-22  1:02 ` [PATCH/RFC 2/3] OMAP3: VC: simply struct copy in init_vc routine Kevin Hilman
2010-01-22  1:02 ` [PATCH/RFC 3/3] OMAP3: VC: 3430SDP: remove prm_setup_vc, done in common VC code Kevin Hilman

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