[PATCHv2 5/8] OMAP3: PM: Adding smartreflex hwmod data

2010-08-13 Thread Thara Gopinath
This patch adds the smartreflex hwmod data for OMAP3430 and OMAP3630. A dev_attr is also added to the hwmod structure for each smartreflex module which contains SoC specific info like the efuse offsets, test n-values etc. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2

[PATCHv2 2/8] OMAP3: PM: Adding voltage driver support for OMAP3

2010-08-13 Thread Thara Gopinath
ot; the choice being configurable through the board file. This patch contains code originally in linux omap pm branch smartreflex driver. Major contributors to this driver are Lesly A M, Rajendra Nayak, Kalle Jokiniemi, Paul Walmsley, Nishant Menon, Kevin Hilman. Signed-off-by: Thara Gopinath

[PATCHv2 6/8] OMAP3: PM: Adding smartreflex class3 driver

2010-08-13 Thread Thara Gopinath
implementations out of the generic driver. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board-3430sdp.c |2 + arch/arm/mach-omap2/board-3630sdp.c |2 + arch/arm/mach-omap2/board-zoom3.c|2 + arch/arm/mach

[PATCHv2 7/8] OMAP3: PM: Adding T2 enabling of smartreflex support

2010-08-13 Thread Thara Gopinath
This patch adds support in the twl4030 driver to hook up the API enabling smartreflex support on PMIC side with the smartreflex driver. Without this the OMAP smartreflex modules will not function. Signed-off-by: Thara Gopinath --- drivers/mfd/twl-core.c |7 +-- drivers/mfd/twl4030

[PATCHv2 3/8] OMAP3: PM: Adding smartreflex driver support.

2010-08-13 Thread Thara Gopinath
on feature echo 0 > /debugfs/pm_debug/smartreflex/sr_/autocomp where X can be mpu, core , iva etc. This patch contains code originally in linux omap pm branch. Major contributors to this driver are Lesly A M, Rajendra Nayak, Kalle Jokiniemi, Paul Walmsley, Nishant Menon, Kevin Hilman. S

[PM-OPP][PATCH] OMAP: Modifying the frequency comparison logic.

2010-08-13 Thread thara gopinath
From: Thara Gopinath In the current opp layer the frequency matching API's tries to match the exact frequency passed in Hz. This leads to problems in cases where dplls are locked to slightly differnet frequencies due to sys clock speed or optimum M,N values. Consider the following sce

[PATCH] OMAP4: pm.c extensions for OMAP4 support

2010-08-16 Thread Thara Gopinath
to omap2_get_iva_device, registers dsp_dev for OMAP4 and adds a new API omap4_get_dsp_device to retrieve the dep_dev. This patch also registers the device "l3_main_1" as the l3 device in case of OMAP4 and retains traditional "l3_main" in case of OMAP2/3 Signed-off-by: Thara Gop

RE: [PATCH] OMAP4: pm.c extensions for OMAP4 support

2010-08-16 Thread Gopinath, Thara
>>-Original Message- >>From: Cousson, Benoit >>Sent: Monday, August 16, 2010 7:23 PM >>To: Gopinath, Thara >>Cc: linux-omap@vger.kernel.org; khil...@deeprootsystems.com; p...@pwsan.com; >>Sripathy, Vishwanath; >>Sawant, Anand >>Subje

[PATCH v2] OMAP4: pm.c extensions for OMAP4 support

2010-08-16 Thread Thara Gopinath
to omap2_get_iva_device, registers dsp_dev for OMAP4 and adds a new API omap4_get_dsp_device to retrieve the dep_dev. Signed-off-by: Thara Gopinath --- v2: Removed fixing of l3_main hwmod for OMAP4 as Benoit has already submitted a pach fixing the same. arch/arm/mach-omap2/pm.c

RE: [PATCH 2/4] mfd: twl-core: switch over to defines in twl.h

