public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Powerdomains: add OMAP2/3 powerdomain code, and common OMAP type bitfield
@ 2008-04-10 14:46 Paul Walmsley
  2008-04-10 14:46 ` [PATCH 1/5] Powerdomains: add OMAP chip type global bitfield; clean up mach-omap2/id.c Paul Walmsley
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Paul Walmsley @ 2008-04-10 14:46 UTC (permalink / raw)
  To: linux-omap; +Cc: jouni.hogander, sakari.poussa, igor.stoppa, r-woodruff2, tony

Hello,

this patch series adds a hardware control and monitoring interface for 
OMAP2/3 powerdomains.  The interface is fully documented in the code.  

The series also adds a common OMAP chip type detection bitfield for use 
with powerdomain and clockdomain structures; it is planned to expand its
use to the clock framework in the future.

Powerdomain code tested on 3430SDP ES2.1; also boot-tested on N800.

Many people at Nokia and TI provided commentary and review during the
development of the powerdomain patches.  Particular help came from (in
alphabetical order): Jouni Högander, Tony Lindgren, Sakari Poussa,
Igor Stoppa, and Richard Woodruff.


Comments welcome,

- Paul


size:
  text    data     bss     dec     hex filename
3265548  151032  100736 3517316  35ab84 vmlinux.3430sdp.orig
3270062  151896  100832 3522790  35c0e6 vmlinux.3430sdp


diffstat:
 arch/arm/mach-omap2/Makefile            |    2
 arch/arm/mach-omap2/id.c                |  166 ++++--
 arch/arm/mach-omap2/io.c                |    7
 arch/arm/mach-omap2/pm.c                |    2
 arch/arm/mach-omap2/powerdomain.c       |  884 ++++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/powerdomains.h      |  180 ++++++
 arch/arm/mach-omap2/powerdomains24xx.h  |  176 ++++++
 arch/arm/mach-omap2/powerdomains34xx.h  |  296 ++++++++++
 arch/arm/mach-omap2/prcm-common.h       |    3
 arch/arm/mach-omap2/prm-regbits-24xx.h  |   12
 arch/arm/mach-omap2/prm-regbits-34xx.h  |   11
 arch/arm/mach-omap2/prm.h               |    3
 arch/arm/plat-omap/Kconfig              |   12
 include/asm-arm/arch-omap/cpu.h         |   27
 include/asm-arm/arch-omap/powerdomain.h |  137 ++++
 15 files changed, 1853 insertions(+), 65 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/5] Powerdomains: add OMAP2/3 powerdomain code and common OMAP type bitfield
@ 2008-04-19  1:23 Paul Walmsley
  2008-04-24  0:04 ` Tony Lindgren
  0 siblings, 1 reply; 14+ messages in thread
From: Paul Walmsley @ 2008-04-19  1:23 UTC (permalink / raw)
  To: linux-omap
  Cc: tony, igor.stoppa, sakari.poussa, jouni.hogander, r-woodruff2,
	paul


Hi everyone,

This is the second version of the powerdomain patches.  It:

. replaces omap_type_t typedef with struct omap_chip_id

. fixes 34xx bug in OMAP type detection code

. removes all EXPORT_SYMBOLs - these can be added back in if powerdomain
  code needs to be used from loadable PM modules - the expectation is that
  it will only be used from PM code

. gets rid of all of the forward declarations in the powerdomain
  dependency definitions - now uses powerdomain names

. creates _pwrdm_lookup() to avoid potential race in pwrdm_register()

. gets rid of tabs in comments

. cleans up some dead structure members in struct powerdomain

. adds IVA2 sleepdep for DSS, PER, USBHOST

. is refreshed against current git head (e015fc7)

This version is tested against 3430SDP ES2.1, and compile-tested with
the N800 and 2430SDP configs.  Size, diffstat have been updated below.

Thanks to Tony & Jouni for review and comments.  More comments welcome,


- Paul

-------------------------

Hello,

this patch series adds a hardware control and monitoring interface for
OMAP2/3 powerdomains.  The interface is fully documented in the code.

