OMAP hwmod now provides a service routine to parse pending wakeup events
and to call registered ISR whenever active wakeups are detected. This
routine is called directly from PRCM interrupt handler.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmod.c | 19
This is no longer needed as it will be handled within serial driver itself.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c | 19 ---
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index
This patch is just a temporary hack to allow serial to work properly with
the PRCM chain handler. Should be replaced with a proper implementation.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/serial.c | 28 +---
drivers/tty/serial/omap-serial.c |8
This prevents system hang while attempting to access suspended console. Should
most likely be fixed with proper console locking.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b
These are no longer needed as omap_hwmod takes care of multiplexing of pads.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/serial.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
This is handled automatically by the PRCM chain interrupt mechanism now.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 34feff4..8b05f14
Prevents a hang when omap_device would want to print something for
serial console device while enabling / disabling its clocks.
Signed-off-by: Tero Kristo
---
arch/arm/plat-omap/omap_device.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/plat-omap
Just for PRCM chain handler testing purposes. This should be replaced with
a proper implementation.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/serial.c | 71 -
1 files changed, 69 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2
On Tue, 2011-07-05 at 13:18 +0200, Balbi, Felipe wrote:
> Hi,
>
> On Tue, Jul 05, 2011 at 01:27:47PM +0300, Tero Kristo wrote:
> > @@ -854,20 +802,35 @@ static int __init omap3_pm_init(void)
> > /* XXX prcm_setup_regs needs to be before enabling hw
> > * super
Hello,
Following patches add an external controller support for TWL SMPS regulators.
This is needed because OMAP has voltage processor support which provides
interface to control a few regulators (VDD1 / VDD2 for OMAP3), and this
is shared with smartreflex.
These patches work in a way that twl re
is isn't
possible since the OMAP voltage layer isn't initialized when the
regulator is instantiated.
* Make the twl-regulator driver actually work with VDD1/VDD2 when no
external controller is attached (i.e, when the OMAP voltage layer
code is disabled).
Signed-off-by: Ter
off-by: Tero Kristo
---
arch/arm/mach-omap2/voltage.c | 37 +
arch/arm/mach-omap2/voltage.h |4 +++
arch/arm/mach-omap2/voltagedomains3xxx_data.c |2 +
3 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach
From: Thomas Petazzoni
Instantiate the VDD1 and VDD2 regulators and connect them to their
respective consumers: mpu.0 for VDD1 and l3_main.0 for VDD2.
TODO:
* As these instantiations will be identical for all OMAP3 boards,
find a way of sharing them throughout the different OMAP3 boards.
S
Beagleboard rev-c4 has a speed sorted OMAP3530 chip which can run at 720MHz.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c | 32 +++
arch/arm/mach-omap2/opp3xxx_data.c |4 +++
2 files changed, 36 insertions(+), 0 deletions(-)
diff
On Sat, 2011-07-09 at 12:56 +0200, Mark Brown wrote:
> On Sat, Jul 09, 2011 at 01:40:08PM +0300, Felipe Balbi wrote:
>
> > a hack for a hack... what's the difference ? If it's only to solve a
> > limitation temporarily anyways... although it would be better to discuss
> > how to add such support t
On Mon, 2011-07-11 at 12:05 +0200, Mark Brown wrote:
> On Mon, Jul 11, 2011 at 11:23:11AM +0300, Tero Kristo wrote:
> > On Sat, 2011-07-09 at 12:56 +0200, Mark Brown wrote:
> > > On Sat, Jul 09, 2011 at 01:40:08PM +0300, Felipe Balbi wrote:
>
> > > I'm comple
On Mon, 2011-07-11 at 14:11 +0200, Mark Brown wrote:
> On Mon, Jul 11, 2011 at 01:48:59PM +0300, Tero Kristo wrote:
> > On Mon, 2011-07-11 at 12:05 +0200, Mark Brown wrote:
>
> > > No. Why do you want these regulators to have anything to do with the
> > > TWL403
Hello,
Based on the comments for the previous version of this set, I implemented
a regulator driver for the OMAP SMPS now. It could actually be moved under
arch/arm/mach-omap2/ directory instead of drivers/regulator, I think it
should work from there also. This would also require less hacking for
OMAP SMPS regulator driver provides access to OMAP voltage processor
controlled regulators. These include VDD1 and VDD2 for OMAP3 and additionally
VDD3 for OMAP4. SMPS regulators use the OMAP voltage layer for the actual
voltage regulation operations.
Signed-off-by: Tero Kristo
---
drivers
This is needed so that these include files can be accessed from drivers.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_opp_data.h |3 +-
arch/arm/mach-omap2/omap_twl.c|2 +-
arch/arm/mach-omap2/pm.c |2 +-
arch/arm/mach-omap2
VDD1 and VDD2 are now available. This requires SMPS regulator driver to work.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c | 53 +++
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c
b
Beagleboard rev-c4 has a speed sorted OMAP3530 chip which can run at 720MHz.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c | 32 +++
arch/arm/mach-omap2/opp3xxx_data.c |4 +++
2 files changed, 36 insertions(+), 0 deletions(-)
diff
This fixes a couple of compilation warnings with OMAP SMPS regulator
driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/voltage.c |2 +-
arch/arm/plat-omap/include/plat/voltage.h |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach
On Wed, 2011-07-13 at 16:40 +0200, Mark Brown wrote:
> On Wed, Jul 13, 2011 at 05:00:35PM +0300, Tero Kristo wrote:
>
> > +config REGULATOR_OMAP_SMPS
> > + tristate "TI OMAP SMPS Power Regulators"
> > + depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM &
oard rev-c4 has a speed sorted OMAP3530 chip which can
> > run at 720MHz.
> >
> > Signed-off-by: Tero Kristo
> > ---
> > arch/arm/mach-omap2/board-omap3beagle.c | 32
> > +++
> > arch/arm/mach-omap2/opp3xxx_data.c |
On Thu, 2011-07-14 at 08:29 +0200, Todd Poynor wrote:
> On Wed, Jul 13, 2011 at 05:00:35PM +0300, Tero Kristo wrote:
> > OMAP SMPS regulator driver provides access to OMAP voltage processor
> > controlled regulators. These include VDD1 and VDD2 for OMAP3 and
> > additional
On Thu, 2011-07-14 at 02:22 +0200, Hilman, Kevin wrote:
> Hi Tero,
>
> Tero Kristo writes:
>
> > Based on the comments for the previous version of this set, I implemented
> > a regulator driver for the OMAP SMPS now.
>
> Could you rebase this on my pm-wip/voltdm
On Thu, 2011-07-14 at 00:55 +0200, Mark Brown wrote:
> On Wed, Jul 13, 2011 at 06:53:45PM +0300, Tero Kristo wrote:
> > On Wed, 2011-07-13 at 16:40 +0200, Mark Brown wrote:
>
> > > I do strongly prefer the idiom of just registering all the regulators
> > > even if th
On Fri, 2011-07-15 at 18:40 +0200, Todd Poynor wrote:
> On Tue, Jul 05, 2011 at 01:27:47PM +0300, Tero Kristo wrote:
> > Introduce a chained interrupt handler mechanism for the PRCM
> > interrupt, so that individual PRCM event can cleanly be handled by
> > handlers in separat
Hello,
Main changes compared to v2:
- cleanup should now work better
- register all available regulators always, if no initdata => readonly
- added board init support functionality to twl-common
- constraints not touched by the driver anymore
Tested on omap3 beagle.
-Tero
Texas Instruments Oy
This is needed so that these include files can be accessed from drivers.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/voltage.h | 180 -
arch/arm/mach-omap2/vp.h | 128
arch/arm/plat-omap/include/plat
These are now under plat-omap/include/plat.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/io.c |2 +-
arch/arm/mach-omap2/omap_opp_data.h |3 +--
arch/arm/mach-omap2/omap_twl.c|2 +-
arch/arm/mach-omap2/pm.c
OMAP SMPS regulator driver provides access to OMAP voltage processor
controlled regulators. These include VDD_MPU and VDD_CORE for OMAP3 and
additionally VDD_IVA for OMAP4. SMPS regulators use the OMAP voltage
layer for the actual voltage regulation operations.
Signed-off-by: Tero Kristo
Cc
This is using the common API defined in twl-common.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c
b/arch/arm/mach-omap2/board-omap3beagle.c
index 32f5f89
omap3_pmic_get_smps_config can now be used to get regulator configuration
for MPU and CORE SMPS regulators. This should be expanded later to add IVA
SMPS regulator for OMAP4.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/twl-common.c | 62 ++
arch/arm
Beagleboard rev-c4 has a speed sorted OMAP3530 chip which can run at 720MHz.
This is a temporary patch for supporting this set only, do not integrate.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c | 32 +++
arch/arm/mach-omap2
On Mon, 2011-07-18 at 19:35 +0200, Kristo, Tero wrote:
> Hello,
>
> Main changes compared to v2:
>
> - cleanup should now work better
> - register all available regulators always, if no initdata => readonly
> - added board init support functionality to twl-common
> - constraints not touched by th
On Mon, 2011-07-18 at 20:16 +0200, Balbi, Felipe wrote:
> Hi,
>
> On Mon, Jul 18, 2011 at 08:35:18PM +0300, Tero Kristo wrote:
> > These are now under plat-omap/include/plat.
> >
> > Signed-off-by: Tero Kristo
>
> this has to be folded into previous patch,
On Mon, 2011-07-18 at 20:16 +0200, Balbi, Felipe wrote:
> Hi,
>
> On Mon, Jul 18, 2011 at 08:35:17PM +0300, Tero Kristo wrote:
> > This is needed so that these include files can be accessed from drivers.
> >
> > Signed-off-by: Tero Kristo
> > ---
&
On Tue, 2011-07-19 at 01:40 +0200, Hilman, Kevin wrote:
> Felipe Balbi writes:
>
> > On Mon, Jul 18, 2011 at 08:35:19PM +0300, Tero Kristo wrote:
> >> diff --git a/drivers/regulator/omap-smps-regulator.c
> >> b/drivers/regulator/omap-smps-regulator.c
> >>
On Mon, 2011-07-18 at 20:22 +0200, Balbi, Felipe wrote:
> Hi,
>
> On Mon, Jul 18, 2011 at 08:35:19PM +0300, Tero Kristo wrote:
> > diff --git a/drivers/regulator/omap-smps-regulator.c
> > b/drivers/regulator/omap-smps-regulator.c
> > new file mode 100644
> > in
On Mon, 2011-07-18 at 20:23 +0200, Balbi, Felipe wrote:
> Hi,
>
> On Mon, Jul 18, 2011 at 08:35:20PM +0300, Tero Kristo wrote:
> > diff --git a/arch/arm/mach-omap2/twl-common.h
> > b/arch/arm/mach-omap2/twl-common.h
> > index 5e83a5b..fde8467 100644
> > --- a
On Tue, 2011-07-19 at 17:38 +0200, Mark Brown wrote:
> On Mon, Jul 18, 2011 at 08:35:19PM +0300, Tero Kristo wrote:
> > OMAP SMPS regulator driver provides access to OMAP voltage processor
> > controlled regulators. These include VDD_MPU and VDD_CORE for OMAP3 and
> > add
On Sat, 2011-07-23 at 01:51 +0200, Balbi, Felipe wrote:
> Hi,
>
> On Tue, Jul 05, 2011 at 01:27:51PM +0300, Tero Kristo wrote:
> > This is no longer needed as it will be handled within serial driver itself.
> >
> > Signed-off-by: Tero Kristo
>
> isn't
Hello,
Changes compared to previous set:
- moved OMAP3/OMAP4 specific code under prm.c files
- dropped most of the event definitions for now, and just left
wkup and io events in
- PRCM events are now defined as a common struct under prcm.c
- moved mux handling routines from omap_hwmod.c to m
From: R, Govindraj
Add API to enable IO pad wakeup capability based on mux dynamic pad and
wake_up enable flag available from hwmod_mux initialization.
Use the wakeup_enable flag and enable wakeup capability
for the given pads. Wakeup capability will be enabled/disabled
during hwmod idle transit
From: R, Govindraj
Add API to determine IO-PAD wakeup event status for a given
hwmod dynamic_mux pad.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/mux.c| 30 ++
arch/arm/mach-omap2/mux.h| 13 +++
arch/arm/mach-om
OMAP mux now provides a service routine to parse pending wakeup events
and to call registered ISR whenever active wakeups are detected. This
routine is called directly from PRCM interrupt handler.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/mux.c | 27 +++
arch
This is no longer needed as it will be handled within serial driver itself.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c | 19 ---
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index
Just for PRCM chain handler testing purposes. This should be replaced with
a proper implementation.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/serial.c | 71 -
1 files changed, 69 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2
This patch is just a temporary hack to allow serial to work properly with
the PRCM chain handler. Should be replaced with a proper implementation.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/serial.c | 28 +---
drivers/tty/serial/omap-serial.c |8
SoC on which we are running, keeping only the ones that are
actually useful. All the logic is written to be generic with regard to
OMAP3/OMAP4, even though OMAP3 has single PRCM event registers and OMAP4
has two PRCM event registers.
Patch tested on OMAP3 beagleboard.
Signed-off-by: Tero Kristo
Cc
Prevents a hang when omap_device would want to print something for
serial console device while enabling / disabling its clocks.
Signed-off-by: Tero Kristo
---
arch/arm/plat-omap/omap_device.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/plat-omap
These are no longer needed as omap_hwmod takes care of multiplexing of pads.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/serial.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
This prevents system hang while attempting to access suspended console. Should
most likely be fixed with proper console locking.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b
This is handled automatically by the PRCM chain interrupt mechanism now.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index b071857..926e13c
On Mon, 2011-07-25 at 19:03 +0200, Balbi, Felipe wrote:
> Hi,
>
> On Mon, Jul 25, 2011 at 07:36:01PM +0300, Tero Kristo wrote:
> > Introduce a chained interrupt handler mechanism for the PRCM
> > interrupt, so that individual PRCM event can cleanly be handled by
> > h
Hello,
This version has following changes:
- does not move voltage.h under plat-omap anymore, instead
creates a stub voltage.h under plat-omap with minimal support required
- platform device registration is now done from voltage.c, no need
for board file changes anymore
- Kconfig option does
Needed as some of the voltage layer functionality is accessed from the
SMPS regulator driver.
Signed-off-by: Tero Kristo
---
arch/arm/plat-omap/include/plat/voltage.h | 20
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/plat-omap/include
All voltagedomains that have support for vc and vp are now automatically
registered with SMPS regulator driver. Voltage.c builds a platform device
structure for this purpose during late init.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/voltage.c | 68
Beagleboard rev-c4 has a speed sorted OMAP3530 chip which can run at 720MHz.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c | 32 +++
arch/arm/mach-omap2/opp3xxx_data.c |4 +++
2 files changed, 36 insertions(+), 0 deletions(-)
diff
OMAP SMPS regulator driver provides access to OMAP voltage processor
controlled regulators. These include VDD_MPU and VDD_CORE for OMAP3 and
additionally VDD_IVA for OMAP4. SMPS regulators use the OMAP voltage
layer for the actual voltage regulation operations.
Signed-off-by: Tero Kristo
Cc
Hi,
Following patch attemps to separate some board specific parameters from
the core PM code. These parameters can then be specified in the board
files. Some things missing from this work currently are hooks from the
sleep code to select proper setup times based on the sleep mode... and
well, the
oscillator setup time declaration
Todo: split patch into more easily manageable parts.
Applies on top of pm/wip/voltdm branch, based on work done by Vishwanath
Sripathy.
Signed-off-by: Tero Kristo
Cc: Vishwanath Sripathy
---
arch/arm/mach-omap2/omap_opp_data.h | 15 +++
arch/arm/mach
This patch provided just as an example, actual times should be measured
for the board.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c | 36 +++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board
On Thu, 2011-08-04 at 15:57 +0200, Sripathy, Vishwanath wrote:
> >
Texas Instruments Oy, Tekniikantie 12, 02150 Espoo. Y-tunnus: 0115040-6.
Kotipaikka: Helsinki
-Original Message-
> > From: Tero Kristo [mailto:t-kri...@ti.com]
> > Sent: Wednesday, August 03, 2011 8:5
This patch provided just as an example, actual time should be checked from
the datasheet.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c
b/arch/arm
Vishwanath
Sripathy.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_opp_data.h | 15 ++
arch/arm/mach-omap2/omap_twl.c| 25
arch/arm/mach-omap2/opp3xxx_data.c| 62
arch/arm/mach-omap2/opp4xxx_data.c| 47 ++
arch
Hi Kevin,
Sorry for bit late reply, I've been on holiday during last 3 weeks.
On Sat, 2011-08-06 at 01:37 +0200, Hilman, Kevin wrote:
> Tero Kristo writes:
>
> > All voltagedomains that have support for vc and vp are now automatically
> > registered with SMPS regulator d
On Fri, 2011-08-05 at 23:54 +0200, Hilman, Kevin wrote:
> Tero Kristo writes:
>
> > All voltagedomains that have support for vc and vp are now automatically
> > registered with SMPS regulator driver. Voltage.c builds a platform device
> > structure for this
On Fri, 2011-08-05 at 23:52 +0200, Hilman, Kevin wrote:
> Tero Kristo writes:
>
> > All voltagedomains that have support for vc and vp are now automatically
> > registered with SMPS regulator driver. Voltage.c builds a platform device
> > structure for this
Hello,
Changes compared to previous version of this set:
- dropped stub header file patch as it is integrated to voltm branch already
- PATCH 1:
* fixed section mismatch
* changed consumer supply naming to match with omap PM code better
* refreshed so that it applies cleanly on latest codeb
OMAP SMPS regulator driver provides access to OMAP voltage processor
controlled regulators. These include VDD_MPU and VDD_CORE for OMAP3 and
additionally VDD_IVA for OMAP4. SMPS regulators use the OMAP voltage
layer for the actual voltage regulation operations.
Signed-off-by: Tero Kristo
Cc
Beagleboard rev-c4 has a speed sorted OMAP3530 chip which can run at 720MHz.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/board-omap3beagle.c | 29 +
arch/arm/mach-omap2/opp3xxx_data.c |4
2 files changed, 33 insertions(+), 0 deletions(-)
diff
All voltagedomains that have support for vc and vp are now automatically
registered with SMPS regulator driver. Voltage.c builds a platform device
structure for this purpose during late init.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/voltage.c | 81
This is needed so that SMPS regulators can be properly mapped to corresponding
processor devices.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/voltage.h |2 ++
arch/arm/mach-omap2/voltagedomains3xxx_data.c |2 ++
arch/arm/mach-omap2/voltagedomains44xx_data.c |3
Hey Paul,
I've been looking at this now and got one question below. Otherwise your
comments look okay to me and I can work with those.
On Fri, 2011-08-26 at 11:12 +0200, Paul Walmsley wrote:
> Hello Tero,
>
> a few comments on this patch:
>
> On Mon, 25 Jul 201
Hi Paul,
On Fri, 2011-09-02 at 11:20 +0200, Paul Walmsley wrote:
> Hi Tero,
>
> On Thu, 1 Sep 2011, Tero Kristo wrote:
>
> > I've been looking at this now and got one question below. Otherwise your
> > comments look okay to me and I can work with those.
>
>
, these custom function implementation will be
abstracted and might be done in hwmod or in other layer.
Signed-off-by: Santosh Shilimkar
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/powerdomain44xx.c | 41 +++
arch/arm/mach-omap2/powerdomains44xx_data.c
IO address for save / restore
sar_layout_generate() parses this info and stores the resulting data to
a list of sar_ram_entry structs, which in turn will be used by sar_save.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-sar.c | 290
Added in preparation for device off mode. SAR ROM contains the mapping
from SAR RAM to IO registers, and this will eventually be parsed during
init time to do the reverse before device off.
Signed-off-by: Tero Kristo
---
arch/arm/plat-omap/include/plat/omap44xx.h |1 +
1 files changed, 1
Added similar PM errata flag support as omap3 has. A few errata flags
will be added in subsequent patches.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm.h |7 +++
arch/arm/mach-omap2/pm44xx.c |1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm
d-off-by: Rajendra Nayak
Signed-off-by: Santosh Shilimkar
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm44xx.h |5 +
arch/arm/mach-omap2/dpll44xx.c | 271
2 files changed, 276 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-
limitation, MPU OFF alone is not targeted without
device OFF to avoid IVAHD and TESLA execution impact
Signed-off-by: Rajendra Nayak
Signed-off-by: Santosh Shilimkar
[t-kri...@ti.com: added omap4 pm errata support]
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-mpuss-lowpower.c | 53
needed
with subsequent patches that generate the layouts based on SAR ROM
contents, also dropped unnecessary dmm-44xx.h header file.]
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/Makefile |2 +-
arch/arm/mach-omap2/cm1_44xx.h |2 +
arch/arm/mach-omap2
omap_sar_overwrite() now uses offsets detected during init time from
the SAR ROM contents.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-sar.c | 158
1 files changed, 112 insertions(+), 46 deletions(-)
diff --git a/arch/arm/mach-omap2/omap
save_secure_all needs l3_main_3_ick and l4_secure_clkdm enabled,
otherwise the secure ROM code will crash.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-wakeupgen.c | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap
If AUX_CORE_BOOT0 does not indicate wakeup request for cpu1, put it back
to off. This is needed during wakeup from device off to prevent cpu1
from being stuck indefinitely in the wakeup loop and also to prevent
wakeup problem on GP chips with device off mode.
Signed-off-by: Tero Kristo
---
arch
not prevent voltage scaling done by voltdm->scale / DVFS.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm44xx.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c
index d4d18d9..e678
...@ti.com: fixed commit message, merged multiple patches to one]
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/common.h |1 +
arch/arm/mach-omap2/omap-wakeupgen.c | 21 +
arch/arm/mach-omap2/omap4-common.c |5 +
arch/arm/mach-omap2/omap4-sar
OMAP4470.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-wakeupgen.c | 14 ++
arch/arm/mach-omap2/omap4-sar-layout.h |1 +
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap-wakeupgen.c
b/arch/arm/mach-omap2/omap-wakeupgen.c
index
powerdomain struct for context loss
register, which is checked during pwrdm_post_transition to see if
a device off type context loss has happened. If this is the case,
the counters + timers for OFF state are touched instead of RETENTION.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-mpuss
uration
is not set properly, we apply the required workaround allowing
the restore sequence to work properly.
Signed-off-by: Santosh Shilimkar
[t-kri...@ti.com: moved workaround from omap-sar.c to pm44xx.c]
Signed-off-by: Tero Kristo
---
.../include/mach/ctrl_module_wkup_44xx.h |2 +
neeth Bajjuri
Signed-off-by: Bryan Buckley
[t-kri...@ti.com: merged the two patches into one]
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/include/mach/omap-secure.h |1 +
arch/arm/mach-omap2/omap-mpuss-lowpower.c | 13 +
2 files changed, 14 insertions(+), 0 deletions(-)
able_off_mode
(conversely echo '0' will disable it as well).
Signed-off-by: Santosh Shilimkar
[t-kri...@ti.com: largely re-structured the code]
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-mpuss-lowpower.c | 24 ++-
arch/arm/mach-omap2/omap-wakeupgen.c | 47 +++
errata support]
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-mpuss-lowpower.c | 35 -
arch/arm/mach-omap2/pm.h |1 +
arch/arm/mach-omap2/pm44xx.c |8 ++
3 files changed, 43 insertions(+), 1 deletions(-)
diff --git
On Fri, 2012-04-20 at 17:50 +0530, T Krishnamoorthy, Balaji wrote:
> On Fri, Apr 20, 2012 at 3:03 PM, Tero Kristo wrote:
> > Hi,
> >
> > First version for this work. Applies on top of mainline + iochain set +
> > OMAP4 core retention set. Working tree available here:
&g
On Fri, 2012-04-20 at 06:55 -0700, Kevin Hilman wrote:
> Tero Kristo writes:
>
> [...]
>
> >> I tried your branch on gp/emu devices but could not reproduce this issue.
> >> My observation is that while resuming, omap_hsmmc.1 eMMC is
> >> trying to turn o
On Fri, 2012-04-20 at 20:21 +0530, Datta, Shubhrajyoti wrote:
> On Fri, Apr 20, 2012 at 8:13 PM, Tero Kristo wrote:
> > On Fri, 2012-04-20 at 06:55 -0700, Kevin Hilman wrote:
> >> Tero Kristo writes:
> >>
> >> [...]
> >>
> >> >> I trie
map3beagle and it works with that one.)
-Tero
>From 26733dd988ccc9e72355a39e01b2d6e9215a892d Mon Sep 17 00:00:00 2001
From: Tero Kristo
Date: Mon, 23 Apr 2012 12:14:46 +0300
Subject: [PATCH] ARM: OMAP3: PM: move wakeup event ack to hwmod_io handler
PRCM IO interrupts are handled with a shared inter
401 - 500 of 2362 matches
Mail list logo