2010-08-17 Thread Gopinath, Thara
>>-Original Message- >>From: linux-omap-ow...@vger.kernel.org >>[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of >>felipe.ba...@nokia.com >>Sent: Wednesday, August 18, 2010 11:50 AM >>To: Samuel Ortiz >>Cc: linux-ker...@vger.kernel.org; linux-omap@vger.kernel.org; Tony Lindgren; >

OMAP2PLUS dpll rate calculation.

2010-08-17 Thread Gopinath, Thara
Hello Paul/Kevin, Recently I noticed that the dpll rate calculation code in arch/arm/mach-omap2/clkt_dpll.c is as follows dpll_clk = (long long)dd->clk_ref->rate * dpll_mult; do_div(dpll_clk, dpll_div + 1); But the actual trm for both OMAP3 and OMAP4 (I believe this is true for O

RE: [PATCH 2/4] mfd: twl-core: switch over to defines in twl.h

2010-08-18 Thread Gopinath, Thara
>>-Original Message- >>From: Felipe Balbi [mailto:felipe.ba...@nokia.com] >>Sent: Wednesday, August 18, 2010 12:29 PM >>To: Gopinath, Thara >>Cc: Balbi Felipe (Nokia-MS/Helsinki); Samuel Ortiz; >>linux-ker...@vger.kernel.org; linux- >>o...@vge

RE: [PATCH 2/4] mfd: twl-core: switch over to defines in twl.h

2010-08-18 Thread Gopinath, Thara
>>-Original Message- >>From: Gopinath, Thara >>Sent: Wednesday, August 18, 2010 12:33 PM >>To: 'felipe.ba...@nokia.com' >>Cc: Samuel Ortiz; linux-ker...@vger.kernel.org; linux-omap@vger.kernel.org; >>Tony Lindgren; Andrew >>Morton >

[PATCH 00/10] OMAP4: Smartreflex and Voltage layer support

2010-08-18 Thread Thara Gopinath
From: thara gopinath This patch series adds support for OMAP4 support in the smartreflex and voltage layer. The series involves extensions to voltage layer and smartreflex layer for supporting OMAP4. In addition it involves changes to pm debugfs layer to support OMAP4 so that smartreflex and

[PATCH 02/10] OMAP4: OPP framework support

2010-08-18 Thread Thara Gopinath
This patch allows the compilation of the generic opp layer for OMAP4 also. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile index 852fa33..cbf8f2e

[PATCH 01/10] OMAP4: PM debugfs support

2010-08-18 Thread Thara Gopinath
: Thara Gopinath --- arch/arm/mach-omap2/pm-debug.c | 53 ++- 1 files changed, 46 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 05fe48b..0b2eaa6 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b

[PATCH 03/10] OMAP4: Add the new voltage to vsel calculation formula

2010-08-18 Thread Thara Gopinath
TWL6030 the power IC used along with OMAP4 in OMAP4 SDPs, blaze boards and panda boards has a different formula from that of TWL4030 for voltage to vsel and vsel to voltage calculation. This patch implements the new formula depending on the PMIC type. Signed-off-by: Thara Gopinath --- arch/arm

[PATCH 04/10] OMAP4: Extend clock data.

2010-08-18 Thread Thara Gopinath
This patch extends the OMAP4 clock data to include various x2 clockc nodes as the clock framework skips a *2 whie calculating the dpll locked frequency. Signed-off-by: Thara Gopinath --- This patch has a checkpatch.pl warning due to the clock data base omap44xx_clks having all the entries

[PATCH 08/10] OMAP4: Smartreflex framework extensions

2010-08-18 Thread Thara Gopinath
aligned address. Hence the 8-bit read and shift. Signed-off-by: Thara Gopinath --- This patch has a checkpatch warning which has been already acknowledged as a false positive by the checkpatch.pl maintainer Andy Whitcroft http://lkml.org/lkml/2010/8/18/123 arch/arm/mach

[PATCH 07/10] OMAP4: Adding dev atrributes to OMAP4 smartreflex hwmod data

2010-08-18 Thread Thara Gopinath
This patch adds dev attributes for smartreflex modules in the OMAP4 hwmod database. This patch also updates the smartreflex rev in the smartreflex class data structure in the OMAP4 hwmod database. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 56

[PATCH 10/10] OMAP4: Add opp tables.

2010-08-18 Thread Thara Gopinath
This patch adds OPP tables for OMAP4. A new file opp44xx.c has been added to keep the OMAP4 opp tables and the registeration of these tables with the generic opp framework. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/opp44xx.h | 26

[PATCH 06/10] OMAP4: hwmod: Add inital data for smartreflex modules.

2010-08-18 Thread Thara Gopinath
From: Benoit Cousson This patch adds the hwmod details to OMAP4 smartreflex modules. Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 164 1 files changed, 164 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod

[PATCH 05/10] OMAP4: Adding voltage driver support

2010-08-18 Thread Thara Gopinath
This patch adds voltage driver support for OMAP4. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/voltage.c | 246 - arch/arm/plat-omap/include/plat/voltage.h | 20 +++- 3 files changed, 264

[PATCH 09/10] OMAP4: Enabling smartrefles class 3 driver.

2010-08-18 Thread Thara Gopinath
This patch enables smartreflex class3 mode of operation for OMAP4430 SDP board. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/board-4430sdp.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board

[PATCH 00/13] OMAP: Basic DVFS framework

2010-08-18 Thread Thara Gopinath
From: thara gopinath This patch series introduces support for support of Dynamic Voltage and Frequency Scaling (DVFS) for OMAP devices. DVFS is a technique that uses the optimal operating frequency and voltage to allow a task to be performed in the required amount of time. OMAP processors have

[PATCH 01/13] OMAP: Introduce a user list for each voltage domain instance in the voltage driver.

2010-08-18 Thread Thara Gopinath
info to the user list and returns back the maximum voltage requested by all the user devices. This can be used anytime to get the voltage that the voltage domain instance can be transitioned into. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/voltage.c | 94

[PATCH 02/13] OMAP: Introduce API in the OPP layer to find the opp entry corresponding to a voltage.

2010-08-18 Thread Thara Gopinath
This patch adds an API in the opp layer to get the opp table entry corresponding to the voltage passed as the parameter. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/include/plat/opp.h |8 arch/arm/plat-omap/opp.c | 28 2 files

[PATCH 03/13] OMAP: Introduce voltage domain information in the hwmod structures

2010-08-18 Thread Thara Gopinath
This patch extends the device hwmod structure to contain info about the voltage domain to which the device belongs to. This is needed to support a device based DVFS where the device knows which voltage domain it belongs to. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/include/plat

[PATCH 04/13] OMAP: Introduce API to return a device list associated with a voltage domain

2010-08-18 Thread Thara Gopinath
approach makes it easy during dvfs to scale all the devices associated with a voltage domain and then scale the voltage domain. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/include/plat/opp.h |9 + arch/arm/plat-omap/opp.c | 28 2

[PATCH 08/13] OMAP: Introduce device set_rate and get_rate.

2010-08-18 Thread Thara Gopinath
This patch adds omap_device_set_rate and omap_device_get_rate API's which can be used to generic device rate scaling. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/include/plat/omap_device.h |3 + arch/arm/plat-omap/omap_device.c | 74 + 2

[PATCH 09/13] OMAP: Disable smartreflex across DVFS

2010-08-18 Thread 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 --- arch/arm/mach-omap2/voltage.c |7 +++ 1 files changed, 7

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

2010-08-18 Thread Thara Gopinath
these dependencies for a voltage domain. This patch also adds support to scale the dependent vdd and the scalable devices belonging to it during the scaling of a main vdd through omap_voltage_scale. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/voltage.c | 122

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

2010-08-18 Thread 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 --- arch/arm/mach-omap2/voltage.c | 19 +++ 1 files changed, 19

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

2010-08-18 Thread 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/mach-omap2

[PATCH 11/13] OMAP3: Update cpufreq driver to use the new set_rate API

2010-08-18 Thread Thara Gopinath
This patch updates the cpufreq driver to use the device set rate API to scale the mpu frequency for OMAP3. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/cpu-omap.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat

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

2010-08-18 Thread Thara Gopinath
to register various set_rate and get_rate APIs with the generic opp framework. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/cpufreq34xx.c | 104 + 1 files changed, 104 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cpufreq34xx.c b

[PATCH 06/13] OMAP: Voltage layer changes to support DVFS.

2010-08-18 Thread Thara Gopinath
associated with the the voltage domain to the rate corresponding to the new voltage and scale the voltage domain to the new voltage. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/voltage.c | 71 + arch/arm/plat-omap/include/plat/voltage.h |2 + 2

[PATCH 05/13] OMAP: Introduce device specific set rate and get rate in device opp structures.

2010-08-18 Thread Thara Gopinath
APIs populated through opp_populate_rate_fns. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/include/plat/opp.h | 28 +- arch/arm/plat-omap/opp.c | 103 + 2 files changed, 130 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat

RE: [PATCH 2/4] mfd: twl-core: switch over to defines in twl.h

2010-08-18 Thread Gopinath, Thara
>>-Original Message- >>From: Felipe Balbi [mailto:felipe.ba...@nokia.com] >>Sent: Wednesday, August 18, 2010 12:46 PM >>To: Balbi Felipe (Nokia-MS/Helsinki) >>Cc: Gopinath, Thara; Samuel Ortiz; linux-ker...@vger.kernel.org; >>linux-omap@vger.kernel

[PATCHv2 0/3] OMAP3: PM: OMAP3630 support for smartreflex driver

2010-03-30 Thread Thara Gopinath
origin/pm-wip-opp branch. Thara Gopinath (3): OMAP3: PM: Fix crash when enabling SmartReflex on non-supported OMAPs. OMAP3: PM: Smartreflex IP update changes for OMAP3630 OMAP3: PM: Adding OMAP3630 support in smartreflex driver arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 47 +-

[PATCHv2 2/3] OMAP3: PM: Smartreflex IP update changes for OMAP3630

2010-03-30 Thread Thara Gopinath
. 5. Removal of clockactivity bits in ERRCONFIG and introduction of idlemode and wakeupenable bits in ERRCONFIG. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 211 - arch/arm/mach-omap2/smartreflex.h | 45 +++-- 2 files changed

[PATCHv2 1/3] OMAP3: PM: Fix crash when enabling SmartReflex on non-supported OMAPs.

2010-03-30 Thread Thara Gopinath
on is_sr_reset flag and setting and unsetting this flag appropriately this crash is fixed in this patch. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCHv2 3/3] OMAP3: PM: Adding OMAP3630 support in smartreflex driver

2010-03-30 Thread Thara Gopinath
, vpx_config errorgain field and vpx_vlimitto vddmax and vddmin fields. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 47 +- arch/arm/mach-omap2/smartreflex.c | 38 --- arch/arm/mach-omap2/smartreflex.h |5 +- arch

[PATCHv3 00/22] OMAP3: PM: Smartreflex and voltage revamp

2010-04-16 Thread Thara Gopinath
t yet applied onto this branch. http://patchwork.kernel.org/patch/81504/ http://patchwork.kernel.org/patch/81606/ This patch series has been tested on OMAP3430 SDP with basic power management tests including the dvfs scripts. Thara Gopinath (22): OMAP3: PM: Adding hwmod dat

[PATCHv3 07/22] OMAP3: PM: Smartreflex class related changes for smartreflex.c

2010-04-16 Thread Thara Gopinath
: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 259 arch/arm/mach-omap2/smartreflex.h | 44 ++- 2 files changed, 181 insertions(+), 122 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index

[PATCHv3 02/22] OMAP3: PM: Create list to keep track of various smartreflex instances.

2010-04-16 Thread Thara Gopinath
This patch removes the pointer sr1, sr2 in smartreflex.c and instead creatse a list for keeping track of multiple smartreflex instances.. This makes it scalable for next gen OMAPs where there are more than two smartreflex modules. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2

[PATCHv3 01/22] OMAP3: PM: Adding hwmod data for Smartreflex

2010-04-16 Thread Thara Gopinath
This patch adds the hwmod strucutres and other hwmod data for OMAP3 Smartreflex IP's. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 135 arch/arm/mach-omap2/smartreflex.h | 33 +++ 2 files changed, 168 inser

[PATCHv3 08/22] OMAP3: PM: Adding smartreflex class 3 driver.

2010-04-16 Thread Thara Gopinath
This patch adds smartreflex class 3 driver. This driver hooks up with the generic smartreflex driver smartreflex.c to abstract out class specific implementations out of the generic driver. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2

[PATCHv3 15/22] OMAP3: PM: Support for enabling smartreflex autocompensation by default.

2010-04-16 Thread Thara Gopinath
is kept in smartreflex.c itself.Later an API can be added so that the decision to enable autocompensation by default can be passed from the corresponding board files. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c |5 + arch/arm/mach-omap2/sr_device.c | 16

[PATCHv3 12/22] OMAP3: PM: Minimizing the passing around of sr id in smartreflex.c

2010-04-16 Thread Thara Gopinath
This patch ensures that sr id is passed as a parameter only to public APIs in smartreflex.c and other APIs in smartreflex.c uses the omap_sr strucutres. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 36 +--- 1 files changed, 13

[PATCHv3 05/22] OMAP3: PM: Remove OPP id dependency from smartreflex driver

2010-04-16 Thread Thara Gopinath
rated out later. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 201 +++-- arch/arm/mach-omap2/smartreflex.h | 21 +++- arch/arm/mach-omap2/sr_device.c | 39 ++- 3 files changed, 129 insertions(+), 132 deletions(-) diff --git a/arch

[PATCHv3 18/22] OMAP3: PM: Optional reset of voltage during Smartreflex disable.

2010-04-16 Thread Thara Gopinath
: Thara Gopinath --- arch/arm/mach-omap2/pm34xx.c |4 ++-- arch/arm/mach-omap2/smartreflex-class3.c |5 +++-- arch/arm/mach-omap2/smartreflex.c| 10 +++--- arch/arm/mach-omap2/smartreflex.h|4 ++-- 4 files changed, 14 insertions(+), 9 deletions(-) diff

[PATCHv3 16/22] OMAP3: PM: Correcting accessing of ERRCONFIG register in smartreflex.c

2010-04-16 Thread Thara Gopinath
Nishanth Menon. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 11 +++ arch/arm/mach-omap2/smartreflex.h |6 ++ 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 56a8005

[PATCHv3 20/22] OMAP3: PM: VP force update method of voltage scaling

2010-04-16 Thread Thara Gopinath
This patch introduces VP force update method of voltage scaling and enables it by default. The older method of vc bypass is now configuratble through a menu config option. VP force update is the hardware recommended method of voltage scaling. Signed-off-by: Thara Gopinath --- arch/arm/mach

[PATCHv3 09/22] OMAP3: PM: Creating separate files for handling OMAP3 voltage related operations.

2010-04-16 Thread Thara Gopinath
support both Class 2 and Class 3 smartreflex implementaions. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |3 +- arch/arm/mach-omap2/board-3430sdp.c |3 +- arch/arm/mach-omap2/pm.h |7 - arch/arm/mach-omap2/pm34xx.c | 87

[PATCHv3 17/22] OMAP3: PM: Implement latest h/w recommendations for SR and VP registers and SR VP enable disable sequence.

2010-04-16 Thread Thara Gopinath
smartreflex and voltage processor enable disable sequences as per the latest recommendations. These recommendations were first formed based on experimentations on N900 platform and were implemented in the N900 codebase base first by Nishanth Menon and Paul Walmsley. Signed-off-by: Thara Gopinath

[PATCHv3 21/22] OMAP3: PM: Enabling Smartreflex Class 3 driver by default in pm defconfig

2010-04-16 Thread Thara Gopinath
This patch enables smartreflex class 3 driver in omap3_pm_defconfig. Signed-off-by: Thara Gopinath --- arch/arm/configs/omap3_pm_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap3_pm_defconfig b/arch/arm/configs/omap3_pm_defconfig index

[PATCHv3 22/22] OMAP3: PM: Fix crash when enabling SmartReflex on non-supported OMAPs.

2010-04-16 Thread Thara Gopinath
clocks are not turned on. By checking on is_sr_reset flag and setting and unsetting this flag appropriately this crash is fixed in this patch. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 93 +++-- 1 files changed, 47 insertions(+), 46

[PATCHv3 11/22] OMAP3: PM: Removing VP1, VP2, SR1 and SR2 defintions.

2010-04-16 Thread Thara Gopinath
This patch removes VP1, VP2, SR1 and SR2 macros and replaces them with VDD1 and VDD2 macros. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/pm34xx.c |8 +++--- arch/arm/mach-omap2/smartreflex-class3.c |4 +- arch/arm/mach-omap2/smartreflex.c| 26

[PATCHv3 10/22] OMAP3: PM: Adding voltage table support in voltage driver.

2010-04-16 Thread Thara Gopinath
Gopinath --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |7 +- arch/arm/mach-omap2/smartreflex.c | 27 + arch/arm/mach-omap2/smartreflex.h | 13 + arch/arm/mach-omap2/sr_device.c| 42 ++-- arch/arm/mach-omap2/voltage.c | 93

[PATCHv3 13/22] OMAP3: PM: Cleaning up of smartreflex header file.

2010-04-16 Thread Thara Gopinath
This patch cleans up smartreflex.h removing all unnecessary and duplicate definitions. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.h | 96 + 1 files changed, 55 insertions(+), 41 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCHv3 14/22] OMAP3: PM: Configurations for Smartreflex Class 2 and Smartreflex Class 3

