Re: omapfb: no driver for display

2011-02-19 Thread Felipe Contreras
On Sat, Feb 19, 2011 at 9:41 AM, Ming Lei tom.leim...@gmail.com wrote: It looks like an issue with what you have selected in the menuconfig. Could you ensure you have DPI and VENC selected, and in displays Generic DPI panel and sharp-ls panel selected. Even after enabling all this options

Re: omapfb: no driver for display

2011-02-19 Thread Ming Lei
Hi, Thanks for your reply. 2011/2/19 Felipe Contreras felipe.contre...@gmail.com: On Sat, Feb 19, 2011 at 9:41 AM, Ming Lei tom.leim...@gmail.com wrote: It looks like an issue with what you have selected in the menuconfig. Could you ensure you have DPI and VENC selected, and in displays

Re: omapfb: no driver for display

2011-02-19 Thread Felipe Contreras
On Sat, Feb 19, 2011 at 11:24 AM, Ming Lei tom.leim...@gmail.com wrote: Hi, Thanks for your reply. 2011/2/19 Felipe Contreras felipe.contre...@gmail.com: On Sat, Feb 19, 2011 at 9:41 AM, Ming Lei tom.leim...@gmail.com wrote: It looks like an issue with what you have selected in the

Re: omapfb: no driver for display

2011-02-19 Thread Ming Lei
Hi, 2011/2/19 Felipe Contreras felipe.contre...@gmail.com: Are you sure? AFAIK early_param is executed _after_ memory blocks are reserved. Yes, I am sure. If 'vram=16M' is passed in, I can find the below: [0.00] Memory: 1008MB = 1008MB total but if 'vram=8M' is taken, will be

[PATCH 03/17] omap4: Export scu base address

2011-02-19 Thread Santosh Shilimkar
The scu base address needs to be accessed in cpu hotplug for power management. Hence export the same Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/include/mach/omap4-common.h |4 arch/arm/mach-omap2/omap-smp.c

[PATCH 06/17] omap4: pm: Program CPU1 to hit OFF when off-lined

2011-02-19 Thread Santosh Shilimkar
Program non-boot CPUs to hit lowest supported power state when it is off-lined using cpu hotplug framework. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/omap-hotplug.c | 18 +- 1 files changed, 13

[PATCH 05/17] omap4: pm: Initialise all the clockdomains to supported states

2011-02-19 Thread Santosh Shilimkar
Initialise hardware supervised mode for all clockdomains if it's supported. Initiate sleep transition for other clockdomains, if they are not being used. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com

[PATCH 09/17] omap4: pm: Add WakeupGen save/restore support

2011-02-19 Thread Santosh Shilimkar
WakeupGen is lost only when device hits off-mode. Though the register context is retained in MPUSS OFF/OSWR state, hardware recommondation is to save/restore WakeupGen along with GIC to have consistent interrupt state at both the blocks. The ROM code restore mechinism also does restore of

[PATCH 01/17] omap4: pm: Add omap WakeupGen module support

2011-02-19 Thread Santosh Shilimkar
This patch adds OMAP WakeupGen support. The WakeupGen unit is responsible for generating wakeup event from the incoming interrupts and enable bits. The WakeupGen is implemented in MPU Always-On power domain. During normal operation, WakeupGen delivers external interrupts directly to the GIC. When

[PATCH 07/17] omap4: pm: CPU1 wakeup workaround form Low power modes

2011-02-19 Thread Santosh Shilimkar
The SGI(Software Generated Interrupts) are not wakeup capable from low power states. This is known limitation on OMAP4 and needs to be worked around by using software forced clockdomain wake-up. CPU0 forces the CPU1 clockdomain to software force wakeup. After the wakeup, CPU1 restores its

[PATCH 00/17] omap4: pm: suspend, hotplug and cpuilde support

2011-02-19 Thread Santosh Shilimkar
This series adds OMAP4 suspend and cpuidle support till MPU subsystem (MPUSS) off-mode. The suspend on SMP machines uses cpu-hotplug infrastructure to take down the non-boot CPUs. We put secondary CPU(CPU1 in OMAP4) to OFF state via cpu-hotplug. In cpuidle too, low power states are attempted only

[PATCH 02/17] omap4: pm: Add SAR RAM support

