[PATCHv3 3/7] ARM: OMAP4 PM: Add IO Daisychain support

2011-12-15 Thread Vishwanath BS
From: Rajendra Nayak patch adds IO Daisychain support for OMAP4 as per section 3.9.4 in OMAP4430 Public TRM. Signed-off-by: Rajendra Nayak Signed-off-by: Vishwanath BS Tested-by: Govindraj.R --- Changes done in V3: 1. Moved enablement of Global WUEN which is a onetime setting to pm_init

[PATCHV2 REPOST 2/7] ARM: OMAP3 PM: Move IO Daisychain function to omap3 prm file

2011-12-14 Thread Vishwanath BS
Since IO Daisychain modifies only PRM registers, it makes sense to move it to PRM File. Signed-off-by: Vishwanath BS Tested-by: Govindraj.R --- arch/arm/mach-omap2/pm34xx.c | 30 +- arch/arm/mach-omap2/prm2xxx_3xxx.c | 33

[PATCHV2 REPOST 3/7] ARM: OMAP4 PM: Add IO Daisychain support

2011-12-14 Thread Vishwanath BS
From: Rajendra Nayak patch adds IO Daisychain support for OMAP4 as per section 3.9.4 in OMAP4430 Public TRM. Signed-off-by: Rajendra Nayak Signed-off-by: Vishwanath BS Tested-by: Govindraj.R --- arch/arm/mach-omap2/prm44xx.c | 30 ++ arch/arm/mach-omap2

[PATCHV2 REPOST 0/7] ARM: OMAP3PLUS PM: Add IO DaisyChain support via hwmod mux

2011-12-14 Thread Vishwanath BS
r_3.3/io_daisy_chain_rebased Mohan V (1): ARM: OMAP3 PM: correct enable/disable of daisy io chain Rajendra Nayak (1): ARM: OMAP4 PM: Add IO Daisychain support Vishwanath BS (5): ARM: OMAP3 PM: Move IO Daisychain function to omap3 prm file ARM: OMAP3 PM: Enable IO Wake up ARM: OMAP3PLUS PM: Add IO Daisy

[PATCHV2 REPOST 4/7] ARM: OMAP3 PM: Enable IO Wake up

2011-12-14 Thread Vishwanath BS
Enable IO Wake up for OMAP3 as part of PM Init. Currently this has been managed in cpuidle path which is not the right place. Subsequent patch will remove IO Daisy chain handling in cpuidle path once daisy chain is handled as part of hwmod mux. Signed-off-by: Vishwanath BS Tested-by: Govindraj.R

[PATCHV2 REPOST 7/7] ARM: OMAP3 PM: Enable IO Daisychain for supported chips

2011-12-14 Thread Vishwanath BS
IO Daisychain has to be enabled only if the corresponding omap has io chain wake up capability. Signed-off-by: Vishwanath BS Tested-by: Govindraj.R --- arch/arm/mach-omap2/prm2xxx_3xxx.c | 26 ++ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/arch

[PATCHV2 REPOST 1/7] ARM: OMAP3 PM: correct enable/disable of daisy io chain

2011-12-14 Thread Vishwanath BS
[c] Clear PM_WKST_WKUP.ST_IO bit by writing 1 to it. Step [e] & [c] in each case can be skipped, as these are handled by the PRCM interrupt handler later. [1] http://focus.ti.com/pdfs/wtbu/OMAP36xx_ES1.x_PUBLIC_TRM_vV.zip Signed-off-by: Mohan V Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/p

[PATCHV2 REPOST 5/7] ARM: OMAP3PLUS PM: Add IO Daisychain support via hwmod mux

2011-12-14 Thread Vishwanath BS
rrupt, module specific interrupt handler will not triggered for the second time Also look at detailed explanation given by Rajendra at http://www.spinics.net/lists/linux-serial/msg04480.html Signed-off-by: Vishwanath BS Tested-by: Govindraj.R --- arch/arm/mach-omap2/omap_hwmod.c |

[PATCHV2 REPOST 6/7] ARM: OMAP3 PM: Remove IO Daisychain control from cpuidle

2011-12-14 Thread Vishwanath BS
As IO Daisy chain sequence is triggered via hwmod mux, there is no need to control it from cpuidle path for OMAP3. Also as omap3_disable_io_chain is no longer being used, just remove the function. Signed-off-by: Vishwanath BS Tested-by: Govindraj.R --- arch/arm/mach-omap2/pm34xx.c

[PATCHv2 5/7] ARM: OMAP3PLUS PM: Add IO Daisychain support via hwmod mux

2011-10-07 Thread Vishwanath BS
rrupt, module specific interrupt handler will not triggered for the second time Also look at detailed explanation given by Rajendra at http://www.spinics.net/lists/linux-serial/msg04480.html Signed-off-by: Vishwanath BS --- This has been tested on OMAP3 using Chain Handler + UART Runtime patch

[PATCHv2 2/7] ARM: OMAP3 PM: Move IO Daisychain function to omap3 prm file

2011-10-07 Thread Vishwanath BS
Since IO Daisychain modifies only PRM registers, it makes sense to move it to PRM File. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/pm34xx.c | 33 + arch/arm/mach-omap2/prm2xxx_3xxx.c | 35 +++ arch/arm/mach