2010-04-16 Thread Thara Gopinath
rrupt handler and notification of interrupts in case requested by the smartreflex class driver. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex-class3.c |7 + arch/arm/mach-omap2/smartreflex.c| 253 +++--- arch/arm/mach-omap2/smartreflex.h|

[PATCHv3 19/22] OMAP3: PM: Disabling Smartreflex across both frequency and voltage scaling during DVFS.

2010-04-16 Thread Thara Gopinath
changes in SRF to adapt to the new smartreflex and voltage driver. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/resource34xx.c | 27 ++- arch/arm/mach-omap2/resource34xx.h |1 - 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCHv3 04/22] OMAP3: PM: Move smartreflex autocompensation enable disable hooks to PM debugfs.

2010-04-16 Thread Thara Gopinath
Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/pm-debug.c|4 +- arch/arm/mach-omap2/smartreflex.c | 114 ++-- arch/arm/mach-omap2/smartreflex.h |2 + 3 files changed, 36 insertions(+), 84 deletions(-) diff --git a/arch/arm/mach-omap2/pm-debug.c

[PATCHv3 03/22] OMAP3: PM: Convert smartreflex driver into a platform driver using hwmods and omap-device layer

2010-04-16 Thread Thara Gopinath
This patch converts the exisitng smartreflex library into a platform driver with device , driver registrations using hardware mods. As part of this Ntarget values are passed as platform data. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2