2011-02-19 Thread Santosh Shilimkar
This patch adds SAR RAM support on OMAP4430. SAR RAM used to save and restore the HW context in low power modes. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/omap4-common.c | 25 -

[PATCH 13/17] omap4: cpuidle: Basic CPUidle support

2011-02-19 Thread Santosh Shilimkar
From: Rajendra Nayak rna...@ti.com The patch adds a basic CPUidle driver for OMAP4. Just one C state is registered for both CPU cores which does a wfi. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com

[PATCH 10/17] omap4: pm: Add L2 cache lowpower support

2011-02-19 Thread Santosh Shilimkar
When MPUSS hits off-mode e, L2 cache is lost. This patch adds L2X0 necessary maintenance operations and context restoration in the low power code. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/omap4-mpuss-lowpower.c |

[PATCH 14/17] omap4: cpuidle: Add MPUSS RET OFF states

2011-02-19 Thread Santosh Shilimkar
This patch adds MPUSS low power states in cpuidle. C1 - CPU0 ON + CPU1 ON/OFF + MPU ON + CORE ON C2 - CPU0 ON + CPU1 OFF + MPU ON + CORE ON C3 - CPU0 OFF + CPU1 OFF + MPU CSWR + CORE ON C4 - CPU0 OFF + CPU1 OFF + MPU OFF + CORE ON MPU OSWR isn't supported yet. To

[PATCH 11/17] omap4: suspend: Add MPUSS RET and OFF support

2011-02-19 Thread Santosh Shilimkar
This patch adds MPUSS(MPU Sub System) RET and OFF mode support to suspend path. For both MPUSS RET and OFF support, CPUs are programmed to OFF state. Only MPUSS RET and OFF supported at this point of time. CORE RET will be added subsequently. Signed-off-by: Santosh Shilimkar

[PATCH 12/17] omap4: pm-debug: Add wakeup timer and debug counters

2011-02-19 Thread Santosh Shilimkar
This patch adds configurable wakeup timer support in suspend. Also for statistics pm counter support is added. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/omap4-mpuss-lowpower.c |8

[PATCH 08/17] omap4: pm: Add GIC save/restore support

2011-02-19 Thread Santosh Shilimkar
On OMAP4 when attempting MPU off-mode or OSWR, the GIC context is lost. This patch adds GIC context save and restore support. The context save is done by software and restore is done by ROM code from predefined SAR locations where the context suppose to be saved. Refer to ROM code specs for the

[PATCH 16/17] omap4: cpuidle: Allow debugfs control through enable_off_mode

2011-02-19 Thread Santosh Shilimkar
Only MPU OFF and RET is controllable. CORE state is blocked at ON state till the CORE RET support is added. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/cpuidle44xx.c | 30 ++

[PATCH 17/17] omap4: Remove un-used do_wfi() macro.

2011-02-19 Thread Santosh Shilimkar
With OMAP4 suspend, idle and hotplug series, we no longer need do_wfi() macro. Remove the same. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/include/mach/omap4-common.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git

[PATCH 15/17] omap4: cpuidle: Switch to gptimer from twd in deeper C-states.

2011-02-19 Thread Santosh Shilimkar
CPU local timer(TWD) stops when the CPU is transitioning into deeper C-States. Since these timers are not wakeup capable, we need the wakeup capable global timer to program the wakeup time depending on the next timer expiry. It can be handled by registering a global wakeup capable timer along

[PATCH 04/17] omap4: pm: Add CPUx OFF mode support

2011-02-19 Thread Santosh Shilimkar
This patch adds the CPU0 and CPU1 off mode support. CPUX close switch retention (CSWR) is not supported by hardware design. The CPUx OFF mode isn't supported on OMAP4430 ES1.0 CPUx sleep code is common for hotplug, suspend and cpuilde. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com

Re: omapfb: no driver for display

2011-02-19 Thread archit taneja
Hi, Which board are you on? For all the display devices you add in the board file, you should have the corresponding drivers in the menuconfig set also. For example, in board3430-sdp.c, we add a sharp ls, a dvi and venc panel. We therefore select sharpls and generic dpi panel in menuconfig.

Re: [PATCH resend] video: omap24xxcam: Fix compilation