[PATCHv2 3/7] ARM: OMAP4 PM: Add IO Daisychain support

2011-10-07 Thread Vishwanath BS
From: Rajendra Nayak patch adds IO Daisychain support for OMAP4 as per section 3.9.4 in OMAP4430 Public TRM. Signed-off-by: Rajendra Nayak Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/prm44xx.c | 33 + arch/arm/mach-omap2/prm44xx.h |1 + 2 files

[PATCHv2 6/7] ARM: OMAP3 PM: Remove IO Daisychain control from cpuidle

2011-10-07 Thread Vishwanath BS
As IO Daisy chain sequence is triggered via hwmod mux, there is no need to control it from cpuidle path for OMAP3. Also as omap3_disable_io_chain is no longer being used, just remove the function. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/pm34xx.c | 15 --- arch

[PATCHv2 1/7] ARM: OMAP3 PM: correct enable/disable of daisy io chain

2011-10-07 Thread Vishwanath BS
[c] Clear PM_WKST_WKUP.ST_IO bit by writing 1 to it. Step [e] & [c] in each case can be skipped, as these are handled by the PRCM interrupt handler later. [1] http://focus.ti.com/pdfs/wtbu/OMAP36xx_ES1.x_PUBLIC_TRM_vV.zip Signed-off-by: Mohan V Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/p

[PATCHv2 7/7] ARM: OMAP3 PM: Enable IO Daisychain for supported chips

2011-10-07 Thread Vishwanath BS
IO Daisychain has to be enabled only if the corresponding omap has io wake up capability. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/prm2xxx_3xxx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/prm2xxx_3xxx.c b/arch/arm/mach-omap2

[PATCHv2 0/7]ARM: OMAP3PLUS PM: Add IO DaisyChain support via hwmod mux

2011-10-07 Thread Vishwanath BS
Rajendra Nayak (1): ARM: OMAP4 PM: Add IO Daisychain support Vishwanath BS (5): ARM: OMAP3 PM: Move IO Daisychain function to omap3 prm file ARM: OMAP3 PM: Enable IO Wake up ARM: OMAP3PLUS PM: Add IO Daisychain support via hwmod mux ARM: OMAP3 PM: Remove IO Daisychain control from cpuidle

[PATCHv2 4/7] ARM: OMAP3 PM: Enable IO Wake up

2011-10-07 Thread Vishwanath BS
Enable IO Wake up for OMAP3 as part of PM Init. Currently this has been managed in cpuidle path which is not the right place. Subsequent patch will remove IO Daisy chain handling in cpuidle path once daisy chain is handled as part of hwmod mux. Signed-off-by: Vishwanath BS --- arch/arm/mach

[PATCH 0/4] ARM: OMAP3PLUS PM: Add IO Daisychain support via hwmod mux

2011-10-04 Thread Vishwanath BS
[1]. [1]: git://gitorious.org/runtime_3-0/runtime_3-0.git v6_uart_runtime Rajendra Nayak (1): OMAP4 PM: Add IO Daisychain support Vishwanath BS (3): OMAP3 PM: Fix IO Daisychain sequence OMAP3 PM: Enable IO Wake up OMAP3PLUS PM: Add IO Daisychain support via hwmod mux arch/arm/mach-omap2

[PATCH 4/4] ARM: OMAP3PLUS PM: Add IO Daisychain support via hwmod mux

2011-10-04 Thread Vishwanath BS
_ctrl as it is not really enabling daisychain feature rather it triggers WUCLK CTRL. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/omap_hwmod.c |9 +++-- arch/arm/mach-omap2/pm.c |9 + arch/arm/mach-omap2/pm.h |3 ++- arch/arm/mach-omap2/pm34xx.c |

[PATCH 2/4] ARM: OMAP4 PM: Add IO Daisychain support

2011-10-04 Thread Vishwanath BS
From: Rajendra Nayak patch adds IO Daisychain support for OMAP4 as per section 3.9.4 in OMAP4430 Public TRM. Signed-off-by: Rajendra Nayak Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/pm.h |1 + arch/arm/mach-omap2/pm44xx.c | 36 2 files

[PATCH 3/4] ARM: OMAP3 PM: Enable IO Wake up

2011-10-04 Thread Vishwanath BS
Enable IO Wake up for OMAP3 as part of PM Init. Currently this has been managed in cpuidle path which is not the right place. Subsequent patch will remove IO Daisy chain handling in cpuidle path once daisy chain is handled as part of hwmod mux. Signed-off-by: Vishwanath BS --- arch/arm/mach

[PATCH 1/4] ARM: OMAP3 PM: Fix IO Daisychain sequence

2011-10-04 Thread Vishwanath BS
lling on a wrong register which is fixed in this patch. Also omap3_enable_io_chain is made non static as it's going to be used in subsequent patches. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/pm.h |1 + arch/arm/mach-omap2/pm34xx.c |6 +++--- 2 files changed, 4 i

[PATCHV2] OMAP4: OPP: add OMAP4460 definitions