[PATCHv3 06/22] OMAP3: PM: Correcting API names in samrtreflex driver.

2010-04-16 Thread Thara Gopinath
This patch corrects typo in some of the API names in smartreflex driver. It also renames enable_smartreflex, disable_smartreflex APIs to omap_smartreflex_enable and omap_smartreflex_disable to be more consistent with rest of the API's in the driver code. Signed-off-by: Thara Gopinath ---

[PATCHv3 0/2] OMAP3: PM: OMAP3630 support for smartreflex driver

2010-04-16 Thread Thara Gopinath
patch series. This patch series has been tested on OMAP3630 SDP board with CONFIG_OMAP_SMARTREFLEX_TESTING option enabled in the menuconfig. This patch series has been based on Kevin's PM tree origin/pm-wip-opp branch. Thara Gopinath (2): OMAP3: PM: Smartreflex IP update changes for OMA

[PATCHv3 1/2] OMAP3: PM: Smartreflex IP update changes for OMAP3630

2010-04-16 Thread Thara Gopinath
. 5. Removal of clockactivity bits in ERRCONFIG and introduction of idlemode and wakeupenable bits in ERRCONFIG. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 215 +++-- arch/arm/mach-omap2/smartreflex.h | 44 +++-- 2 files changed

[PATCHv3 2/2] OMAP3: PM: Adding OMAP3630 support in smartreflex driver

