pm-core: recursive dependency on config

2011-03-05 Thread Menon, Nishanth
Folks, Dumb question: Some one seen this one? is there a patch in the pipe for the fix? scripts/kconfig/conf --silentoldconfig Kconfig arch/arm/Kconfig:1277:error: recursive dependency detected! arch/arm/Kconfig:1277: symbol SMP depends on CPU_V6K arch/arm/mm/Kconfig:407:symbol CPU_V6K

RE: pm-core: recursive dependency on config

2011-03-05 Thread Santosh Shilimkar
+ Russell, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Menon, Nishanth Sent: Saturday, March 05, 2011 1:51 PM To: linux-omap Subject: pm-core: recursive dependency on config Folks, Dumb question: Some one seen

Re: [PATCH v2 1/2] OMAP: DSS2: Add support for LG Philips LB035Q02 panel

2011-03-05 Thread Tomi Valkeinen
Hi, On Fri, 2011-03-04 at 14:52 -0600, Steve Sakoman wrote: This patch adds support for the Gumstix Palo35 expansion board which utilizes the 320 x 240 pixel LG.Philips LB035Q02 LCD Panel Signed-off-by: Steve Sakoman st...@sakoman.com --- drivers/video/omap2/displays/Kconfig

[PATCH V2 0/3]: OMAP4: Update OPP Table and Voltage Rail Values

2011-03-05 Thread Shweta Gulati
The Series Updates OPP Table for MPU, add OPP enteries for IVA and update Voltage Rail values for MPU/IVA. It is based on the Patch which replaces Voltage values with Macros, Submitted by Nishanth Menon https://patchwork.kernel.org/patch/607541/ Branch: pm-core Tested on OMAP4430 SDP. V2:

[PATCH V2 1/3] OMAP4: Enable 800 MHz and 1 GHz MPU-OPP

2011-03-05 Thread Shweta Gulati
Almost all OMAP4 boards support OPP 800 MHz and OPP 1 GHz. Enable them in OPP Table. For small minority of boards which use OMAP4430-800 MHz device OPP 1GHz is not supported, OPP 1GHz should be disabled from board file. Signed-off-by: Shweta Gulati shweta.gul...@ti.com Cc:

[PATCH V2 2/3] OMAP4: Update Voltage Rail Values for MPU/IVA

2011-03-05 Thread Shweta Gulati
Update MPU/IVA voltage Rail values obtained from OMAP4430 Data Manual Operating Condition Addendum_v0.3. Tested on OMAP4430 SDP Board. Signed-off-by: Shweta Gulati shweta.gul...@ti.com Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/mach-omap2/opp4xxx_data.c | 14 +++--- 1

[PATCH V2 3/3] OMAP4: Add IVA OPP enteries.

2011-03-05 Thread Shweta Gulati
This Patch adds OPP enteries for IVA in OMAP4 OPP Table Tested on OMAP4430 SDP Board. Signed-off-by: Shweta Gulati shweta.gul...@ti.com Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/mach-omap2/opp4xxx_data.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git

Re: pm-core: recursive dependency on config

2011-03-05 Thread Russell King - ARM Linux
On Sat, Mar 05, 2011 at 02:11:29PM +0530, Santosh Shilimkar wrote: + Russell, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Menon, Nishanth Sent: Saturday, March 05, 2011 1:51 PM To: linux-omap Subject:

Re: [PATCH v2] OMAP2PLUS: Replace voltage values with Macros

2011-03-05 Thread Menon, Nishanth
2011/3/4 Nishanth Menon n...@ti.com: From: Vishwanath BS vishwanath...@ti.com Since all voltage data is now centralized in oppxxx_data.c, we can remove the replace the values in the opp table with the macros used for voltage values.  This will avoid opp table and voltage layer having

[PATCH v3] OMAP3+: OPP: Replace voltage values with Macros

2011-03-05 Thread Nishanth Menon
From: Vishwanath BS vishwanath...@ti.com Since all voltage data is now centralized in oppxxx_data.c, we can replace the values in the opp table with the macros used for voltage values. This will avoid opp table and voltage layer having conflicting values. Signed-off-by: Vishwanath BS

Re: [PATCH v2 1/2] OMAP: DSS2: Add support for LG Philips LB035Q02 panel

2011-03-05 Thread Steve Sakoman
On Sat, Mar 5, 2011 at 1:18 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, On Fri, 2011-03-04 at 14:52 -0600, Steve Sakoman wrote: This patch adds support for the Gumstix Palo35 expansion board which utilizes the 320 x 240 pixel LG.Philips LB035Q02 LCD Panel Signed-off-by: Steve

[PATCH v3 0/2] Add DSS2 support on Overo

2011-03-05 Thread Steve Sakoman
This patch series adds support for the set of display devices available for the Overo COM products: DVI, S-Video, the Samsung LTE430WQ-F0C LCD panel, and the LG.Philips LB035Q02 panel. Tested with applicable expansion boards for each option: Tobi, Palo43, Chestnut43, and Palo35. Changes from