2011-07-20 Thread Vishwanath BS
off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- Patch is generated against latest lo master. Changes in V2: Updated the commit log as per Nishant's comments. Patch has some checkpatch warnings related to line over 80 chars. They have been retained to keep the readability of the code.

[PATCH] OMAP4460: Hwmod: Add hwmod for thermal sensor

2011-07-05 Thread Vishwanath BS
From: Keerthy Patch adds hwmod entry for 4460 thermal sensor module. Thermal sensor module is part of Control module sharing its address space and clocked via Bandgap Functional Clock. Adding a seperate hwmod entry for thermal sensor will enable thermal sensor driver to manage its clock cleanly u

[PATCHV2] OMAP4: OPP: add OMAP4460 definitions

2011-07-03 Thread Vishwanath BS
off-by: Vishwanath BS --- Patch is generated against Patch series "[PATCH v2 0/6] OMAP4: Add 4460 base support" from Rajendra and boot tested on 4460 and 4430 SDP. Changes in V2: Updated the commit log as per Nishant's comments arch/arm/mach-omap2/control.h |

[PATCH] OMAP4: OPP: add OMAP4460 definitions

2011-07-02 Thread Vishwanath BS
rt" from Rajendra. [n...@ti.com: cleanups and updates from Datamanual] Signed-off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/control.h |1 + arch/arm/mach-omap2/omap_opp_data.h |9 ++- arch/arm/mach-omap2/opp4xxx_data.c

[RFC][PATCH 3/3] OMAP PM: Add Board specific parameters for OMAP Volatge layer

2011-03-15 Thread Vishwanath BS
This patch adds board specific parameters for ZOOM3 and OMAP4430 SDP Boards. The same needs to be done for other OMAP3 and OMAP4 boards once the approach is accepted. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/board-4430sdp.c | 52 +++ arch/arm/mach-omap2/board

[RFC][PATCH 1/3] OMAP PM: Seggregate Voltage layer parameters

2011-03-15 Thread Vishwanath BS
different kinds of PMIC and boards. TODO: Provide infrastructure to use VC I2C (I2C4) for PMIC configuration (useful for cases where PMIC is connected to OMAP only via I2C4. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/omap_opp_data.h |8 ++ arch/arm/mach-omap2/omap_twl.c

[RFC][PATCH 2/3] OMAP PM: Add support for bypassing VP/VC in Voltage layer

2011-03-15 Thread Vishwanath BS
Currently Voltage layer assumes that all PMICs use VP/VC for Voltage scaling. There can be some instances where PMIC would want to bypass VP/VC for voltage scaling. So make VOltage layer flexible enough to handle this. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/omap_twl.c |5

[RFC][PATCH 0/3] OMAP PM: Voltage layer clean up

2011-03-15 Thread Vishwanath BS
ad1f3) and tested on OMAP ZOOM3 and OMAP4430 SDP with Smartreflex enabled. Vishwanath BS (3): OMAP PM: Seggregate Voltage layer parameters OMAP PM: Add support for bypassing VP/VC in Voltage layer OMAP PM: Add Board specific parameters for OMAP Volatge layer arch/arm/mach-omap2/board-4430

[PATCH 1/3] OMAP3 PM: Deny clock gating only for safe state

2011-02-16 Thread Vishwanath BS
Currently clock gating for MPU and core are denied whenever C1 state is selected. It should be denied only when safe state is selected. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/cpuidle34xx.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH 3/3] OMAP36xx PM: Updated C state latencies for OMAP3630

2011-02-16 Thread Vishwanath BS
inactive * C5 . MPU CSWR + Core CSWR * C7 . MPU OFF + Core OFF Thanks to Nicole Chaloub and Vincent Bour for their investigation. Tested on ZOOM3 board using latest pm branch. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/board-3630sdp.c | 19 +++ arch/arm/mach-omap2

[PATCH 0/3] OMAP3 PM: CPUIdle fixes

2011-02-16 Thread Vishwanath BS
This patch series has some fixes/optimization for OMAP3 cpuidle code. Tested on ZOOM3 for cpuidle and suspend/resume with OFF mode enabled. Patches are rebased to latest kevin's pm branch (commit id: b6fb54bc4bfc396a9b982d76c1c954c974290a1a) Vishwanath BS (3): OMAP3 PM: Deny clock gating

[PATCH 2/3] OMAP3 PM: Update only enabled C states

2011-02-16 Thread Vishwanath BS
ll be initialized at omap_init_power_states. So update_states will operated only on enabled C states. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/cpuidle34xx.c | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-

[PATCH 09/13] OMAP3: Introduce voltage domain info in the hwmod structures.

2011-01-21 Thread Vishwanath BS
From: Thara Gopinath This patch adds voltage domain info in the relevant device hwmod structures so as to enable OMAP3 DVFS support. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/

[PATCH 08/13] OMAP3: cpufreq driver changes for DVFS support

2011-01-21 Thread Vishwanath BS
Changes in the omap cpufreq driver for DVFS support. Signed-off-by: Vishwanath BS Cc: Santosh Shilimkar --- arch/arm/plat-omap/cpu-omap.c | 35 --- 1 files changed, 32 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat

[PATCH 13/13] OMAP: Add DVFS Documentation