2010-04-16 Thread Thara Gopinath
, vpx_config errorgain field and vpx_vlimitto vddmax and vddmin fields. 4. Adding 3630 voltage tables in voltage.c Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/board-3630sdp.c|2 + arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 86 +++- arch/arm/mach

[PM-WIP-SR][PATCH] OMAP3: PM: Separating PMIC specific part out of smartreflex driver

2010-04-23 Thread Thara Gopinath
nux-omap&m=127167610420379&w=2 Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/smartreflex.c | 34 +++--- arch/arm/mach-omap2/smartreflex.h | 22 -- arch/arm/mach-omap2/twl4030.c | 26 ++ arch/arm/mach-omap2/tw

RE: [PATCHv3 00/22] OMAP3: PM: Smartreflex and voltage revamp

2010-04-30 Thread Gopinath, Thara
>>-Original Message- >>From: Kevin Hilman [mailto:khil...@deeprootsystems.com] >>Sent: Wednesday, April 28, 2010 12:48 AM >>To: Gopinath, Thara >>Cc: linux-omap@vger.kernel.org; p...@pwsan.com; Cousson, Benoit; Sripathy, >>Vishwanath; Sawant, Anand

RE: [PATCHv3 18/22] OMAP3: PM: Optional reset of voltage during Smartreflex disable.