[PATCH v3 1/2] OMAP: DSS2: Add support for LG Philips LB035Q02 panel

2011-03-05 Thread Steve Sakoman
This patch adds support for the Gumstix Palo35 expansion board which utilizes the 320 x 240 pixel LG.Philips LB035Q02 LCD Panel Signed-off-by: Steve Sakoman st...@sakoman.com --- drivers/video/omap2/displays/Kconfig |6 + drivers/video/omap2/displays/Makefile |

[PATCH v3 2/2] OMAP: DSS2: Add DSS2 support for Overo

2011-03-05 Thread Steve Sakoman
This patch adds DSS2 support for DVI, S-video, the 480x272 Samsung LTE430WQ-F0C panel, and the 320x240 LG.Philips LB035Q02 panel. Signed-off-by: Steve Sakoman st...@sakoman.com --- arch/arm/mach-omap2/board-overo.c | 239 +++-- 1 files changed, 202 insertions(+),

[PM-CORE RFC] OMAP2+: make CONFIG_PM selectable

2011-03-05 Thread Nishanth Menon
Allow build with CONFIG_PM disabled. Esp when bringing up new Silicon, this is a useful and often important requirement. Instead we allow for CONFIG_PM to be selectable as desired. Currently voltage files messup the build Note: this is just a proposal - I have'nt actually done a clean build,

Re: [PATCH v3 0/2] Add DSS2 support on Overo

2011-03-05 Thread Tomi Valkeinen
On Sat, 2011-03-05 at 07:58 -0600, Steve Sakoman wrote: This patch series adds support for the set of display devices available for the Overo COM products: DVI, S-Video, the Samsung LTE430WQ-F0C LCD panel, and the LG.Philips LB035Q02 panel. Tested with applicable expansion boards for each

[PATCH V3 00/19] OMAP3+: PM: introduce SR class 1.5

2011-03-05 Thread Nishanth Menon
Hi, This series intends to introduce SmartReflex AVS Class 1.5 support which is now the recommended AVS class for usage in OMAP3630, OMAP4 and potentially in later generation of silicon as well. Smartreflex class 1.5 is a software controlled hardware calibration mechanism designed to improve DVFS

[PATCH V3 01/19] OMAP3: hwmod: add SmartReflex IRQs

2011-03-05 Thread Nishanth Menon
OMAP3 SmartReflex IRQs in hwmod structures with the same naming as present in OMAP4. Without these IRQs being registered, SmartReflex driver will be unable to get the IRQ numbers to handle notifications Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |

[PATCH V3 02/19] OMAP3+: voltage: fix build warning

2011-03-05 Thread Nishanth Menon
Handle the case for a future SoC where sys_ck_name might be uninitialized. Fixes the build warning: arch/arm/mach-omap2/voltage.c: In function 'omap_voltage_late_init': arch/arm/mach-omap2/voltage.c:86:8: warning: 'sys_ck_name' may be used uninitialized in this function Signed-off-by: Nishanth

[PATCH V3 03/19] OMAP3+: voltage: remove initial voltage

2011-03-05 Thread Nishanth Menon
Blindly setting a 1.2V setting in the initial structure may not even match the default voltages stored in the voltage table which are supported for the domain. For example, OMAP3430 core domain does not use 1.2V and ends up generating a warning on the first transition. Further, since

[PATCH V3 04/19] OMAP3+: voltage: remove spurious pr_notice for debugfs

2011-03-05 Thread Nishanth Menon
cat of debugfs entry for vp_volt provides voltage. The additional pr_notice is just spam on console and provides no additional information. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/voltage.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[PATCH V3 05/19] OMAP3+: voltage: use IS_ERR_OR_NULL

2011-03-05 Thread Nishanth Menon
Use IS_ERR_OR_NULL macro instead of !xyz || IS_ERR(xyz) usage. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/voltage.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c

[PATCH V3 06/19] OMAP3+: voltage: use volt_data pointer instead values

2011-03-05 Thread Nishanth Menon
Voltage values can get confusing in meaning with various SmartReflex classes being active. Depending on the class used, the actual voltage selected might be a variant. For example: With SmartReflex AVS class 3: a) If we don't have SR enabled, we will go to volt_nominal. b) If have SR enabled, we

[PATCH V3 07/19] OMAP3+: voltage: add transdone APIs

2011-03-05 Thread Nishanth Menon
Transdone event in Voltage processor gives us fine grained status on the current status of the voltage communication with the PMIC. Unfortunately, IRQ generation by VP is based on the start of the transmission to VC from VP, not at the end (or the completion of the voltage setting). Hence any

[PATCH V3 08/19] OMAP3+: SR: make notify independent of class

2011-03-05 Thread Nishanth Menon
Interrupt notification mechanism of SmartReflex can be used by the choice of implementation of the class driver. For example, Class 2 and Class 1.5 of SmartReflex can both use the interrupt notification to identify the transition of voltage or other events. Hence, the actual class does not matter

[PATCH V3 09/19] OMAP3+: SR: disable interrupt by default