2011-01-21 Thread Vishwanath BS
Add Documentation for DVFS Framework Signed-off-by: Vishwanath BS --- Documentation/arm/OMAP/omap_dvfs | 111 ++ 1 files changed, 111 insertions(+), 0 deletions(-) create mode 100644 Documentation/arm/OMAP/omap_dvfs diff --git a/Documentation/arm/OMAP

[PATCH 07/13] OMAP3: Introduce custom set rate and get rate APIs for scalable devices

2011-01-21 Thread Vishwanath BS
From: Thara Gopinath This patch also introduces omap3_mpu_set_rate, omap3_iva_set_rate, omap3_l3_set_rate, omap3_mpu_get_rate, omap3_iva_get_rate, omap3_l3_get_rate as device specific set rate and get rate APIs for OMAP3 mpu, iva and l3_main devices. This patch also calls into omap_device_populat

[PATCH 04/13] OMAP: Introduce dependent voltage domain support

2011-01-21 Thread Vishwanath BS
as it needs to be used in the dvfs layer for dependency voltage handling. Based on original patch from Thara. Signed-off-by: Vishwanath BS Cc: Thara Gopinath --- arch/arm/mach-omap2/dvfs.c| 87 + arch/arm/mach-omap2/voltage.c | 117

[PATCH 10/13] OMAP3: Add voltage dependency table for VDD1.

2011-01-21 Thread Vishwanath BS
From: Thara Gopinath In OMAP3, for perfomrance reasons when VDD1 is at voltage above 1.075V, VDD2 should be at 1.15V for perfomrance reasons. This patch introduce this cross VDD dependency for OMAP3 VDD1. Signed-off-by: Thara Gopinath This patch has checkpatch warnings for line over 80 chars.

[PATCH 11/13] OMAP2PLUS: Replace voltage values with Macros

2011-01-21 Thread Vishwanath BS
Currently voltage values on opp tables are hardcoded. As these voltage values are anyway defined in voltage.h as macros, opp table can reuse these values. This will avoid opp table and voltage layer having conflicting values. Signed-off-by: Vishwanath BS This patch has 2 line over 80 char

[PATCH 12/13] OMAP2PLUS: Enable various options in defconfig

2011-01-21 Thread Vishwanath BS
From: Thara Gopinath This patch enables Smartreflex and Cpu Freq in the omap2plus defconfig. Signed-off-by: Thara Gopinath --- arch/arm/configs/omap2plus_defconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/confi

[PATCH 06/13] OMAP: Disable Smartreflex across DVFS

2011-01-21 Thread Vishwanath BS
From: Thara Gopinath This patch disables smartreflex for a particular voltage domain when the the voltage domain and the devices belonging to it is being scaled and re-enables it back once the scaling is done. Signed-off-by: Thara Gopinath Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2

[PATCH 03/13] OMAP: Implement Basic DVFS

2011-01-21 Thread Vishwanath BS
patch from Thara. Signed-off-by: Vishwanath BS Cc: Thara Gopinath --- arch/arm/mach-omap2/dvfs.c | 87 +++- 1 files changed, 86 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/dvfs.c b/arch/arm/mach-omap2/dvfs.c index 8832e4a..cefc2be 100755

[PATCH 05/13] OMAP: Introduce device scale implementation

2011-01-21 Thread Vishwanath BS
This patch adds omap_device_scale API which can be used to generic device rate scaling. Based on original patch from Thara. Signed-off-by: Vishwanath BS Cc: Thara Gopinath --- arch/arm/mach-omap2/dvfs.c | 116 arch/arm/plat-omap/include/plat

[PATCH 01/13] OMAP: Introduce accessory APIs for DVFS

2011-01-21 Thread Vishwanath BS
d and basic data structures are allocated and initialized as part of this. This patch is based on Thara's previous DVFS implementation, but with major rework. Signed-off-by: Vishwanath BS Cc: Thara Gopinath --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-om

[PATCH 02/13] OMAP: Introduce device specific set rate and get rate in omap_device structure

2011-01-21 Thread Vishwanath BS
error checks and finally calls into the device specific set_rate and get_rate APIs populated through omap_device_populate_rate_fns. Signed-off-by: Thara Gopinath Signed-off-by: Vishwanath BS --- arch/arm/plat-omap/include/plat/omap_device.h |9 + arch/arm/plat-omap/omap_device.c

[PATCH 00/13] OMAP: Basic DVFS Framework

2011-01-21 Thread Vishwanath BS
OMAP: Disable Smartreflex across DVFS devices OMAP3: Introduce voltage domain info in the hwmod structures. OMAP3: Add voltage dependency table for VDD1. OMAP2PLUS: Enable various options in defconfig Vishwanath BS (7): OMAP: Introduce accessory APIs for DVFS OMAP: Implement Basic

[PATCH] OMAP PM: Optimize cpufreq transition latency

2010-11-25 Thread Vishwanath BS
5 -v Signed-off-by: Vishwanath BS --- arch/arm/plat-omap/cpu-omap.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 arch/arm/plat-omap/cpu-omap.c diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c old mode 100644 new mode 1007

[PATCHv2]OMAP PM:MPU/DMA Latency constraints