2010-05-05 Thread Gopinath, Thara
>>-Original Message- >>From: Kevin Hilman [mailto:khil...@deeprootsystems.com] >>Sent: Wednesday, April 28, 2010 12:45 AM >>To: Gopinath, Thara >>Cc: linux-omap@vger.kernel.org; p...@pwsan.com; Cousson, Benoit; Sripathy, >>Vishwanath; Sawant, Anand

RE: [PATCHv3 12/22] OMAP3: PM: Minimizing the passing around of sr id in smartreflex.c

2010-05-13 Thread Gopinath, Thara
>>-Original Message- >>From: Kevin Hilman [mailto:khil...@deeprootsystems.com] >>Sent: Wednesday, April 28, 2010 12:32 AM >>To: Gopinath, Thara >>Cc: linux-omap@vger.kernel.org; p...@pwsan.com; Cousson, Benoit; Sripathy, >>Vishwanath; Sawant, Anand

[PATCH 0/9] OMAP: DMTIMER: Convert platform driver so as to make use of hwmod + omap device framework for OMAP2 PLUS

2010-05-29 Thread Thara Gopinath
and OMAP4 autogenerated hwmod data base. It would be great if somebody could test these patches on OMAP1 and OMAP2 platforms. Thara Gopinath (9): OMAP: Convert dual mode timer into a platform driver. OMAP1: Dual mode timer device registration. OMAP2/3/4 : Dual mode timer device registratio

[PATCH 8/9] OMAP2: Add hwmod data for OMAP2430 dual mode timers.

2010-05-29 Thread Thara Gopinath
This patch adds OMAP2430 dual mode timers hwmod structures. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 619 +++- 1 files changed, 618 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm

[PATCH 5/9] OMAP2/3/4: Adding device names to dmtimer fclk nodes