2011-02-19 Thread David Cohen
Hi Sakari and Felipe, On Tue, Feb 15, 2011 at 2:17 PM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Felipe Balbi wrote: Hi, On Tue, Feb 15, 2011 at 12:50:12PM +0100, Thomas Weber wrote: Hello Felipe, in include/linux/wait.h #define wake_up(x)            __wake_up(x,

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

2011-02-19 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 an potentially in later generation of silicon as well. Smartreflex class 1.5 is a software controlled hardware calibration mechanism designed to improve dvfs

[PATCH 01/19] omap3: hwmod: add smartreflex irqs

2011-02-19 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 02/19] omap3630: hwmod: sr: enable for higher ES

2011-02-19 Thread Nishanth Menon
Enable hwmod entries for OMAP3630 for higher ES revisions as well. This is to ensure that SR can be used in all revisions of OMAP3630 as of this posting. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |8 ++-- 1 files changed, 6 insertions(+), 2

[PATCH 03/19] omap3+: voltage: remove initial voltage

2011-02-19 Thread Nishanth Menon
omap2_set_init_voltage should setup the curr_volt based on which OPP the system is functioning at. 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

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

2011-02-19 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 05/19] omap3+: voltage: use IS_ERR_OR_NULL

2011-02-19 Thread Nishanth Menon
Use IS_ERR_OR_NULL macro instead of just IS_ERR or !xyz || IS_ERR(xyz) style usage. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/voltage.c | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-omap2/voltage.c

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

2011-02-19 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. Hence pass the volt_data pointers through the structure. Each voltage domain contains a set of volt_data structs. Each of those

[PATCH 07/19] omap3+: voltage: add transdone apis

2011-02-19 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 09/19] omap3+: sr: introduce class init,deinit and priv data

2011-02-19 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. Signed-off-by: Nishanth Menon n...@ti.com

[PATCH 10/19] omap3+: sr: fix cosmetic indentation

2011-02-19 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 | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c

[PATCH 12/19] omap3+: sr: disable interrupt by default

2011-02-19 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 dont need/expect to handle. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/smartreflex.c |

[PATCH 13/19] omap3+: sr: enable/disable SR only on need

2011-02-19 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 14/19] omap3+: sr: introduce notifiers flags

2011-02-19 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 dont 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. A

[PATCH 15/19] omap3+: sr: introduce notifier_control

2011-02-19 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. Signed-off-by: Nishanth Menon n...@ti.com

[PATCH 16/19] omap3+: sr: disable spamming interrupts

2011-02-19 Thread Nishanth Menon
At times with bad SR configurations especially during silicon bringups, 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 h/w without any s/w clearing option. If we detect scenarios where

[PATCH 17/19] omap3+: sr: make enable path use volt_data pointer

2011-02-19 Thread Nishanth Menon
Passing the volt_data pointers accross 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 18/19] omap3630+: sr: add support for class 1.5

2011-02-19 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 19/19] omap3430: sr: class3: restrict cpu to run on

2011-02-19 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 11/19] omap3+: sr: call handler with interrupt disabled

2011-02-19 Thread Nishanth Menon
Request the handler irq such that there is no nesting for calls. the notifiers are not expected to be nested, further the interrupt events for status change should be handled prior to the next event else there is a risk of loosing events. Signed-off-by: Nishanth Menon n...@ti.com ---

Re: omapfb: no driver for display

2011-02-19 Thread Ming Lei
Hi, 2011/2/19 archit taneja arc...@ti.com: Hi, Which board are you on? For all the display devices you add in the board file, you should have the corresponding drivers in the menuconfig set also. Pandaboard. For example, in board3430-sdp.c, we add a sharp ls, a dvi and venc panel. We

RE: [PATCH 02/19] omap3630: hwmod: sr: enable for higher ES

2011-02-19 Thread Vishwanath Sripathy
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Nishanth Menon Sent: Saturday, February 19, 2011 5:32 PM To: linux-omap Cc: Tony Lindgren; Kevin Hilman; Nishanth Menon Subject: [PATCH 02/19] omap3630: hwmod: sr:

RE: [PATCH 03/19] omap3+: voltage: remove initial voltage

2011-02-19 Thread Vishwanath Sripathy
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Nishanth Menon Sent: Saturday, February 19, 2011 5:32 PM To: linux-omap Cc: Tony Lindgren; Kevin Hilman; Nishanth Menon Subject: [PATCH 03/19] omap3+: voltage: remove