2010-11-16 Thread Vishwanath BS
make the first mpu/dma latency request. Cc: Kevin Hilman Cc: Paul Walmsley Signed-off-by: Vishwanath BS The changes are rebased to latest kevin's origin/pm branch and tested on OMAP ZOOM3. --- V2: aligned the implementation with latest PM QOS APIs addressed comments from

[PATCHv3] OMAP3: SDRC : Add comments on Errata i520 for Global SW reset

2010-10-05 Thread Vishwanath BS
This patch adds comments on precatution to be taken if Global Warm reset is used as the means to trigger sysem reset. Signed-off-by: Vishwanath BS Cc: Paul Walmsley --- arch/arm/mach-omap2/prcm.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git

[PATCHv2] OMAP3: SDRC : Add comments on Errata i520 for Global SW reset

2010-10-04 Thread Vishwanath BS
This patch adds comments on precatution to be taken if Global Warm reset is used as the means to trigger sysem reset. Signed-off-by: Vishwanath BS Cc: Paul Walmsley --- arch/arm/mach-omap2/prcm.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git

[PATCH] OMAP3: SDRC : Add comments on Errata i520 for Global SW reset

2010-10-04 Thread Vishwanath BS
This patch adds comments on precatution to be taken if Global SW reset is used as the means to trigger sysem reset. Signed-off-by: Vishwanath BS Cc: Paul Walmsley --- arch/arm/mach-omap2/prcm.c | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a

[PATCH 2/2] OMAP3 PM: sleep code clean up

2010-09-24 Thread Vishwanath BS
This patch has done some clean up of omap3 sleep code. Basically all possible hardcodings are removed and code is Reorganized into more logical buckets for better readability and instrumentation. Tested on ZOOM3. Signed-off-by: Vishwanath BS Cc: Kevin Hillman Cc: linaro-...@lists.linaro.org

[PATCH 0/2] OMAP3 PM: sleep code clean up

2010-09-24 Thread Vishwanath BS
This patch series has some clean up in OMAP3 sleep code. Patches have been rebased to latest kevin's pm branch. Vishwanath BS (2): OMAP3 PM: move omap3 sleep to ddr OMAP3 PM: sleep code clean up arch/arm/mach-omap2/pm34xx.c |9 +- arch/arm/mach-omap2/sleep3

[PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-09-24 Thread Vishwanath BS
There is no need to keep omap3 sleep code in SRAM. This code can be run very well on DDR. This would help us to instrument CPUIdle latencies. Tested on ZOOM3. Signed-off-by: Vishwanath BS Cc: Kevin Hillman Cc: linaro-...@lists.linaro.org --- arch/arm/mach-omap2/pm34xx.c |9 + 1

[PATCH 2/2] OMAP3 PM: sleep code clean up

2010-09-24 Thread Vishwanath BS
This patch has done some clean up of omap3 sleep code. Basically all possible hardcodings are removed and code is Reorganized into more logical buckets for better readability and instrumentation. Tested on ZOOM3. Signed-off-by: Vishwanath BS Cc: Kevin Hillman --- arch/arm/mach-omap2

[PATCH 0/2] OMAP3 PM: sleep code clean up

2010-09-24 Thread Vishwanath BS
This patch series has some clean up in OMAP3 sleep code. Patches have been rebased to latest kevin's pm branch. Vishwanath BS (2): OMAP3 PM: move omap3 sleep to ddr OMAP3 PM: sleep code clean up arch/arm/mach-omap2/pm34xx.c |9 +- arch/arm/mach-omap2/sleep3

[PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-09-24 Thread Vishwanath BS
There is no need to keep omap3 sleep code in SRAM. This code can be run very well on DDR. This would help us to instrument CPUIdle latencies. Tested on ZOOM3. Signed-off-by: Vishwanath BS Cc: Kevin Hillman --- arch/arm/mach-omap2/pm34xx.c |9 + 1 files changed, 1 insertions(+), 8

[PATCH] OMAP3630 PM: Update C state latencies

2010-09-17 Thread Vishwanath BS
changes, gain is in power consumption is observed on some use cases. Thanks to Nicole Chaloub and Vincent Bour for their investigation. Tested on ZOOM3 board using latest pm branch. Signed-off-by: Vishwanath BS Signed-off-by: Nicole Chalhoub --- arch/arm/mach-omap2/board-zoom3.c | 19

[PATCH V2] I2C: Fix for suspend/resume issue in i2c-core

2010-09-04 Thread Vishwanath BS
system suspend as pm_runtime_set_suspended is not called from i2c_device_pm_suspend. This issue is fixed by removing pm_runtime_set_active call from resume path which is not necessary. This fix has been tested on OMAP4430. Signed-off-by: Partha Basak Signed-off-by: Vishwanath BS Cc: Rafael J

[PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-08-30 Thread Vishwanath BS
x has been tested on OMAP4430. Signed-off-by: Partha Basak Signed-off-by: Vishwanath BS Cc: Rafael J. Wysocki Cc: Kevin Hilman Cc: Ben Dooks --- drivers/i2c/i2c-core.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/

[PATCH] OMAP3 PM: Prevent Core off when DPLL3 autoidle is disabled

2010-05-28 Thread Vishwanath BS
top of i581 errata WA available@ https://patchwork.kernel.org/patch/102673/ Tested on OMAP3630 ZOOM3. Signed-off-by: Vishwanath BS --- diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index b0a5d09..5b48b6c --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2

[PATCH V3] OMAP3: PM: Workaround for DLL Lock issue

2010-05-27 Thread Vishwanath BS
From: Vishwanath BS OMAP3430/3630 has a Silicon bug because of which SDRC is released from IDLE even before Core DPLL has locked. This leads to undefined behaviour of SDRC DLL. Bug Descritpion: The root cause of the issue is that SDRC IDLEREQ is deasserted before DPLL3 has locked. Because of

[PATCH V3] OMAP3: PM: Workaround for DLL Lock issue

2010-05-27 Thread Vishwanath BS
From: Vishwanath BS OMAP3430/3630 has a Silicon bug because of which SDRC is released from IDLE even before Core DPLL has locked. This leads to undefined behaviour of SDRC DLL. Bug Descritpion: The root cause of the issue is that SDRC IDLEREQ is deasserted before DPLL3 has locked. Because of

[PATCHV3] OMAP3: SDRC : Errata 1.176 Fix - Accesses to DDR stall in SDRC after a Warm-reset

2010-04-13 Thread Vishwanath BS
-by: Teerth Reddy Signed-off-by: Vishwanath BS --- diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c index 9537f6f..ac731b2 --- a/arch/arm/mach-omap2/prcm.c +++ b/arch/arm/mach-omap2/prcm.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "cl

[PATCH] OMAP3 PM: Workaround for DPLL3 Lock issue

2010-04-09 Thread Vishwanath BS
OMAP3430/3630 has a Silicon bug because of which SDRC is released from IDLE even before Core DPLL has locked. This leads to undefined behaviour of SDRC DLL. This patch has workaround for the same. Description of WA for 3430: Initialization: Disable DPLL3 automatic mode by default. Issue

[PM-WIP-OPP][PATCH] OMAP3630 PM: Update for OPP 1GHz

2010-04-06 Thread Vishwanath BS
It is found that system is not very stable with current 1GHz OPP configuration (a...@1g, i...@880m, v...@1.31v) and it has been recommended to use below configuration for stable 1GHz OPP. (a...@1g, i...@800m, v...@1.35v). Signed-off-by: Vishwanath BS --- diff --git a/arch/arm/mach-omap2

[PM-WIP-OPP][PATCH] OMAP3 PM: Fix issue with opp_find_freq_floor

2010-04-06 Thread Vishwanath BS
opp_find_freq_floor should return the lower "enabled* OPP from a starting freq from a start opp list. But current code returns next lower opp. This patch fixes this issue. Signed-off-by: Vishwanath BS --- diff --git a/arch/arm/plat-omap/opp.c b/arch/arm/plat-omap/opp.c index bb8120e..13

[PATCHV3 1/2] OMAP3: Set MPU and IVA bypass Clock Divider

2010-03-31 Thread Vishwanath BS
frequency for the specific OPP. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock3xxx_data.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c index d5153b6..d8e57a6 --- a/arch/arm

[PATCHV3 2/2] Set MPU and IVA bypass clock dividers in DVFS

2010-03-31 Thread Vishwanath BS
Whenever VDD1 OPP is changed, MPU and Bypass clock dividers should be adjusted such that MPU/IVA is never overclocked when DPLL1/DPLL2 is in bypass mode Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/resource34xx.c | 18 -- 1 files changed, 16 insertions(+), 2 deletions

[PATCHV3 0/2] MPU/IVA bypass clock configuration

2010-03-31 Thread Vishwanath BS
frequency for the specific OPP. Typically these settings are to be done in bootloaders. All the patches have been tested on OMAP3630 ZOOM3 platform. Comments adressed in V3: 1. Used clk_set_rate API instead of directly writing to registers 2. Split the patch into 2 patches. Vishwanath BS (4

[PATCHV2] OMAP3 PM: Fix for DSP Crash at OPP 1 and 2 under DVFS+SR operation

2010-03-11 Thread Vishwanath BS
maximum supported frequency for the specific OPP Tested on 3630 ZOOM3. changes in V2 : Rebased to new OPP implementation Signed-off-by: Shweta Gulati Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/cm-regbits-34xx.h |4 ++-- arch/arm/mach-omap2/pm34xx.c | 23

[PATCHV6 1/3] OMAP3: introduce DPLL4 Jtype

2010-02-10 Thread Vishwanath BS
ZOOM3 and OMAP3430 ZOOM2 Cc: Paul Walmsley Signed-off-by: Richard Woodruff Signed-off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock.h |4 ++ arch/arm/mach-omap2/clock34xx_data.c| 32 - arch/arm/mach-omap2/clock44xx_data.c

[PATCHV6 3/3] OMAP3: add support for 192Mhz DPLL4M2 output

2010-02-10 Thread Vishwanath BS
mmary changes done are 1. Added a feature called omap3_has_192mhz_clk and enabled for 3630 2. Added a new clock node called omap_192m_alwon_ck 3. Made omap_96m_alwon_fck to derive it's clock from omap_192m_alwon_ck Cc: Paul Walmsley Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock3

[PATCHV6 2/3] OMAP3: Introduce 3630 DPLL4 HSDivider changes

2010-02-10 Thread Vishwanath BS
. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock34xx_data.c| 140 +-- arch/arm/mach-omap2/cm-regbits-34xx.h |5 + arch/arm/plat-omap/include/plat/clock.h |5 +- 3 files changed, 141 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCHV6 0/3] OMAP3630 Clock changes

2010-02-10 Thread Vishwanath BS
Jtype Vishwanath BS (3): OMAP3: Introduce 3630 DPLL4 HSDivider changes OMAP3: add support for 192Mhz DPLL4M2 output arch/arm/mach-omap2/clock.h |4 + arch/arm/mach-omap2/clock34xx_data.c| 240 --- arch/arm/mach-omap2/clock44xx_data.c|1 +

[PATCHV6 0/4] OMAP3630 Clock Changes

2010-02-08 Thread Vishwanath BS
in V5: 1. Comments from Eduardo Valentin, cosmetic changes and splitting of the patch for freqsel changes 2. Comments from Paul regarding updation of Clock nodes Comments Addressed in V6: 1. Cosmetic changes based on Comments from Alex and Paul Vishwanath BS (4): OMAP3: introduce DPLL4 Jtype

[PATCHV6 1/4] OMAP3: introduce DPLL4 Jtype

2010-02-08 Thread Vishwanath BS
Cc: Paul Walmsley Signed-off-by: Richard Woodruff Signed-off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock.h |4 ++ arch/arm/mach-omap2/clock34xx_data.c| 32 - arch/arm/mach-omap2/clock44xx_data.c|1 + arch/arm

[PATCHV6 3/4] OMAP3: Introduce 3630 DPLL4 HSDivider changes

2010-02-08 Thread Vishwanath BS
3630. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock34xx_data.c| 140 +-- arch/arm/mach-omap2/cm-regbits-34xx.h |8 ++- arch/arm/plat-omap/include/plat/clock.h |5 +- 3 files changed, 143 insertions(+), 10 deletions(-) diff --git a/arch/arm

[PATCHV6 4/4] OMAP3: add support for 192Mhz DPLL4M2 output

2010-02-08 Thread Vishwanath BS
mmary changes done are 1. Added a feature called omap3_has_192mhz_clk and enabled for 3630 2. Added a new clock node called omap_192m_alwon_ck 3. Made omap_96m_alwon_fck to derive it's clock from omap_192m_alwon_ck Cc: Paul Walmsley Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock3

[PATCHV6 2/4] OMAP3: Remove FreqSel for 3630

2010-02-08 Thread Vishwanath BS
DPLL_FREQSEL field in CLKEN_PLL register is no longer valid for OMAP3630. So remove references to that. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/dpll3xxx.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm

[PATCHV6 0/4] 3630 Clock Changes

2010-02-08 Thread Vishwanath BS
in V5: 1. Comments from Eduardo Valentin, cosmetic changes and splitting of the patch for freqsel changes 2. Comments from Paul regarding updation of Clock nodes Comments Addressed in V6: 1. Cosmetic changes based on Comments from Alex and Paul Vishwanath BS (4): OMAP3: introduce DPLL4 Jtype

[PATCHV5 1/4] OMAP3: introduce DPLL4 Jtype

2010-01-18 Thread Vishwanath BS
Cc: Paul Walmsley Signed-off-by: Richard Woodruff Signed-off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock.h |4 ++ arch/arm/mach-omap2/clock34xx_data.c| 32 - arch/arm/mach-omap2/clock44xx_data.c|1 + arch/arm

[PATCHV5 3/4] OMAP3: Introduce 3630 DPLL4 HSDivider changes

2010-01-18 Thread Vishwanath BS
3630. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock34xx_data.c| 140 +-- arch/arm/mach-omap2/cm-regbits-34xx.h |8 ++- arch/arm/plat-omap/include/plat/clock.h |5 +- 3 files changed, 143 insertions(+), 10 deletions(-) diff --git a/arch/arm

[PATCHV5 0/4] OMAP3630 Clock changes

2010-01-18 Thread Vishwanath BS
updation of Clock nodes Vishwanath BS (4): OMAP3: introduce DPLL4 Jtype OMAP3: Remove FreqSel for 3630 OMAP3: Introduce 3630 DPLL4 HSDivider changes OMAP3: add support for 192Mhz DPLL4M2 output arch/arm/mach-omap2/clock.h |4 + arch/arm/mach-omap2/clock34xx_data.c

[PATCHV5 4/4] OMAP3: add support for 192Mhz DPLL4M2 output

2010-01-18 Thread Vishwanath BS
mmary changes done are 1. Added a feature called omap3_has_192mhz_clk and enabled for 3630 2. Added a new clock node called omap_192m_alwon_ck 3. Made omap_96m_alwon_fck to derive it's clock from omap_192m_alwon_ck Cc: Paul Walmsley Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock3

[PATCHV5 2/4] OMAP3: Remove FreqSel for 3630

2010-01-18 Thread Vishwanath BS
DPLL_FREQSEL field in CLKEN_PLL register is no longer valid for OMAP3630. So remove references to that. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/dpll.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/dpll.c b/arch/arm/mach-omap2

[PATCHV4 1/4] OMAP3: introduce DPLL4 Jtype

2010-01-06 Thread Vishwanath BS
Cc: Paul Walmsley Signed-off-by: Richard Woodruff Signed-off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock.h |4 ++ arch/arm/mach-omap2/clock34xx_data.c| 26 + arch/arm/mach-omap2/clock44xx_data.c|1 + arch/arm/mach

[PATCHV4 4/4] OMAP3: add support for 192Mhz DPLL4M2 output

2010-01-06 Thread Vishwanath BS
mmary changes done are 1. Added a feature called omap3_has_192mhz_clk and enabled for 3630 2. Added a new clock node called omap_192m_alwon_ck 3. Made omap_96m_alwon_fck to derive it's clock from omap_192m_alwon_ck Cc: Paul Walmsley Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock3

[PATCHV4 2/4] OMAP3: Remove FreqSel for 3630

2010-01-06 Thread Vishwanath BS
Frequency Selection field is no longer valid for OMAP3630. So remove references to that. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/dpll.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/dpll.c b/arch/arm/mach-omap2/dpll.c index

[PATCHV4 3/4] OMAP3: Introduce 3630 DPLL4 HSDivider changes

2010-01-06 Thread Vishwanath BS
type is 3630. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock34xx_data.c| 125 ++- arch/arm/mach-omap2/cm-regbits-34xx.h |8 ++- arch/arm/plat-omap/include/plat/clock.h |1 + 3 files changed, 132 insertions(+), 2 deletions(-) diff --git a/arch

[PATCHV4 0/4] OMAP3630 Clock changes

2010-01-06 Thread Vishwanath BS
in V4: 1. Remove sd_div_mask and dco_sel_mask 2. Remove reference to FREQSEL for 3630 3. Avoid dynamically overwriting Fields in Clock nodes Vishwanath BS (4): introduce DPLL4 Jtype Remove FreqSel for 3630 Introduce 3630 DPLL4 HSDivider changes add support for 192Mhz DPLL4M2 output arch

[PATCH] OMAP3 PM: Disable SR only during Device Retention/OFF

2010-01-06 Thread Vishwanath BS
power savings in MP3 usecase (where Core enters retention where as PER does not). Tested OMAP3430 ZOOM2 Signed-off-by: Vishwanath BS --- diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 3868cdf..13c5dfb --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2

[PATCHV4 1/3] OMAP3: introduce DPLL4 Jtype

2010-01-04 Thread Vishwanath BS
removed for 3630. Tested with 3630 ZOOM3 and OMAP3430 ZOOM2 Cc: Paul Walmsley Signed-off-by: Richard Woodruff Signed-off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock.h |3 ++ arch/arm/mach-omap2/clock34xx_data.c|2 + arch/arm/mach-omap2

[PATCHV4 3/3] OMAP3: add support for 192Mhz DPLL4M2 output

2010-01-04 Thread Vishwanath BS
On 3630, DPLL4M2 o/p can be 96MH or 192MHz (for SGX to run at 192). This patch has changes to support this feature. 96MHz clock is generated by dividing 192Mhz clock by 2 using CM_CLKSEL_CORE register. Cc: Paul Walmsley Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock34xx_data.c

[PATCHV4 2/3] OMAP3: Correct width for CLKSEL Fields

2010-01-04 Thread Vishwanath BS
DPLL4 M, M3, M4, M5 and M6 field width has been increased by 1 bit in 3630. This patch has changes to accommodate this in CM dynamically based on chip version. Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock34xx_data.c| 153 ++- arch/arm/mach-omap2

[PATCHV4 0/3] OMAP3: 3630 Clock Changes

2010-01-04 Thread Vishwanath BS
sd_div_mask and dco_sel_mask 2. Remove reference to FREQSEL for 3630 3. Avoid dynamically overwriting Fields in Clock nodes Vishwanath BS (3): OMAP3: introduce DPLL4 Jtype OMAP3: Correct width for CLKSEL Fields OMAP3: add support for 192Mhz DPLL4M2 output arch/arm/mach-omap2/clock.h

[PATCH]OMAP3 PM: Fix for DSP Crash at OPP 1 and 2 under DVFS+SR operation

2009-12-04 Thread Vishwanath BS
clock. For other OPPs select CORECLK/2 (CORECLK/1 for 3630) as DPLL1 bypass clock. These configurations are typically set in bootloader. However bootloaders may mess up configuration and kernel with this chang ensures that system is in a known state. Signed-off-by: Vishwanath BS

[PATCHV2 1/4] OMAP3: introduce DPLL4 Jtype

2009-11-25 Thread Vishwanath BS
-by: Richard Woodruff Signed-off-by: Nishanth Menon Signed-off-by: Vishwanath BS --- arch/arm/mach-omap2/clock34xx.c | 51 ++- arch/arm/mach-omap2/cm-regbits-34xx.h |6 +++- arch/arm/mach-omap2/id.c|4 ++- arch/arm/plat-omap/include

  1   2   >