2010-05-29 Thread Thara Gopinath
This patch adds device name info to OMAP2/3/4 dmtimer fclk nodes so that the fclk nodes can be retrieved by doing a clk_get with the corresponding device pointers. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/clock2420_data.c | 24 arch/arm/mach-omap2

[PATCH 2/9] OMAP1: Dual mode timer device registration.

2010-05-29 Thread Thara Gopinath
This patch converts OMAP1 dual mode timers into platform devices and adds support for registering them through generic linux platform device layer. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap1/Makefile |1 + arch/arm/mach-omap1/dmtimers.c | 148

[PATCH 9/9] OMAP4: Changing dmtimer1 fclk name

2010-05-29 Thread Thara Gopinath
This patch changes the dmtimer1 fclk name so that it is in sync with the autogenerated OMAP4 hwmod database.Without this change this patch series will not boot on OMAP4. This is a temporary hack patch till a proper cleanup of OMAP4 clock database is done. Signed-off-by: Thara Gopinath --- arch

[PATCH 6/9] OMAP3: Add hwmod data for OMAP3 dual mode timers.

2010-05-29 Thread Thara Gopinath
This patch adds OMAP3 dual mode timers hwmod structures. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 572 +++- 1 files changed, 571 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach

[PATCH 1/9] OMAP: Convert dual mode timer into a platform driver.

2010-05-29 Thread Thara Gopinath
so that early timer devices required during system boot up can be initialized very early on. Signed-off-by: Thara Gopinath --- arch/arm/plat-omap/dmtimer.c | 401 - arch/arm/plat-omap/include/plat/dmtimer.h | 12 +- 2 files changed, 176 insertions

[PATCH 7/9] OMAP2: Add hwmod data for OMAP2420 dual mode timers.

2010-05-29 Thread Thara Gopinath
This patch adds OMAP2420 dual mode timers hwmod structures. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 619 +++- 1 files changed, 618 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c b/arch/arm

[PATCH 4/9] OMAP2: Support for early device registration

2010-05-29 Thread Thara Gopinath
istered as early devices. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/io.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 3bf1cb4..edf1146 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arc

[PATCH 3/9] OMAP2/3/4 : Dual mode timer device registration.

2010-05-29 Thread Thara Gopinath
system boot up sequence. Later during normal plaform_device_register these are converted to normal platform device. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |3 +- arch/arm/mach-omap2/dmtimers.c | 296 arch/arm/mach-omap2/dmtimers.h

[PATCH 3/8] OMAP3: PM: Adding smartreflex device file.

2010-05-29 Thread Thara Gopinath
autocompensation needs to be enabled on init or not. Currently auocompensation is enabled on init by default for OMAP3430 ES3.1 chip. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile|2 +- arch/arm/mach-omap2/sr_device.c | 177 +++ 2 files

[PATCH 8/8] OMAP3: PM: Adding debug support to Voltage and Smartreflex drivers

2010-05-29 Thread Thara Gopinath
> /pm_debug/enable_sr_vp_debug The voltage parameters can be viewed at /pm_debug/Voltage/VDD/ and the smartreflex parameters can be viewed at /pm_debug/Smartreflex/SR/ where is 1 or 2 for OMAP3. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/pm-debug.c|

[PATCH 0/8] OMAP3: Adding Smartreflex and Voltage driver support

2010-05-29 Thread Thara Gopinath
enabled. System type -> TI OMAP Implementations -> Smartreflex Support System type -> TI OMAP Implementations -> Class 3 mode of Smartreflex Implementation Device Drivers -> Multifunction device drivers -> Support power resources on TWL4030 family

[PATCH 5/8] OMAP3: PM: Adding smartreflex class3 driver

2010-05-29 Thread Thara Gopinath
implementations out of the generic driver. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board-3430sdp.c |2 + arch/arm/mach-omap2/board-3630sdp.c |2 + arch/arm/mach-omap2/board-zoom3.c|2 + arch/arm/mach

[PATCH 6/8] OMAP3: PM: Adding T2 enabling of smartreflex support

2010-05-29 Thread Thara Gopinath
This patch adds support in the twl4030 driver to hook up the API enabling smartreflex support on PMIC side with the smartreflex driver. Without this the OMAP smartreflex modules will not function. Signed-off-by: Thara Gopinath --- drivers/mfd/twl-core.c |7 +-- drivers/mfd/twl4030

[PATCH 4/8] OMAP3: PM: Adding smartreflex hwmod data

