All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH-V4 0/4] ARM: OMAP2+: Add voltagedomain, powerdomain & PRM support for AM33XX device
@ 2012-03-30 16:03 ` Vaibhav Hiremath
  0 siblings, 0 replies; 64+ messages in thread
From: Vaibhav Hiremath @ 2012-03-30 16:03 UTC (permalink / raw)
  To: linux-omap
  Cc: khilman, paul, b-cousson, tony, rnayak, Vaibhav Hiremath,
	linux-arm-kernel

After some healthy discussion, now we have come to the conclusion and
decided to handle AM33XX PRM/CM part separately; as AM33XX-PRCM module is
different than OMAP3 and OMAP4 architecture.

The difference becomes very interesting/weird when it comes to
the consistency for register offsets in PRM address space and
bit-field offsets inside PRM registers,
So along with Powerdomain data and PRM api's required for AM33XX
device, this patch series adds,

 - XXX_RSTST register offset to "struct omap_hwmod_omap4_prcm"
 - PWRSTCTRL & PWRSTST register offsets to "struct powerdomain"
 - Logicretstate and mem_on/ret/pwrst/retst mask to "struct
   powerdomain"

Testing: This patch series has been boot tested on AM37xEVM and AM335x
         based BeagleBone community board.

Thanks to Paul here...for helping and concluding on this,
shortly I will submit similar patch for CM, clockdomain and clock-tree
support for AM33xx.

This patch-series is created on top of "linux-omap/cleanup" branch, and
also gets applied to "linux-omap/master" branch.
The patches are also available at -
https://github.com/hvaibhav/am335x-linux/tree/am335x-prm-cm

Changes from previous versions:
===============================
>From V3:
	- No code change, only added Voltagedomain patch (from V2 series)
	  to this series.

>From V1 & V2:
    	- Rolled back to my original approach, where AM33xx
	  device was handled separately (RFC version).
	- As per Paul's comments, added Register offsets & bit-fields
	  masks.

Vaibhav Hiremath (4):
  ARM: OMAP3+: am33xx: Add voltage domain data
  ARM: OMAP3/4: omap_hwmod: Add rstst_off field to struct
    omap_hwmod_omap4_prcm
  ARM: OMAP2+: powerdomain: Add offset & mask fields to struct
    powerdomain
  ARM: OMAP3+: am33xx: Add powerdomain & PRM support

 arch/arm/mach-omap2/Makefile                  |    6 +
 arch/arm/mach-omap2/io.c                      |    2 +
 arch/arm/mach-omap2/omap_hwmod.c              |   32 ++-
 arch/arm/mach-omap2/powerdomain.h             |   23 ++-
 arch/arm/mach-omap2/powerdomain33xx.c         |  230 ++++++++++++++++
 arch/arm/mach-omap2/powerdomains33xx_data.c   |  185 +++++++++++++
 arch/arm/mach-omap2/prm-regbits-33xx.h        |  357 +++++++++++++++++++++++++
 arch/arm/mach-omap2/prm33xx.c                 |  134 +++++++++
 arch/arm/mach-omap2/prm33xx.h                 |  129 +++++++++
 arch/arm/mach-omap2/voltage.h                 |    1 +
 arch/arm/mach-omap2/voltagedomains33xx_data.c |   43 +++
 arch/arm/plat-omap/include/plat/omap_hwmod.h  |    2 +
 12 files changed, 1139 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/mach-omap2/powerdomain33xx.c
 create mode 100644 arch/arm/mach-omap2/powerdomains33xx_data.c
 create mode 100644 arch/arm/mach-omap2/prm-regbits-33xx.h
 create mode 100644 arch/arm/mach-omap2/prm33xx.c
 create mode 100644 arch/arm/mach-omap2/prm33xx.h
 create mode 100644 arch/arm/mach-omap2/voltagedomains33xx_data.c

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

end of thread, other threads:[~2012-05-29  6:31 UTC | newest]

Thread overview: 64+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30 16:03 [PATCH-V4 0/4] ARM: OMAP2+: Add voltagedomain, powerdomain & PRM support for AM33XX device Vaibhav Hiremath
2012-03-30 16:03 ` Vaibhav Hiremath
2012-03-30 16:03 ` [PATCH-V4 1/4] ARM: OMAP3+: am33xx: Add voltage domain data Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-04-28  0:39   ` Paul Walmsley
2012-04-28  0:39     ` Paul Walmsley
2012-04-30 20:41     ` Kevin Hilman
2012-04-30 20:41       ` Kevin Hilman
2012-03-30 16:03 ` [PATCH-V4 2/4] ARM: OMAP3/4: omap_hwmod: Add rstst_off field to struct omap_hwmod_omap4_prcm Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-05-29  6:31   ` Hiremath, Vaibhav
2012-05-29  6:31     ` Hiremath, Vaibhav
2012-03-30 16:03 ` [PATCH-V4 3/4] ARM: OMAP2+: powerdomain: Add offset & mask fields to struct powerdomain Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-03-30 16:03 ` [PATCH-V4 4/4] ARM: OMAP3+: am33xx: Add powerdomain & PRM support Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-04-27  0:49   ` Kevin Hilman
2012-04-27  0:49     ` Kevin Hilman
2012-04-27  6:37     ` Hiremath, Vaibhav
2012-04-27  6:37       ` Hiremath, Vaibhav
2012-05-04 18:43       ` Tony Lindgren
2012-05-04 18:43         ` Tony Lindgren
2012-04-27 20:44     ` Kevin Hilman
2012-04-27 20:44       ` Kevin Hilman
2012-03-30 16:22 ` [PATCH-V4 0/4] ARM: OMAP2+: Add voltagedomain, powerdomain & PRM support for AM33XX device Hiremath, Vaibhav
2012-03-30 16:22   ` Hiremath, Vaibhav
2012-04-12  8:26 ` Paul Walmsley
2012-04-12  8:26   ` Paul Walmsley
2012-04-13 10:36   ` Hiremath, Vaibhav
2012-04-13 10:36     ` Hiremath, Vaibhav
2012-04-13 10:43     ` Paul Walmsley
2012-04-13 10:43       ` Paul Walmsley
2012-04-16  7:18       ` Hiremath, Vaibhav
2012-04-16  7:18         ` Hiremath, Vaibhav
2012-04-18 23:21       ` Tony Lindgren
2012-04-18 23:21         ` Tony Lindgren
2012-04-18 23:18     ` Tony Lindgren
2012-04-18 23:18       ` Tony Lindgren
2012-04-23 18:28       ` Hiremath, Vaibhav
2012-04-23 18:28         ` Hiremath, Vaibhav
2012-04-26 18:43         ` Tony Lindgren
2012-04-26 18:43           ` Tony Lindgren
2012-04-26 18:49           ` Hiremath, Vaibhav
2012-04-26 18:49             ` Hiremath, Vaibhav
2012-04-26 19:05             ` Tony Lindgren
2012-04-26 19:05               ` Tony Lindgren
2012-04-27  8:53               ` Hiremath, Vaibhav
2012-04-27  8:53                 ` Hiremath, Vaibhav
2012-05-02  9:09                 ` Paul Walmsley
2012-05-02  9:09                   ` Paul Walmsley
2012-05-07 10:32                   ` Cousson, Benoit
2012-05-07 10:32                     ` Cousson, Benoit
2012-05-07 10:44                     ` Shilimkar, Santosh
2012-05-07 10:44                       ` Shilimkar, Santosh
2012-05-07 13:59                       ` Hiremath, Vaibhav
2012-05-07 13:59                         ` Hiremath, Vaibhav
2012-05-02  9:30             ` Paul Walmsley
2012-05-02  9:30               ` Paul Walmsley
2012-05-02  9:37               ` Hiremath, Vaibhav
2012-05-02  9:37                 ` Hiremath, Vaibhav
2012-05-03 14:44               ` Hiremath, Vaibhav
2012-05-03 14:44                 ` Hiremath, Vaibhav
2012-04-25 13:44 ` Hiremath, Vaibhav
2012-04-25 13:44   ` Hiremath, Vaibhav

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.