Re: [PATCH v2] OMAP: PM: DMA: Enable runtime pm

2011-02-19 Thread G, Manjunath Kondaiah
On Mon, Feb 14, 2011 at 02:06:53PM -0800, Kevin Hilman wrote: G, Manjunath Kondaiah manj...@ti.com writes: From: Manjunath G Kondaiah manj...@ti.com Enable runtime pm and use pm_runtime_get_sync and pm_runtime_put_autosuspend for OMAP DMA driver. The DMA driver uses auto suspend

RE: [PATCH 15/19] omap3+: sr: introduce notifier_control

2011-02-19 Thread Vishwanath Sripathy
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Nishanth Menon Sent: Saturday, February 19, 2011 5:32 PM To: linux-omap Cc: Tony Lindgren; Kevin Hilman; Nishanth Menon Subject: [PATCH 15/19] omap3+: sr: introduce

Re: [GIT PULL] OMAP USB Patches for 2.6.39

2011-02-19 Thread Felipe Balbi
Hi, On Fri, Feb 18, 2011 at 08:35:14AM -0800, Greg KH wrote: On Fri, Feb 18, 2011 at 08:31:44AM -0800, Greg KH wrote: On Fri, Feb 18, 2011 at 02:11:45PM +0200, Felipe Balbi wrote: Hi Greg, Here are the patches I have for the next merge window. The outstanding feature is the

Re: [PATCH resend] video: omap24xxcam: Fix compilation

2011-02-19 Thread Felipe Balbi
Hi, On Sat, Feb 19, 2011 at 01:35:09PM +0200, David Cohen wrote: aha, now I get it, so shouldn't the real fix be including linux/sched.h on linux/wait.h, I mean, it's linuux/wait.h who uses a symbol defined in linux/sched.h, right ? That's a tricky situation. linux/sched.h includes

Re: [PATCH resend] video: omap24xxcam: Fix compilation

2011-02-19 Thread David Cohen
On Sat, Feb 19, 2011 at 5:00 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Sat, Feb 19, 2011 at 01:35:09PM +0200, David Cohen wrote: aha, now I get it, so shouldn't the real fix be including linux/sched.h on linux/wait.h, I mean, it's linuux/wait.h who uses a symbol defined in

RE: [PATCH] perf: add OMAP support for the new power events

2011-02-19 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of jean.pi...@newoldbits.com Sent: Friday, February 18, 2011 11:41 PM To: Kevin Hilman; Thomas Renninger; linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org

Re: [PATCH 10/12] mfd: TWL4030: changes for TRITON Errata 27 workaround

2011-02-19 Thread David Cohen
On Sat, Feb 19, 2011 at 2:44 AM, David Cohen daco...@gmail.com wrote: On Sat, Feb 19, 2011 at 1:33 AM, David Cohen daco...@gmail.com wrote: Hi, On Fri, Feb 18, 2011 at 7:08 PM, Lesly A M lesl...@ti.com wrote: Workaround for TWL5030 Silicon Errata 27 28:        27 - VDD1, VDD2, may have

Re: [PATCH 15/19] omap3+: sr: introduce notifier_control

2011-02-19 Thread Nishanth Menon
Vishwanath Sripathy wrote, on 02/19/2011 07:10 PM: +int sr_notifier_control(struct voltagedomain *voltdm, bool enable) +{ + struct omap_sr *sr = _sr_lookup(voltdm); + u32 value = 0; + if (IS_ERR_OR_NULL(sr)) { + pr_warning(%s: sr corresponding to domain not

Re: [PATCH 03/19] omap3+: voltage: remove initial voltage

2011-02-19 Thread Nishanth Menon
Vishwanath Sripathy wrote, on 02/19/2011 06:54 PM: [..] omap2_set_init_voltage should setup the curr_volt based on which OPP the system is functioning at. Blindly setting a 1.2v setting in the initial structure may not even match the default voltages stored in the voltage table which are

Re: [PATCH 02/19] omap3630: hwmod: sr: enable for higher ES

2011-02-19 Thread Nishanth Menon
Vishwanath Sripathy wrote, on 02/19/2011 06:52 PM: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Nishanth Menon Sent: Saturday, February 19, 2011 5:32 PM To: linux-omap Cc: Tony Lindgren; Kevin Hilman; Nishanth Menon