2010-05-29 Thread Thara Gopinath
This patch adds the smartreflex hwmod data for OMAP3430 and OMAP3630. A dev_attr is also added to the hwmod structure for each smartreflex module which contains SoC specific info like the efuse offsets, test n-values etc. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2

[PATCH 7/8] OMAP: PM: Allowing an early init of pm debugfs driver.

2010-05-29 Thread Thara Gopinath
early on before any pm drivers. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/pm-debug.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 4280006..b239c16 100644 --- a/arch/arm/mach-omap2/pm

[PATCH 1/8] OMAP3: PM: Adding voltage driver support for OMAP3

2010-05-29 Thread Thara Gopinath
ot; the choice being configurable through the board file. This patch contains code originally in linux omap pm branch smartreflex driver. Major contributors to this driver are Lesly A M, Rajendra Nayak, Kalle Jokiniemi, Paul Walmsley, Nishant Menon, Kevin Hilman. Signed-off-by: Thara Gopinath

[PATCH 2/8] OMAP3: PM: Adding smartreflex driver support.

2010-05-29 Thread Thara Gopinath
on feature echo 0 > /debugfs/pm_debug/Smartreflex/SR/autocomp This patch contains code originally in linux omap pm branch. Major contributors to this driver are Lesly A M, Rajendra Nayak, Kalle Jokiniemi, Paul Walmsley, Nishant Menon, Kevin Hilman. Signed-off-by: Thara Gopi

[PATCH 4/4] OMAP3: PM: Enabling Smartreflex Class 3 driver by default in pm defconfig

2010-05-29 Thread Thara Gopinath
This patch enables smartreflex class 3 driver in omap3_pm_defconfig. Signed-off-by: Thara Gopinath --- arch/arm/configs/omap3_pm_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap3_pm_defconfig b/arch/arm/configs/omap3_pm_defconfig index

[PATCH 2/4] OMAP3: PM: Disabling Smartreflex across both frequency and voltage scaling during DVFS.

2010-05-29 Thread Thara Gopinath
changes in SRF to adapt to the new smartreflex and voltage driver. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/resource34xx.c | 29 +++-- arch/arm/mach-omap2/resource34xx.h |1 - 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach

[PATCH 3/4] OMAP3: PM: Removing voltage related code from the generic pm code.

2010-05-29 Thread Thara Gopinath
river. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/board-3430sdp.c |5 +- arch/arm/mach-omap2/pm.h| 25 - arch/arm/mach-omap2/pm34xx.c| 94 ++ 3 files changed, 9 insertions(+), 115 deletions(-) diff --git a/arch/arm/mach-

[PATCH 0/4] OMAP3: PM: Smartreflex clean up patches against PM tree

2010-05-29 Thread Thara Gopinath
This patch series has been tested in conjunction with the the Smartreflex series posted against the lo-master on OMAP3430 SDP, OMAP3630SDP and ZOOM3 using omap3_pm_defconfig. Thara Gopinath (4): OMAP3: PM: Cleaning up of smartreflex code. OMAP3: PM: Disabling Smartreflex across both frequenc

[PATCH 1/4] OMAP3: PM: Cleaning up of smartreflex code.

2010-05-29 Thread Thara Gopinath
have to be manually applied to this tree. Signed-off-by: Thara Gopinath --- arch/arm/mach-omap2/Makefile |1 - arch/arm/mach-omap2/prm-regbits-34xx.h|8 +- arch/arm/mach-omap2/smartreflex.c | 1043 - arch/arm/mach-omap2/smartreflex.h

[PATCH] OMAP: Correcting the gpmc prefetch control register address

2008-04-28 Thread Gopinath, Thara
From: Thara Gopinath <[EMAIL PROTECTED]> Correcting the GPMC_PREFETCH_CONTROL register address Signed-off-by: Thara Gopinath <[EMAIL PROTECTED]> Index: linux-omap-2.6/arch/arm/mach-omap2/gpmc.c === --- linux-omap-2.6.o

RE: TWL4030 keypad timeout interrupt

2008-05-14 Thread Gopinath, Thara
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Girish > Sent: Wednesday, May 14, 2008 2:27 PM > To: [EMAIL PROTECTED] > Cc: 'Felipe Balbi'; 'Linux OMAP Mailing List' > Subject: RE: TWL4030 keypad timeout interrupt > > > > >-Original Message

Routing Problem

1999-08-15 Thread D Gopinath
is set through ppp0. I have also set the option "proxyarp" in diald.conf . IP Forwarding is enabled & IPFWADM is running in the system. Can any1 shed light on whatelse has to be done to establish the routing. Reffered Diald FAQ but no luck. T

<    7   8   9   10   11   12   13   14   15   16   >