2011-03-05 Thread Nishanth Menon
We will enable and disable interrupt on a need basis in the class driver. We need to keep the IRQ disabled by default else the forceupdate or vcbypass events could trigger events that we don't need/expect to handle. This is a preparation for SmartReflex AVS class drivers such as class 2 and class

[PATCH V3 10/19] OMAP3+: SR: enable/disable SR only on need

2011-03-05 Thread Nishanth Menon
Since we already know the state of the autocomp enablement, we can see if the requested state is different from the current state and enable/disable SR only on the need basis. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/smartreflex.c | 11 +++ 1 files changed, 7

[PATCH V3 11/19] OMAP3+: SR: fix cosmetic indentation

2011-03-05 Thread Nishanth Menon
Error label case seems to have a 2 tab indentation when just 1 is necessary. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/smartreflex.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c

[PATCH V3 12/19] OMAP3+: SR: introduce class start,stop and priv data

2011-03-05 Thread Nishanth Menon
Certain class drivers such as class 1.5 drivers, will need specific notification that they have to be started up or stopped independent of smart reflex operation. They also may need private data to be used for operations of their own, provide the same. This allows the class driver to initialize

[PATCH V3 13/19] OMAP3+: SR: Reuse sr_[start|stop]_vddautocomp functions

2011-03-05 Thread Nishanth Menon
From: Jarkko Nikula jhnik...@gmail.com sr_start_vddautocomp and sr_stop_autocomp functions can be reused from omap_sr_enable, omap_sr_disable and omap_sr_disable_reset_volt and by adding one additional argument sr_stop_autocomp. This allows us to have a single point where SR enable and disable

[PATCH V3 14/19] OMAP3+: SR: introduce notifiers flags

2011-03-05 Thread Nishanth Menon
SmartReflex IP V1 and V2 have different registers and offsets. Currently, we pass the status as is to the class driver. However, since we don't pass the version of the underlying SR hardware to the Class driver, it will not be unable to make consistent sense of the status bits coming over to it.

[PATCH V3 15/19] OMAP3+: SR: introduce notifier_control

2011-03-05 Thread Nishanth Menon
We need some mechanism from class drivers to control when notifiers should be triggered and when not, currently we have none, which makes Class driver usage of the interrupt events almost impossible. Introduce an SmartReflex driver API for doing the same. This is useful for SmartReflex AVS class

[PATCH V3 16/19] OMAP3+: SR: disable spamming interrupts

2011-03-05 Thread Nishanth Menon
At times with bad SR configurations, especially during silicon bring-ups, we could get continuous spurious interrupts which end up hanging the platform in the form of an ISR call for status bits that are automatically enabled by the hardware without any software clearing option. If we detect

[PATCH V3 17/19] OMAP3+: SR: make enable path use volt_data pointer

2011-03-05 Thread Nishanth Menon
Passing the volt_data pointers across allows us to save us the effort of looking up the voltage data pointer from the voltage value at multiple layers, we need to look at the voltage data in DVFS layer for further processing, so modify the APIs to pass the voltage data pointer all the way through

[PATCH V3 18/19] OMAP3630+: SR: add support for class 1.5

2011-03-05 Thread Nishanth Menon
Traditional SmartReflex AVS(Automatic Voltage Scaling) classes are: * Class 0 - Product test calibration Silicon is calibration at production floor and fused with voltages for each OPP * Class 1 - Boot time calibration Silicon is calibrated once at boot time and voltages

[PATCH V3 19/19] OMAP3430: SR: class3: restrict CPU to run on

2011-03-05 Thread Nishanth Menon
Use SmartReflex AVS Class3 initialization only for OMAP343x family of processors. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/smartreflex-class3.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex-class3.c

[PATCH] omap: overo: Add regulator for ads7846

2011-03-05 Thread Steve Sakoman
The ads7846 driver now requires a regulator. This patch adds the necessary regulator to the overo board file. Without it, the following error occurs (and the touchscreen will not function): ads7846 spi1.0: unable to get regulator: -19 Signed-off-by: Steve Sakoman st...@sakoman.com --- Note:

Re: [PATCH V3 05/19] OMAP3+: voltage: use IS_ERR_OR_NULL

2011-03-05 Thread David Cohen
Hi Nishanth, On Sat, Mar 5, 2011 at 5:29 PM, Nishanth Menon n...@ti.com wrote: Use IS_ERR_OR_NULL macro instead of !xyz || IS_ERR(xyz) usage. Signed-off-by: Nishanth Menon n...@ti.com ---  arch/arm/mach-omap2/voltage.c |   22 +++---  1 files changed, 11 insertions(+), 11

Re: [PATCH V3 05/19] OMAP3+: voltage: use IS_ERR_OR_NULL

2011-03-05 Thread Nishanth Menon
David Cohen wrote, on 03/05/2011 11:06 PM: [..] diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c index 53c399f..76bcaee 100644 --- a/arch/arm/mach-omap2/voltage.c +++ b/arch/arm/mach-omap2/voltage.c @@ -682,7 +682,7 @@ unsigned long omap_voltage_get_nom_volt(struct