A mutex is locked on entry into twl4030_madc_conversion().
Immediate return on some error conditions leaves the
mutex locked.
This patch ensures that mutex is always unlocked before
leaving the function.
Signed-off-by: Sanjeev Premi pr...@ti.com
Cc: Keerthy j-keer...@ti.com
Cc: Samuel Ortiz sa
A mutex is locked on entry into twl4030_madc_conversion().
Immediate return on some error conditions leaves the
mutex locked.
This patch ensures that mutex is always unlocked before
leaving the function.
Signed-off-by: Sanjeev Premi pr...@ti.com
Cc: Keerthy j-keer...@ti.com
---
Compile tested
#7 at http://elinux.org/BeagleBoard#Errata
Signed-off-by: Sanjeev Premi pr...@ti.com
Reviewed-by: Paul Walmsley p...@pwsan.com
Cc: Hrishikesh Bhandiwad hrishikes...@ti.com
Cc: Thomas Weber we...@corscience.de
Cc: Jason Lam l...@ema-tech.com
Cc: Gregoire Gentil grego...@gentil.com
---
Changes since
://thread.gmane.org/gmane.comp.hardware.beagleboard.general/91
[2] Errata #7 at http://elinux.org/BeagleBoard#Errata
Signed-off-by: Sanjeev Premi pr...@ti.com
Cc: Paul Walmsley p...@pwsan.com
---
* The patch has been boot tested with Beagleboard-XM.
Verified that GPTIMER1 is indeed being used
: rebuild PM from branches
Sanjeev Premi (2):
omap2+: pm: Use if...else instead of goto
omap2+: pm: cpufreq: Fix loops_per_jiffy calculation
arch/arm/mach-omap2/omap2plus-cpufreq.c | 51 --
1 files changed, 14 insertions(+), 37 deletions(-)
--
1.7.2.2
-by: Sanjeev Premi pr...@ti.com
---
Changes since v1:
* loops_per_jiffy are updated when CONFIG_SMP is true.
* leverage definition of for_each_cpu()
Tested on OMAP3EVM with and without CONFIG_SMP.
Since the log is rather long, will be posting the log in
a follow-up mail.
arch/arm/mach
was found in kernel version 2.6.32
running on AM3703 (no IVA2), it is still relevant.
This patch also fixes the comment that attributes current
behavior to race with interrupt handler on IVA2.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Quoting specific instances, on entry into the ISR
It shows up on the console despite using silent
in the bootargs.
Signed-off-by: Sanjeev Premi pr...@ti.com
Cc: jhnik...@gmail.com
---
v2: Changed the subject.
Removed the print altogether
v1: Convert printk to pr_info
arch/arm/mach-omap2/pm34xx.c |2 --
1 files changed, 0
With current level, it shows up on the console
despite using 'silent' in bootargs.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
1) Couldn't find better text on commit message.
Any suggestions?
2) Though pm34xx.x is changed, the change itself
is no related to power management. Hence
vdd_debugfs_init: Unable to create debugfs directory for vdd_core
This patch fixes these errors by enclosing code related to debugfs
in #ifdef CONFIG_DEBUG_FS..#endif.
Boot tested on OMAP3EVM.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Patch was created and tested on the pm branch at commit
Current checks for cpu type were too restrictive leading
to failures for other silicons in same family.
The problem was found while testing audio playback on
AM37x and AM35x processors. But should exist on OMAP36xx
as well.
Signed-off-by: Sanjeev Premi pr...@ti.com
cc: Mark Brown broo
Current checks for cpu type were too restrictive leading
to failures for other silicons in same family.
The problem was found while testing audio playback on
AM37x and AM35x processors. But should exist on OMAP36xx
as well.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Changes in v3::
None
It is not necessary to pass the params prm_mod and
prm_irqst_mod to omap_voltage_early_init().
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/voltage.c | 18 ++
arch/arm/mach-omap2/voltage.h |3 +--
arch/arm/mach-omap2
PRM_IRQSTATUS_MPU
offset.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/voltage.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c
index ce3098a..c686eca 100644
--- a/arch/arm
-up
of voltage layer, attempt to rebase against new
baseline would only delay the intended feedback.
Sanjeev Premi (2):
OMAP3: Add support for TPS65023 (AM35x only)
AM35x: voltage: Basic initialization
arch/arm/mach-omap2/Makefile|3 +-
arch/arm/mach-omap2/pm.c|1
This patch adds support for TPS65023 used with
OMAP3 devices. The PMIC is currently hooked to
AM35x devices, but can easily be extended for
other OMAP3 devices.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/Makefile|3 +-
arch/arm/mach-omap2/pm.c|1
This patch adds the basic initialization of voltage layer
for AM35x. Since AM35x doesn't support voltage scaling,
Many functions emply fucntions have been defined to plug
into existing voltage layer.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/voltage.c | 110
Current checks for cpu type were too restrictive leading
to failures for other silicons in same family.
The problem was found while testing audio playback on
AM37x and AM35x processors. But should exist on OMAP36xx
as well.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Changes in this version
Current check for cpu type is too restrictive leading to
failures for other silicons in same family.
The problem was found while testing audio playback on
AM37x and AM35x processors. But should exist on OMAP36xx
as well.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
sound/soc/omap/omap-mcbsp.c
, this workaround
can be considered.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 66 +++-
1 files changed, 65 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
b/arch/arm/mach-omap2
and can easily be
added to configuration for any board, there should be
no compile/run-time impact.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Compiled omap2plus-defconfig and boot tested on
OMAP3EVM Rev G.
arch/arm/mach-omap2/Kconfig |3 ---
drivers/mfd/Kconfig |4 ++--
2 files
Intent of this series is to solicit feedback on
on adding basic support for AM3517 and TPS65023.
This is definitely not the complete support, but
wanted to get early comments while i continue to
work.
Sanjeev Premi (3):
omap: voltage: Allow custom vp_init() implementation
am35xx: voltage
This patch adds basic initialization in
the voltage layer for AM35xx processors.
In absence of AVS, functions vp_init() and
vc_init() are empty.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/voltage.c | 45 -
1 files changed, 44
Add glue logic to hook-up AM35x processors
with TPS65023.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/am3517_tps.c | 96 ++
1 files changed, 96 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-omap2/am3517_tps.c
diff
Current implementation expects AVS to be available
on the processor - by default. May not be true.
This patch allows the vp_init() to be implemented
per processor (or family) - same as vc_init().
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/voltage.c |6 +-
1 files
silicon variant.
It eliminates the need to define CHIP_IS_xxx for
each variant.
Continuation of ongoing discussion[1] but this
time with actual code.
[1] http://marc.info/?l=linux-omapm=129838265800443w=2
Signed-off-by: Sanjeev Premi pr...@ti.com
---
This patch contains changes to add
Changes include:
- fixing typos
- using pr_err() instead of printk
Sanjeev Premi (2):
omap3: fix minor typos
omap3: flash: use pr_err instead of printk
arch/arm/mach-omap2/board-flash.c | 19 ---
1 files changed, 8 insertions(+), 11 deletions(-)
--
1.7.2.2
This patch fixes typos that were remaining after
the file and functions were renamed.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-flash.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/board-flash.c
b/arch/arm/mach
Change all occurences of printf() to pr_err().
Includes minor formatting changes as result of
this change.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-flash.c | 15 ++-
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-omap2
:
'mpu_24xx_wkdeps' defined but not used
arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c:147: warning:
'core_24xx_wkdeps' defined but not used
The problem should be noticed when building for other OMAP3
platforms (only) as well.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2
[ 80.567687] PM: Syncing filesystems ... done.
[ 80.573822] Freezing user space processes ... (elapsed 0.01 seconds) done.
[snip]...removed more verbose text...[/snip]
[ 86.272399] PM: resume of devices complete after 501.953 msecs
[ 86.282165] Restarting tasks ... done.
Sanjeev Premi (1
.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/cm2xxx_3xxx.c | 13 +
arch/arm/mach-omap2/pm34xx.c | 25 -
2 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/cm2xxx_3xxx.c
b/arch/arm/mach-omap2
: This should be done for identified parts only.
Else, the device could be damaged permanently.
Signed-off-by: Sanjeev Premi pr...@ti.com
Reviewed-by: G, Manjunath Kondaiah manj...@ti.com
---
Since v4:
Updated the commit text addressing comments from
Kevin Hilman (khil...@ti.com).
Since v3:
1
: This should be done for identified parts only.
Else, the device could be damaged permanently.
Signed-off-by: Sanjeev Premi pr...@ti.com
Reviewed-by: G, Manjunath Kondaiah manj...@ti.com
---
Since v4:
Updated the commit text addressing comments from
Kevin Hilman (khil...@ti.com).
Since v3:
1
* Ensure that OPP is conditionally enabled.
* Check for presence of IVA before attempting to enable
the corresponding OPP.
[1] http://focus.ti.com/lit/ug/spruff1d/spruff1d.pdf
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Since v3:
1) Minor changes to comments and braces.
Since v2:
1) pr_xxx
* Ensure that OPP is conditionally enabled.
* Check for presence of IVA before attempting to enable
the corresponding OPP.
[1] http://focus.ti.com/lit/ug/spruff1d/spruff1d.pdf
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Since v2:
1) pr_xxx() - dev_xxx() functions - suggested by
Manjunath
* Ensure that OPP is conditionally enabled.
[1] http://focus.ti.com/lit/ug/spruff1d/spruff1d.pdf
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Since last revision:
1) Using opp_enable() to enable the OPP after the OPP
table has been initialized.
2) Starting at 3 levels of indent, the statements had
/spruff1d.pdf
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/control.h |7 +++
arch/arm/mach-omap2/id.c | 10 ++
arch/arm/mach-omap2/opp3xxx_data.c| 19 ++-
arch/arm/plat-omap/include/plat/cpu.h |2 ++
4 files changed
a FIXME which is added
to illustrate the calculations; and express need for
a mechanism to get nValues for each OPP.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/sr_device.c | 54 +
arch/arm/mach-omap2/voltage.c |1 +
arch
these processors:
* OMAP3630 ES1.1
* OMAP3530 ES3.1
* AM3517 ES1.0
* AM3517 ES1.1
Sanjeev Premi (1):
omap2/3: Update revision identification
arch/arm/mach-omap2/id.c | 72 ++---
arch/arm/plat-omap/include/plat/cpu.h | 36
2 files
The existing definitions for cpu revision used
upper nibble in the bits[15:08]. With OMAP3630,
definitions use lower nibble.
This patch unifies the definitions to start
at lower nibble.
[1] http://marc.info/?t=12816173915r=1w=2
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach
The menu option to select CONFIG_OMAP_IOMMU
was not visible in the menuconfig due to missing
description.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/plat-omap/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat
, *_sht, *_ops, *_probe, *_probe_one, *_console,
Sanjeev Premi (1):
omap: fix section mismatch errors
arch/arm/mach-omap2/board-2430sdp.c |2 +-
arch/arm/mach-omap2/board-apollon.c |2 +-
arch/arm/mach-omap2/board-cm-t35.c |8
arch/arm/mach-omap2
This patch fixes miltiple section mismatch errors
observed with the latest master.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-2430sdp.c |2 +-
arch/arm/mach-omap2/board-apollon.c |2 +-
arch/arm/mach-omap2/board-cm-t35.c |8
The existing definitions for cpu revision used
upper nibble in the bits[15:08]. With OMAP3630,
definitions use lower nibble.
This patch unifies the definitions to start
at lower nibble.
[1] http://marc.info/?t=12816173915r=1w=2
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach
-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap4panda.c |2 --
arch/arm/mach-omap2/mux.c |2 +-
arch/arm/plat-omap/gpio.c |4 ++--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap4panda.c
b/arch/arm/mach
yogesh_mara...@ti.com
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/omap-iommu.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c
index f5a1aad..bb8c01d 100644
--- a/arch/arm/mach-omap2/omap
This patch adds macros to evaluate the cpu revision.
These macros increase readability by reducing the
repetitive code when multiple silicon and their
revisions have to be tested.
Example usage would be:
if (cpu_rev_eq(omap34xx, ES_1_0))
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm
-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap4panda.c |2 --
arch/arm/mach-omap2/mux.c |2 +-
arch/arm/plat-omap/gpio.c |4 ++--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap4panda.c
b/arch/arm/mach
. It will be a separate patch when I submit
it next.
[1] http://marc.info/?l=linux-omapm=127495955603835w=2
Sanjeev Premi (1):
omap3: pm: Delink opp layer and cpufreq
arch/arm/mach-omap2/Makefile |6 +-
arch/arm/mach-omap2/board-omap3evm.c |2 +-
arch/arm/mach-omap2
The OPP layer was contained in the CONFIG_CPU_FREQ.
This patch removes this containment relation.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/Makefile |6 +-
arch/arm/mach-omap2/board-omap3evm.c |2 +-
arch/arm/mach-omap2/cpufreq34xx.c | 164
The value of mpurate is currently expected to be less
than 1000 when specified in MHz.
This patch raises this limit to 2000 to support 1GHz
capable processors. The new limit should be reasonable
for quite some time.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/plat-omap/clock.c |3
The value of mpurate is currently expected to be less
than 1000 when specified in MHz.
This patch raises this limit to 2000 to support 1GHz
capable processors. The new limit should be reasonable
for quite some time.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
v2: Removed a newline introduced
last patch[1], the real change is to make macros/
functions more parameterized.
[1] http://marc.info/?l=linux-omapm=126322767404669w=2
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/plat-omap/include/plat/cpu.h | 150 +
1 files changed, 150 insertions
patch after testing.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/control.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c
index 43f8a33..575593b 100644
--- a/arch/arm/mach-omap2
This patch updates the omap3_evm_defconfig to
select CONFIG_PM_DEBUG and CONFIG_DEBUG_FS.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/configs/omap3_evm_defconfig |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/configs/omap3_evm_defconfig
b/arch
This patch updates the omap3_evm_defconfig to
select these options:
* CONFIG_PM_DEBUG
* CONFIG_DEBUG_FS
* CONFIG_OMAP_SMARTREFLEX
Signed-off-by: Sanjeev Premi pr...@ti.com
---
Found that SmartReflex was disabled as well. Didn't
feel need for a different patch for same.
arch/arm
This patch sets SYS_NIRQ for keypad input. It also
sets the same as a wakeup event from OFF mode.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3evm.c
b
The keypad was not working properly after migrating
to matrix_keypad.
Swapped the row, col fields of the KEY() macro in
the keymap definition to get it working again.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c | 27 +++
1 files
GPIO175 is used for PEN_IRQ on the EVM. This patch
sets the mux settings for the same.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3evm.c
b/arch/arm
This patch sets SYS_NIRQ for keypad input. It also
sets the same as a wakeup event from OFF mode.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3evm.c
b
The keypad was not working properly after migrating
to matrix_keypad.
Swapped the row, col fields of the KEY() macro in
the keymap definition to get it working again.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c | 27 +++
1 files
GPIO175 is used for PEN_IRQ on the EVM. This patch
sets the mux settings for the same.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3evm.c
b/arch/arm
This patch adds suspend, resume functions to the
TWL4030 keypad driver when CONFIG_PM is selected.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
drivers/input/keyboard/twl4030_keypad.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/drivers/input
This patch adds hooks to support board specific
implementation during the suspend and resume operations.
The TWL4030 can be connected to multiple boards. Without
these hooks, board specific macros will be required in a
generic driver.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
drivers/input
: keypad: Hooks for board specific suspend-resume
The complete set has been tested on linux-omap/pm (c6348aa).
All testing done on OMAP3EVM.
Sanjeev Premi (3):
twl4030: keypad: Add suspend-resume functions
twl4030: keypad: Hooks for board specific suspend-resume
OMAP3: PM: Wakeup from
This patch checks if clk_get() returned success for
the clocks used in function omap2_clk_arch_init().
This version incorporates review comments from
Kevin Hilman and Paul Walmsley.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/clock34xx.c | 16
1 files
or
signature. But final outcome was bit messy and aborting
it (for now).
[1] http://marc.info/?l=linux-omapm=125476176410106w=2
[2] http://marc.info/?l=linux-omapm=125197467922935w=2
Sanjeev Premi (1):
omap3: Add macros for comparing si revision
arch/arm/mach-omap2/clock34xx.c |2
-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/clock34xx.c |2 +-
arch/arm/mach-omap2/clock34xx_data.c |6 ++-
arch/arm/mach-omap2/control.c |7 ++--
arch/arm/mach-omap2/id.c | 13 +++
arch/arm/mach-omap2/pm34xx.c | 35
This patch checks if clk_get() returned success for
the clocks used in function omap2_clk_arch_init().
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/clock34xx.c | 25 +++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach
This patch fixes following compile warning:
drivers/mtd/nand/omap2.c:508: warning: passing argumen
t 2 of 'omap_nand_dma_transfer' discards qualifiers fr
om pointer target type
Signed-off-by: Sanjeev Premi pr...@ti.com
---
drivers/mtd/nand/omap2.c |2 +-
1 files changed, 1 insertions(+), 1
revision
is detected for OMAP35xx devices.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/plat-omap/include/plat/cpu.h | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/plat-omap/include/plat/cpu.h
b/arch/arm/plat-omap/include/plat/cpu.h
index
Devices AM3505 and AM3517 will be more commonly available.
Also, with more devices planned in this family, it is better
to rename the macros to follow cpu_is_amXXX() naming.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c |4 ++--
arch/arm/plat-omap
From: Sergey Lapin slapi...@gmail.com
The macros for detecting the cpu had same
inversion problem fixed in earlier patch.
[1] omap3: id code detection 3525 vs 3515
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/plat-omap/include/plat/cpu.h |8
1 files changed, 4
Devices AM3505 and AM3517 will be more commonly available.
Also, with more devices planned in this family, it is better
to rename the macros to follow cpu_is_amXXX() naming.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c |6 +++---
arch/arm/plat-omap
loosing readability.
Sanjeev Premi (1):
omap3: cpuidle: Update statistics for correct state
arch/arm/mach-omap2/cpuidle34xx.c | 98 ++---
arch/arm/mach-omap2/pm.h |1 +
arch/arm/mach-omap2/pm34xx.c |4 ++
3 files changed, 95 insertions(+), 8
'enable_off_mode'
is '0'. The states are valid once 'enable_off_mode' is set
to '1'.
Added function next_valid_state() to check if current state
is valid; else get the next valid state. It is called from
omap3_enter_idle_bm().
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2
The settings for ON voltage level in the registers
PRM_VC_CMD_VAL_0,1 was not updated based on OPP
table.
Once the MPU resumes from OFF mode (during idle OR
suspend) the VDD1 voltage always returns to 1.2V.
This patch programs the value based on current OPP.
Signed-off-by: Sanjeev Premi pr
From: Sergey Lapin sla...@ossfans.org
The runtime detection of OMAP3515 and OMAP3525
was reversed.
Signed-off-by: Sergey Lapin sla...@ossfans.org
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git
Currently the default silicon - in absence of
identification - is set to OMAP3630 ES1.0.
Though, condition may/should not arise; but
the default should be latest in the most
common silicon variant - currently OMAP3430
ES3.1.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c
duplication also gets addressed).
Either of these alternatives can be taken as a separate patch.
OR, as follow-up to last 2 patches in this series. Thoughts?
Sanjeev Premi (4):
OMAP3: PM: Add suspend-resume to TWL4030 keypad
OMAP3: PM: T2 keypad: Add board specific suspend-resume functions
This patch adds suspend, resume functions to the
TWL4030 keypad driver when CONFIG_PM is selected.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
drivers/input/keyboard/twl4030_keypad.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/drivers/input
This patch adds hooks to support board specific implementation
during the suspend and resume operations.
The TWL4030 can be connected to multiple boards. Without
these hooks, board specific macros will be required in a
generic driver.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
drivers/input
This patch allows wakeup from T2 keypad when
OFF mode is hit during suspend.
Tested on OMAP3EVM.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c | 89 ++
1 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/arch/arm
This extends the wakeup support to the 3430 SDP platform.
Only compile tested.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-3430sdp.c | 89 +++
1 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board
This patch set enables the keypad in the default
configuration. It also adds it as wake-up source
from suspend.
It has been created and tested against latest
for-next branch.
Sanjeev Premi (2):
omap3evm: Enable keypad in defconfig
omap3evm: Add keypad as wakeup source
arch/arm/configs
Enable the TWL4030/TPS65590 keypad in the
default configuration.
Also updated the section with related config
options in .config for easy diff.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/configs/omap3_evm_defconfig | 12 +---
1 files changed, 9 insertions(+), 3 deletions
Add keypad as wakeup source from 'suspend'
state.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3evm.c
b/arch/arm/mach-omap2/board-omap3evm.c
This patch removes code blocks that are repeated
in function prcm_setup_regs().
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/pm34xx.c | 18 --
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2
Currently the default silicon - in absence of
identification - is set to OMAP3630 ES1.0.
Though, condition may/should not arise; but
the default should be latest in the most
common silicon variant - currently OMAP3430
ES3.1.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c
This fix avoids the compile errors in
specific cases. Found the problem while
creating the v2 patch for AM35xx.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/plat-omap/include/plat/cpu.h |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/plat-omap
Add support to detect AM3505/AM3517 devices at runtime.
Also updates the CPU names printed during boot.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c | 36 +++-
arch/arm/plat-omap/include/plat/cpu.h | 12 +++
2 files
?title=Applications_Processors_Crossreference
[4] http://marc.info/?l=linux-omapm=125615009412281w=2
The patches have been created against omap-next branch.
Sanjeev Premi (2):
AM35xx: Runtime detection of the device
AM35xx: Define the AM3517EVM board
arch/arm/mach-omap2/Kconfig
Add support to detect AM3505/AM3517 devices at runtime.
Also updates the CPU names printed during boot.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c | 43
arch/arm/plat-omap/include/plat/cpu.h | 12 +
2 files
Add support for the AM3517 EVM board. This EVM
supports AM3505 and AM3517 devices.
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/Kconfig |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index
This patch adds support for ARM running at 720MHz part.
The 720MHz capability can be probed run-time by reading the
PRODID.SKUID[3:0] at 0x4830A20C.
[1] http://focus.ti.com/lit/ug/spruff1d/spruff1d.pdf
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/clock34xx.c
;
return;
}
+ omap_revision = OMAP3430_REV_ES1_0;
+ return;
Print during boot-up:
...
Memory policy: ECC disabled, Data cache writeback
OMAP3430/3530 ES1.0
...
Sanjeev Premi (1):
Runtime detection of OMAP35x devices
arch/arm/mach
Add runtime check for these OMAP35x variations
based on the detected Si features:
OMAP3503, OMAP3515, OMAP3525 and OMA3530.
Also, delayed the call to pr_info() into actual
variant is detected in omap3_cpuinfo()
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/mach-omap2/id.c
The symbol CONFIG_ISP1301_OMAP was defined twice in the
defconfig. This was causing the warning:
arch/arm/configs/omap3_beagle_defconfig:972:warning:
override: reassigning to symbol ISP1301_OMAP
Signed-off-by: Sanjeev Premi pr...@ti.com
---
arch/arm/configs/omap3_beagle_defconfig |1 -
1
This version is essentially same patch as [1]; but
refreshed against the tip (2bf0f78). The change in
text corresponding to the closing #endif in cpu.h
required change in the last line of the patch.
[1] http://patchwork.kernel.org/patch/41989/
Sanjeev Premi (1):
Runtime detection of Si
1 - 100 of 151 matches
Mail list logo