The series also adds a common OMAP chip type detection bitfield for use
with powerdomain and clockdomain structures; it is planned to expand its
use to the clock framework in the future.

Powerdomain code tested on 3430SDP ES2.1; also boot-tested on N800.

Many people at Nokia and TI provided commentary and review during the
development of the powerdomain patches.  Particular help came from (in
alphabetical order): Jouni Högander, Tony Lindgren, Sakari Poussa,
Igor Stoppa, and Richard Woodruff.

---

   text    data     bss     dec     hex filename
3265996  151704  100736 3518436  35afe4 vmlinux.3430sdp.orig
3269405  152552  100736 3522693  35c085 vmlinux.3430sdp


Paul Walmsley (5):
      Subject: add OMAP3 powerdomains
      Subject: add OMAP2 powerdomains
      Subject: add OMAP2/3 common powerdomains
      Subject: add base OMAP2/3 powerdomain code
      Subject: add OMAP chip type global bitfield; clean up mach-omap2/id.c


 arch/arm/mach-omap2/Makefile            |    2
 arch/arm/mach-omap2/id.c                |  167 ++++--
 arch/arm/mach-omap2/io.c                |    5
 arch/arm/mach-omap2/pm.c                |    2
 arch/arm/mach-omap2/powerdomain.c       |  885 +++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/powerdomains.h      |  187 +++++++
 arch/arm/mach-omap2/powerdomains24xx.h  |  200 +++++++
 arch/arm/mach-omap2/powerdomains34xx.h  |  327 +++++++++++
 arch/arm/mach-omap2/prcm-common.h       |    3
 arch/arm/mach-omap2/prm-regbits-24xx.h  |   12
 arch/arm/mach-omap2/prm-regbits-34xx.h  |   11
 arch/arm/mach-omap2/prm.h               |    3
 arch/arm/plat-omap/Kconfig              |   12
 include/asm-arm/arch-omap/cpu.h         |   33 +
 include/asm-arm/arch-omap/powerdomain.h |  137 +++++
 15 files changed, 1924 insertions(+), 62 deletions(-)
 create mode 100644 arch/arm/mach-omap2/powerdomain.c
 create mode 100644 arch/arm/mach-omap2/powerdomains.h
 create mode 100644 arch/arm/mach-omap2/powerdomains24xx.h
 create mode 100644 arch/arm/mach-omap2/powerdomains34xx.h
 create mode 100644 include/asm-arm/arch-omap/powerdomain.h

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2008-04-24  0:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 14:46 [PATCH 0/5] Powerdomains: add OMAP2/3 powerdomain code, and common OMAP type bitfield Paul Walmsley
2008-04-10 14:46 ` [PATCH 1/5] Powerdomains: add OMAP chip type global bitfield; clean up mach-omap2/id.c Paul Walmsley
2008-04-16 21:20   ` Tony Lindgren
2008-04-18  5:48   ` Högander Jouni
2008-04-18  5:53     ` Paul Walmsley
2008-04-10 14:46 ` [PATCH 2/5] Powerdomains: add base OMAP2/3 powerdomain code Paul Walmsley
2008-04-16 21:31   ` Tony Lindgren
2008-04-10 14:46 ` [PATCH 3/5] Powerdomains: add OMAP2/3 common powerdomains Paul Walmsley
2008-04-10 14:46 ` [PATCH 4/5] Powerdomains: add OMAP2 powerdomains Paul Walmsley
2008-04-10 14:46 ` [PATCH 5/5] Powerdomains: Add OMAP3 powerdomains Paul Walmsley
2008-04-16 21:42   ` Tony Lindgren
2008-04-17 16:23     ` Paul Walmsley
  -- strict thread matches above, loose matches on Subject: below --
2008-04-19  1:23 [PATCH 0/5] Powerdomains: add OMAP2/3 powerdomain code and common OMAP type bitfield Paul Walmsley
2008-04-24  0:04 ` Tony Lindgren

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