[PATCH v2 0/4] OMAP: iommu: hwmod support and runtime PM

2011-03-07 Thread Omar Ramirez Luna
Introduced hwmod support for OMAP3 (iva, isp) and OMAP4 (ipu, dsp), along with the corresponding runtime PM routines to deassert reset lines, enable/disable clocks and configure sysc registers. v2: - Added oh reset info to assert/deassert mmu reset lines. - Addressed previous comments on v1

[PATCH v2 1/4] OMAP3: hwmod data: add mmu data for iva and isp

2011-03-07 Thread Omar Ramirez Luna
Add mmu hwmod data for iva and isp. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 135 arch/arm/plat-omap/include/plat/iommu.h| 10 ++ 2 files changed, 145 insertions(+), 0 deletions(-) diff --git

[PATCH v2 3/4] OMAP3/4: iommu: migrate to hwmod framework

2011-03-07 Thread Omar Ramirez Luna
Use hwmod data and device attributes to build and register an omap device for iommu driver. Now unused, remove platform device and resource data, handling of sysconfig register for softreset purposes; and add device latency in preparation for runtime PM. Signed-off-by: Omar Ramirez Luna

[PATCH v2 4/4] OMAP3/4: iommu: adapt to runtime pm

2011-03-07 Thread Omar Ramirez Luna
Use runtime PM functionality interfaced with hwmod enable/idle functions, to replace direct clock operations, reset and sysconfig handling. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/iommu2.c | 17 -- arch/arm/mach-omap2/omap-iommu.c

[PATCH v2 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp

2011-03-07 Thread Omar Ramirez Luna
Add mmu hwmod data for ipu and dsp. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 156 +-- 1 files changed, 144 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c

Problem with DSS clocks accessing registers

2011-03-07 Thread Tomi Valkeinen
Hi Kevin, Paul, We currently have a small problem with OMAP4 DSS. When we enable the DSS clocks, it seems that the DSS registers are not always accessible right after the clock enable. I understood that on OMAP4 the clock framework doesn't guarantee that the registers are accessible after

Re: [PATCH v3 0/9] OMAP4 : DSS2 : HDMI support on OMAP4

2011-03-07 Thread Tomi Valkeinen
On Fri, 2011-03-04 at 01:48 -0600, K, Mythri P wrote: Adding HDMI support on OMAP4. HDMI is a driver that is similar to the VENC or the DSI driver to support HDMI/DVI sink device. snip 1. v10 of omap2,3 hwmod DSS adaptation:

RE: [PATCH 1/1] omap3: Save and restore CM_AUTOIDLE_PLL across off mode

2011-03-07 Thread Premi, Sanjeev
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Saturday, March 05, 2011 4:16 AM To: Premi, Sanjeev Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 1/1] omap3: Save and restore CM_AUTOIDLE_PLL across off mode Hello

Re: [PATCH v2 1/1] omap3: nand: report corrected ecc errors

2011-03-07 Thread Artem Bityutskiy
On Mon, 2011-02-28 at 13:12 +0100, John Ogness wrote: From: John Ogness john.ogn...@linutronix.de The number of corrected ECC errors should be reported since other MTD systems make use of this information (such as UBI data scrubbing). Signed-off-by: John Ogness john.ogn...@linutronix.de

Re: [PATCH v3 4/9] OMAP4 : DSS2 : HDMI: HDMI driver header file addition

2011-03-07 Thread Tomi Valkeinen
On Fri, 2011-03-04 at 01:48 -0600, K, Mythri P wrote: Adding the hdmi interface driver header file (hdmi.h) to the dss driver. Register and timing declaration to be used by the corresponding c file is added in this file. Signed-off-by: Mythri P K mythr...@ti.com ---

Re: [PATCH] OMAP: DSS2: FEATURES: DSI PLL parameter cleanup

2011-03-07 Thread archit taneja
Hi, On Monday 07 March 2011 01:24 PM, Valkeinen, Tomi wrote: On Fri, 2011-03-04 at 05:03 -0600, Taneja, Archit wrote: The DSI PLL parameters (regm, regn, regm_dispc, regm_dsi, fint) have different fields and also different Max values on OMAP3 and OMAP4. Use dss features to calculate the

RE: [PATCH] omap2plus: Remove auto selection on PMICs

2011-03-07 Thread Premi, Sanjeev
-Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Wednesday, March 02, 2011 11:34 PM To: Premi, Sanjeev Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH] omap2plus: Remove auto selection on PMICs * Premi, Sanjeev pr...@ti.com [110226 00:27]: -Original

Re: [PATCH v3 5/9] OMAP4 : DSS2 : HDMI: HDMI driver header file addition

2011-03-07 Thread Tomi Valkeinen
On Fri, 2011-03-04 at 01:48 -0600, K, Mythri P wrote: Adding the hdmi interface driver header file (hdmi.h) to the dss driver. Register and timing declaration to be used by the corresponding c file is added in this file. The subject and description are wrong. Always before sending patches do a

Re: [patch v3 3/3] arm: omap4: support pmu

2011-03-07 Thread Jean Pihet
On Fri, Mar 4, 2011 at 7:16 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: -Original Message- From: tom.leim...@gmail.com [mailto:tom.leim...@gmail.com] Sent: Thursday, March 03, 2011 4:24 PM To: li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org;

Re: [PATCH] OMAP: DSS2: FEATURES: DSI PLL parameter cleanup

2011-03-07 Thread Tomi Valkeinen
On Mon, 2011-03-07 at 03:17 -0600, Taneja, Archit wrote: Hi, On Monday 07 March 2011 01:24 PM, Valkeinen, Tomi wrote: On Fri, 2011-03-04 at 05:03 -0600, Taneja, Archit wrote: The DSI PLL parameters (regm, regn, regm_dispc, regm_dsi, fint) have different fields and also different Max

RE: [PATCH 1/1] omap3: Save and restore CM_AUTOIDLE_PLL across off mode

2011-03-07 Thread Vishwanath Sripathy
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Premi, Sanjeev Sent: Monday, March 07, 2011 2:16 PM To: Paul Walmsley Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: RE: [PATCH 1/1]

Re: [PATCH v3 6/9] OMAP4 : DSS2 : HDMI: HDMI panel driver addition in the DSS

2011-03-07 Thread Tomi Valkeinen
On Fri, 2011-03-04 at 01:48 -0600, K, Mythri P wrote: The panel driver(hdmi_omap4_panel.c) in omap2/dss acts as a controller to manage the enable and disable requests and synchronize audio and video. Signed-off-by: Mythri P K mythr...@ti.com --- drivers/video/omap2/dss/Kconfig|

Re: [PATCH 5/6] omap4: Initialise the l3 device with the hwmod data.

2011-03-07 Thread Cousson, Benoit
On 2/21/2011 8:03 PM, Shilimkar, Santosh wrote: -Original Message- From: Cousson, Benoit [mailto:b-cous...@ti.com] Sent: Monday, February 21, 2011 11:41 PM To: Shilimkar, Santosh Cc: linux-omap@vger.kernel.org; Balbi, Felipe; R, Sricharan Subject: Re: [PATCH 5/6] omap4: Initialise the l3

Re: [PATCH v5 REPOST 0/5] ARM: omap[34]: Thumb-2 compatibility fixes

2011-03-07 Thread Dave Martin
On Fri, Mar 4, 2011 at 9:42 PM, Kevin Hilman khil...@ti.com wrote: Dave Martin dave.mar...@linaro.org writes: On Fri, Mar 4, 2011 at 5:47 PM, Tony Lindgren t...@atomide.com wrote: * Santosh Shilimkar santosh.shilim...@ti.com [110304 09:36]: Following up on this, it looks like I have some

Re: [PATCH 0/3] OMAP: DMA: mstandby mode and runtime pm support

2011-03-07 Thread G, Manjunath Kondaiah
On Fri, Mar 04, 2011 at 09:48:26AM +0530, G, Manjunath Kondaiah wrote: On Thu, Mar 03, 2011 at 10:35:23AM -0800, Kevin Hilman wrote: G, Manjunath Kondaiah manj...@ti.com writes: This patch series is remaining part of dma hwmod to support pm runtime and for handling mstandby mode for

RE: [PATCH 5/6] omap4: Initialise the l3 device with the hwmod data.

2011-03-07 Thread Santosh Shilimkar
-Original Message- From: Cousson, Benoit [mailto:b-cous...@ti.com] Sent: Monday, March 07, 2011 3:52 PM To: Shilimkar, Santosh Cc: linux-omap@vger.kernel.org; Balbi, Felipe; R, Sricharan Subject: Re: [PATCH 5/6] omap4: Initialise the l3 device with the hwmod data. On 2/21/2011

RE: [PATCH v11 2/8] OMAP4: hwmod data: add dmtimer version information

2011-03-07 Thread DebBarma, Tarun Kanti
-Original Message- From: Cousson, Benoit Sent: Friday, March 04, 2011 4:47 PM To: Hilman, Kevin; DebBarma, Tarun Kanti Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH v11 2/8] OMAP4: hwmod data: add dmtimer version information On 3/4/2011 1:24 AM, Hilman, Kevin wrote: Tarun

RE: [PATCH 5/6] omap4: Initialise the l3 device with the hwmod data.

2011-03-07 Thread Santosh Shilimkar
-Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Monday, March 07, 2011 4:49 PM To: Benoit Cousson Cc: linux-omap@vger.kernel.org; Felipe Balbi; Sricharan R Subject: RE: [PATCH 5/6] omap4: Initialise the l3 device with the hwmod data. [] Ok.

Re: [PATCH] cbus-retu-wdt: Store all data in device struct

2011-03-07 Thread Michael Büsch
On Mon, 2011-03-07 at 09:43 +0200, Felipe Balbi wrote: - struct miscdevice retu_wdt_miscdev; + struct miscdevice miscdev; this rename is not part of $SUBJECT Well, that element is used in several new container_of() instances. retu_wdt_miscdev is needlessly long and just

RE: [PATCH 1/2] OMAP3: cpuidle: prevent CORE power domain from going to RET or OFF when DSS is on

2011-03-07 Thread Tero.Kristo
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of ext Kevin Hilman Sent: 04 March, 2011 18:56 To: Kristo Tero (Nokia-MS/Tampere) Cc: p...@pwsan.com; linux-omap@vger.kernel.org; linux-arm- ker...@lists.infradead.org Subject:

RE: [PATCH 1/2] ARM: l2x0: Errata fix for flush by Wayoperationcan cause data corruption

2011-03-07 Thread Santosh Shilimkar
Thanks Will for reporting it. -Original Message- From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux- arm-kernel-boun...@lists.infradead.org] On Behalf Of Will Deacon Sent: Monday, March 07, 2011 5:38 PM To: 'Santosh Shilimkar'; Russell King - ARM Linux Cc:

RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-07 Thread DebBarma, Tarun Kanti
Tony, Santosh, [...] +void __init omap2_dm_timer_early_init(void) +{ + int ret = omap_hwmod_for_each_by_class(timer, + omap_timer_init, NULL); Here we really only want to initialize the system timer. The rest we want to do later, so let's

Re: [PATCH v2 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp

2011-03-07 Thread Cousson, Benoit
Hi Omar, I have some concern about the introduction of a hwmod that does not match the actual HW capability. MMU does exist, but there is no SW control for it. In fact the only control available is for mmu + cache + logic, and that's why the MMU is handle today under the main DSP/IPU hwmod.

[PATCH] omap: iommu: disallow mapping NULL address

2011-03-07 Thread Michael Jones
From e7dbe4c4b64eb114f9b0804d6af3a3ca0e78acc8 Mon Sep 17 00:00:00 2001 From: Michael Jones michael.jo...@matrix-vision.de Date: Mon, 7 Mar 2011 13:36:15 +0100 Subject: [PATCH] omap: iommu: disallow mapping NULL address commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL

Re: Problem with DSS clocks accessing registers

2011-03-07 Thread Cousson, Benoit
+ Rajendra Hi Tomi, On 3/7/2011 9:22 AM, Valkeinen, Tomi wrote: Hi Kevin, Paul, We currently have a small problem with OMAP4 DSS. When we enable the DSS clocks, it seems that the DSS registers are not always accessible right after the clock enable. What clocks are you talking about? As you

RE: Problem with DSS clocks accessing registers

2011-03-07 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Cousson, Benoit Sent: Monday, March 07, 2011 7:21 PM To: Valkeinen, Tomi; Nayak, Rajendra Cc: Paul Walmsley; Hilman, Kevin; linux-omap; Taneja, Archit; Semwal, Sumit

Re: [PATCH] OMAP1: McBSP: fix build break for non-multi-OMAP1 configs

2011-03-07 Thread Jarkko Nikula
On Fri, 4 Mar 2011 15:36:46 -0700 (MST) Paul Walmsley p...@pwsan.com wrote: Commit 3cf32bba8ca0e0052ca41d74d455a5805b7fea85 (OMAP: McBSP: Convert McBSP to platform device model) in the current omap-for-linus branch breaks compilation with non-multi-OMAP1 configs: CC

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

2011-03-07 Thread Jarkko Nikula
On Sat, 5 Mar 2011 20:59:16 +0530 Nishanth Menon n...@ti.com wrote: 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

OMAP 3730 200 MHz SDRAM config

2011-03-07 Thread Orjan Friberg
Hi, I'm looking at configuring an OMAP 3730 board for 200 MHz SDRAM. I've been looking at the kernel code (arch/arm/mach-omap2) the last couple of days to try and figure out what I need to do. We're basing ourselves off of the Beagleboard, so I tried copying the 200 MHz Hynix SDRAM entry for

Re: Problem with DSS clocks accessing registers

2011-03-07 Thread Cousson, Benoit
On 3/7/2011 3:05 PM, Shilimkar, Santosh wrote: From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Cousson, Benoit + Rajendra Hi Tomi, On 3/7/2011 9:22 AM, Valkeinen, Tomi wrote: Hi Kevin, Paul, We currently have a small problem with OMAP4 DSS.

Re: Problem with DSS clocks accessing registers

2011-03-07 Thread Tomi Valkeinen
On Mon, 2011-03-07 at 07:51 -0600, Cousson, Benoit wrote: + Rajendra Hi Tomi, On 3/7/2011 9:22 AM, Valkeinen, Tomi wrote: Hi Kevin, Paul, We currently have a small problem with OMAP4 DSS. When we enable the DSS clocks, it seems that the DSS registers are not always accessible right

Re: OMAP 3730 200 MHz SDRAM config

2011-03-07 Thread Elvis Dowson
Hi, On Mar 7, 2011, at 6:46 PM, Orjan Friberg wrote: I'm looking at configuring an OMAP 3730 board for 200 MHz SDRAM. I've been looking at the kernel code (arch/arm/mach-omap2) the last couple of days to try and figure out what I need to do. We're basing ourselves off of the Beagleboard,

RE: [RFC 3/3] am35xx: pm: Hook-up with TPS65023

2011-03-07 Thread Premi, Sanjeev
-Original Message- From: Sripathy, Vishwanath Sent: Thursday, February 24, 2011 3:35 PM To: Premi, Sanjeev; linux-omap@vger.kernel.org Subject: RE: [RFC 3/3] am35xx: pm: Hook-up with TPS65023 Sanjeev, -Original Message- From: linux-omap-ow...@vger.kernel.org

Re: OMAP 3730 200 MHz SDRAM config

2011-03-07 Thread Orjan Friberg
On 2011-03-07 16:19, Elvis Dowson wrote: You probably need update x-loader. Try using the beagleboard x-loader project located at gitorious (v1.44) or the ti arago one (1.48, but not quite the latest in terms of support for beagleboard xm parts). Looking at

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

2011-03-07 Thread Sergei Shtylyov
Hello. On 07-03-2011 5:52, Nishanth Menon wrote: Blindly setting a 1.2V setting Hm, seems tautological... As a non native English speaker, I would like to understand how we could improve this. I suppose you mean Blindly setting 1.2V is better here. Am i correct? Yes. WBR, Sergei --

RE: [RFC 3/3] am35xx: pm: Hook-up with TPS65023

2011-03-07 Thread Vishwanath Sripathy
-Original Message- From: Premi, Sanjeev [mailto:pr...@ti.com] Sent: Monday, March 07, 2011 8:51 PM To: Sripathy, Vishwanath; linux-omap@vger.kernel.org Subject: RE: [RFC 3/3] am35xx: pm: Hook-up with TPS65023 -Original Message- From: Sripathy, Vishwanath Sent: Thursday,

Re: pm-core: recursive dependency on config

2011-03-07 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110305 01:55]: So I suspect that a merge conflict hasn't been resolved correctly. I'm not going to worry about that because I have the merge conflict resolution here already as part of my tree. Sounds like that's the case, I'll take a look.

Re: [PATCH] staging: tidspbridge: protect dmm_map properly

2011-03-07 Thread Felipe Contreras
On Mon, Dec 20, 2010 at 7:12 PM, Felipe Contreras felipe.contre...@nokia.com wrote: We need to protect not only the dmm_map list, but the individual map_obj's, otherwise, we might be building the scatter-gather list with garbage. So, use the existing proc_lock for that. I observed race

Re: USB issues with 2.6.38-rc7?

2011-03-07 Thread Steve Sakoman
On Sun, Mar 6, 2011 at 11:37 PM, Felipe Balbi ba...@ti.com wrote: On Sun, Mar 06, 2011 at 08:58:47PM -0800, Steve Sakoman wrote: I began working with mainline 2.6.38-rc7 on Overo this past week in an attempt to get a few patches submitted in time for the 2.6.39 merge window. One thing I've

Re: [PATCH] staging: tidspbridge: protect dmm_map properly

2011-03-07 Thread Ohad Ben-Cohen
On Mon, Mar 7, 2011 at 8:02 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Mon, Dec 20, 2010 at 7:12 PM, Felipe Contreras felipe.contre...@nokia.com wrote: We need to protect not only the dmm_map list, but the individual map_obj's, otherwise, we might be building the scatter-gather

[GIT PULL] Remaining omap fixes for 2.6.37-r7

2011-03-07 Thread Tony Lindgren
Hi Linus, Please pull omap fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git omap-fixes-for-linus This contains the remaining PM related fixes that were missing from the last pull request and one new fix for a mailbox hang. Regards, Tony The following

Re: [PATCH] staging: tidspbridge: protect dmm_map properly

2011-03-07 Thread Greg KH
On Mon, Mar 07, 2011 at 08:02:44PM +0200, Felipe Contreras wrote: On Mon, Dec 20, 2010 at 7:12 PM, Felipe Contreras felipe.contre...@nokia.com wrote: We need to protect not only the dmm_map list, but the individual map_obj's, otherwise, we might be building the scatter-gather list with

Re: [PATCH 5/5] OMAP: GPIO: use PM runtime framework

2011-03-07 Thread Kevin Hilman
Varadarajan, Charulatha ch...@ti.com writes: [...] GPIO driver is modified to use dev_pm_ops instead of sysdev_class. With this approach, gpio_bank_suspend() gpio_bank_resume() are not part of sys_dev_class. Usage of PM runtime get/put APIs in GPIO driver is as given below:

Re: [PATCH 2/5] OMAP: GPIO: use pwrdmn name to find wkup dmn GPIO

2011-03-07 Thread Kevin Hilman
Varadarajan, Charulatha ch...@ti.com writes: On Sat, Mar 5, 2011 at 02:21, Kevin Hilman khil...@ti.com wrote: Charulatha V ch...@ti.com writes: In omap3, save/restore context is implemented for GPIO banks 2-6 as GPIO bank1 is in wakeup domain. Instead of identifying bank's power domain by

Re: [PATCH v2 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp

2011-03-07 Thread Ramirez Luna, Omar
Hi Benoit, On Mon, Mar 7, 2011 at 6:55 AM, Cousson, Benoit b-cous...@ti.com wrote: Hi Omar, I have some concern about the introduction of a hwmod that does not match the actual HW capability. MMU does exist, but there is no SW control for it. Maybe I'm missing something, but iommu (driver)

Re: [PATCH 0/3] OMAP: DMA: mstandby mode and runtime pm support

2011-03-07 Thread Kevin Hilman
G, Manjunath Kondaiah manj...@ti.com writes: On Fri, Mar 04, 2011 at 09:48:26AM +0530, G, Manjunath Kondaiah wrote: On Thu, Mar 03, 2011 at 10:35:23AM -0800, Kevin Hilman wrote: G, Manjunath Kondaiah manj...@ti.com writes: This patch series is remaining part of dma hwmod to support pm

Re: [PATCH 1/2] OMAP3: cpuidle: prevent CORE power domain from going to RET or OFF when DSS is on

2011-03-07 Thread Kevin Hilman
tero.kri...@nokia.com writes: [...] + /* If DSS is active, prevent CORE RET/OFF */ + dss_state = pwrdm_read_pwrst(dss_pd); + if (dss_state == PWRDM_POWER_ON + core_next_state != PWRDM_POWER_ON) + core_next_state = PWRDM_POWER_INACTIVE; + Due to sleepdeps/autodeps, when this

Re: [PATCH 1/2] ARM: l2x0: Errata fix for flush by Wayoperationcan cause data corruption

2011-03-07 Thread Russell King - ARM Linux
On Mon, Mar 07, 2011 at 05:55:22PM +0530, Santosh Shilimkar wrote: Below is the updated version. Also attached. Russell, Do you want me to push this to patch system or you can apply this one? Patch system please. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the

Re: [PATCH] omap: iommu: disallow mapping NULL address

2011-03-07 Thread Guzman Lugo, Fernando
On Mon, Mar 7, 2011 at 7:10 AM, Michael Jones michael.jo...@matrix-vision.de wrote: From e7dbe4c4b64eb114f9b0804d6af3a3ca0e78acc8 Mon Sep 17 00:00:00 2001 From: Michael Jones michael.jo...@matrix-vision.de Date: Mon, 7 Mar 2011 13:36:15 +0100 Subject: [PATCH] omap: iommu: disallow mapping NULL

Re: [PATCH] omap: iommu: disallow mapping NULL address

2011-03-07 Thread David Cohen
On Mon, Mar 7, 2011 at 9:17 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Mon, Mar 7, 2011 at 7:10 AM, Michael Jones michael.jo...@matrix-vision.de wrote: From e7dbe4c4b64eb114f9b0804d6af3a3ca0e78acc8 Mon Sep 17 00:00:00 2001 From: Michael Jones michael.jo...@matrix-vision.de Date:

Re: [PATCH] omap: iommu: disallow mapping NULL address

2011-03-07 Thread Guzman Lugo, Fernando
On Mon, Mar 7, 2011 at 1:19 PM, David Cohen daco...@gmail.com wrote: On Mon, Mar 7, 2011 at 9:17 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Mon, Mar 7, 2011 at 7:10 AM, Michael Jones michael.jo...@matrix-vision.de wrote: From e7dbe4c4b64eb114f9b0804d6af3a3ca0e78acc8 Mon Sep 17

Re: [PATCH] staging: tidspbridge: protect dmm_map properly

2011-03-07 Thread Ramirez Luna, Omar
Hi Felipe, On Mon, Mar 7, 2011 at 12:02 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Mon, Dec 20, 2010 at 7:12 PM, Felipe Contreras felipe.contre...@nokia.com wrote: We need to protect not only the dmm_map list, but the individual map_obj's, otherwise, we might be building the

Re: [PATCH] omap: iommu: disallow mapping NULL address

2011-03-07 Thread David Cohen
On Mon, Mar 7, 2011 at 9:25 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Mon, Mar 7, 2011 at 1:19 PM, David Cohen daco...@gmail.com wrote: On Mon, Mar 7, 2011 at 9:17 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Mon, Mar 7, 2011 at 7:10 AM, Michael Jones

Re: [PATCH v8 6/7] omap3430: Updating the board file to use TWL4030 scripts

2011-03-07 Thread Kevin Hilman
Lesly A M lesl...@ti.com writes: Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Minor: Re: Subject: OMAP is an acronym, please capitalize. Cc: Nishanth Menon n...@ti.com Cc: David Derrick

Re: [PATCH v8 3/7] omap3: pm: TWL4030 power scripts for OMAP3 boards

2011-03-07 Thread Kevin Hilman
Lesly A M lesl...@ti.com writes: Power bus message sequence for TWL4030 to enter sleep/wakeup/warm_reset. TWL4030 power scripts which can be used by different OMAP3 boards with the power companion chip (TWL4030 series). The twl4030 generic script is exported and can be used by any other

Re: [PATCH v8 6/7] omap3430: Updating the board file to use TWL4030 scripts

2011-03-07 Thread Kevin Hilman
Kevin Hilman khil...@ti.com writes: Lesly A M lesl...@ti.com writes: Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Minor: Re: Subject: OMAP is an acronym, please capitalize. Cc: Nishanth Menon

Re: [PATCH v8 5/7] mfd: TWL4030: changes for TRITON Errata 27 workaround

2011-03-07 Thread Kevin Hilman
Hi Lesly, Lesly A M lesl...@ti.com writes: Workaround for TWL5030 Silicon Errata 27 28: 27 - VDD1, VDD2, may have glitches when their output value is updated. 28 - VDD1 and / or VDD2 DCDC clock may stop working when internal clock is switched from internal to

Re: [PATCH] omap: iommu: disallow mapping NULL address

2011-03-07 Thread Laurent Pinchart
Hi David, On Monday 07 March 2011 20:41:21 David Cohen wrote: On Mon, Mar 7, 2011 at 9:25 PM, Guzman Lugo, Fernando wrote: On Mon, Mar 7, 2011 at 1:19 PM, David Cohen wrote: On Mon, Mar 7, 2011 at 9:17 PM, Guzman Lugo, Fernando wrote: On Mon, Mar 7, 2011 at 7:10 AM, Michael Jones wrote:

Re: [PATCH v8 0/8] omap3: pm: TWL4030 power scripts and workaround for TWL errata 27

2011-03-07 Thread Kevin Hilman
Lesly A M lesl...@ti.com writes: Patch series for TWL4030 power scripts and workaround for TWL errata 27. Changes for implementing TWL4030 power scripts recommended by hardware team. Introduced a new TWL4030 power script file, which can be used by different OMAP3 board with the power

Re: [PATCH v5 REPOST 0/5] ARM: omap[34]: Thumb-2 compatibility fixes

2011-03-07 Thread Kevin Hilman
Santosh Shilimkar santosh.shilim...@ti.com writes: Dave, -Original Message- From: Dave Martin [mailto:dave.mar...@linaro.org] Sent: Friday, March 04, 2011 11:05 PM To: linux-arm-ker...@lists.infradead.org Cc: patc...@linaro.org; Tony Lindgren; Santosh Shilimkar; Jean Pihet; Kevin

Re: [PATCH] omap: iommu: disallow mapping NULL address

2011-03-07 Thread David Cohen
On Mon, Mar 7, 2011 at 11:19 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi David, Hi Laurent, On Monday 07 March 2011 20:41:21 David Cohen wrote: On Mon, Mar 7, 2011 at 9:25 PM, Guzman Lugo, Fernando wrote: On Mon, Mar 7, 2011 at 1:19 PM, David Cohen wrote: On Mon, Mar

Re: [PATCH] staging: tidspbridge: protect dmm_map properly

2011-03-07 Thread Felipe Contreras
On Mon, Mar 7, 2011 at 9:29 PM, Ramirez Luna, Omar omar.rami...@ti.com wrote: On Mon, Mar 7, 2011 at 12:02 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Mon, Dec 20, 2010 at 7:12 PM, Felipe Contreras felipe.contre...@nokia.com wrote: We need to protect not only the dmm_map list,

Re: [PATCHv2] OMAP3: CPUIdle: prevent CORE from going off if doing so would reset an active clockdomain

2011-03-07 Thread Kevin Hilman
Hi Tero, Tero Kristo tero.kri...@nokia.com writes: On OMAP3 SoCs, if the CORE powerdomain enters off-mode, many other parts of the chip will be reset. If those parts of the chip are busy, the reset will disrupt them, causing unpredictable and generally undesirable results. This reset is

Re: [PATCH v5 REPOST 0/5] ARM: omap[34]: Thumb-2 compatibility fixes

2011-03-07 Thread Kevin Hilman
Dave Martin dave.mar...@linaro.org writes: This set of patches, along with some other patches under discussion on alkml, should enable omap3 and omap4 kernels to be built with CONFIG_THUMB2_KERNEL. This patch set builds on recent cleanup done by the omap maintainers. At least some of this

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

2011-03-07 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: 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.

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

2011-03-07 Thread Kevin Hilman
Shweta Gulati shweta.gul...@ti.com writes: 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/

Re: Integration branch base switchover to Tony's omap-for-linus branch

2011-03-07 Thread Paul Walmsley
Hi Rajendra, Santosh, On Fri, 4 Mar 2011, Rajendra Nayak wrote: On Thursday 03 March 2011 06:00 PM, Rajendra Nayak wrote: Also some more testing showed up a lockup in suspend on OMAP4 which I could narrow down to a similar case with GPT1. Either keeping the staticdep between MPU and

Re: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-07 Thread Tony Lindgren
* DebBarma, Tarun Kanti tarun.ka...@ti.com [110307 04:52]: I agree with Tony. We can still registers only the system timer because the timer ID is known well before we do initialization. I must say, there was a gap in my understanding of the comment. So, here is the implementation

Re: [PATCH v11 7/8] OMAP: dmtimer: pm_runtime support

2011-03-07 Thread Tony Lindgren
* DebBarma, Tarun Kanti tarun.ka...@ti.com [110304 16:20]: Now, coming back to our present requirement where we initialize Only the system timer early and is skipped later, here is the plan: (1) Have a separate class in hwmod database with unique name system_timer (2) Initialize just this

RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-07 Thread DebBarma, Tarun Kanti
-Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Tuesday, March 08, 2011 5:37 AM To: DebBarma, Tarun Kanti Cc: Shilimkar, Santosh; linux-omap@vger.kernel.org Subject: Re: [PATCH v11 6/8] dmtimer: switch-over to platform device driver * DebBarma, Tarun Kanti

RE: [PATCH v11 7/8] OMAP: dmtimer: pm_runtime support

2011-03-07 Thread DebBarma, Tarun Kanti
-Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Tuesday, March 08, 2011 5:40 AM To: DebBarma, Tarun Kanti Cc: Hilman, Kevin; linux-omap@vger.kernel.org; Basak, Partha Subject: Re: [PATCH v11 7/8] OMAP: dmtimer: pm_runtime support * DebBarma, Tarun Kanti

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

2011-03-07 Thread Nishanth Menon
Kevin Hilman wrote, on 03/08/2011 03:45 AM: Nishanth Menonn...@ti.com writes: From: Vishwanath BSvishwanath...@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

Re: [PATCH 1/2] OMAP PM: create a PM layer plugin for the devices wakeup latency constraints

2011-03-07 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: Created arch/arm/plat-omap/omap-pm-constraints.c file from arch/arm/plat-omap/omap-pm-noop.c and the associated Kconfig option OMAP_PM_CONSTRAINTS. Based on the original patch from Vishwanath, cf. https://patchwork.kernel.org/patch/327312/ Cc:

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

2011-03-07 Thread Nishanth Menon
On Mon, Mar 07, 2011 at 07:23:15PM +0300, Sergei Shtylyov wrote: Hello. On 07-03-2011 5:52, Nishanth Menon wrote: Blindly setting a 1.2V setting Hm, seems tautological... As a non native English speaker, I would like to understand how we could improve this. I suppose you mean Blindly

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

2011-03-07 Thread Nishanth Menon
Shweta Gulati wrote, on 03/05/2011 03:21 PM: 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

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

2011-03-07 Thread Nishanth Menon
Shweta Gulati wrote, on 03/05/2011 03:21 PM: 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 Gulatishweta.gul...@ti.com Cc: linux-arm-ker...@lists.infradead.org ---

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

2011-03-07 Thread Nishanth Menon
Shweta Gulati wrote, on 03/05/2011 03:22 PM: This Patch adds OPP enteries for IVA in OMAP4 OPP Table Tested on OMAP4430 SDP Board. Signed-off-by: Shweta Gulatishweta.gul...@ti.com Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/mach-omap2/opp4xxx_data.c |8 +++- 1 files

Re: [PATCH 2/2] OMAP: PM: implement devices wakeup latency constraints APIs

2011-03-07 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: Implement OMAP PM layer omap_pm_set_max_dev_wakeup_lat API by creating similar APIs at the omap_device and omap_hwmod levels. The omap_hwmod level call is the layer with access to the powerdomain core, so it is the place where the powerdomain is

[PATCH 0/3] OMAP2+: powerdomain: add fn to determine whether pwrdm is always on

2011-03-07 Thread Paul Walmsley
Hello, this series adds an OMAP powerdomain API function that allows its callers to determine whether a particular powerdomain can ever lose register or memory bank context while the SoC is powered. This is intended for use by driver-subarch integration code (i.e., arch/arm/*omap*) to pass a

[PATCH 1/3] OMAP2/3: WKUP powerdomain: mark as being always on

2011-03-07 Thread Paul Walmsley
Mark the WKUP powerdomain as being always on -- at least, as long as the chip has power. This will be used to enable the powerdomain code to determine whether a given powerdomain is ever able to power off. While here, update the file copyright. Signed-off-by: Paul Walmsley p...@pwsan.com ---

[PATCH 3/3] OMAP2+: powerdomain: add pwrdm_can_ever_lose_context()

2011-03-07 Thread Paul Walmsley
Some drivers wish to know whether the device that they control can ever lose context, for example, when the device's enclosing powerdomain loses power. They can use this information to determine whether it is necessary to save and restore device context, or whether it can be skipped. Implement

[PATCH 2/3] OMAP2+: powerdomain: fix bank power state bitfields

2011-03-07 Thread Paul Walmsley
The bank power state bitfields in the powerdomain data are encoded incorrectly. These fields are intended to be bitfields, representing a set of power states that the memory banks support. However, when only one power state was supported by a given bank, the field was incorrectly set to the bit

Re: [PATCH 2/5] OMAP: GPIO: use pwrdmn name to find wkup dmn GPIO

2011-03-07 Thread Paul Walmsley
Hi On Mon, 7 Mar 2011, Kevin Hilman wrote: Varadarajan, Charulatha ch...@ti.com writes: On Sat, Mar 5, 2011 at 02:21, Kevin Hilman khil...@ti.com wrote: Charulatha V ch...@ti.com writes: +             if (!strcmp(bank-pwrdm_name, wkup_pwrdm)) +                     continue; +

Re: [PATCH] OMAP1: McBSP: fix build break for non-multi-OMAP1 configs

2011-03-07 Thread Paul Walmsley
On Mon, 7 Mar 2011, Jarkko Nikula wrote: omapxxx_mcbsp_res_0 doesn't look the best here in readability point of view but provides the smallest fix as no need to rename array and modify the _RES_SZ and _COUNT macros. So this fix is needed here and a small readability update can be done later.

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

2011-03-07 Thread Nishanth Menon
Kevin Hilman wrote, on 03/08/2011 04:00 AM: Shweta Gulatishweta.gul...@ti.com writes: 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

[PATCH 0/5] OMAP2+: hwmod: miscellaneous fixes for 2.6.39

2011-03-07 Thread Paul Walmsley
Hello, this series contains some fixes for the OMAP hwmod code and data: - the OCP_SYSCONFIG.AUTOIDLE bit mask has been corrected; - several OMAP2/3 hwmods have been marked with SYSS_HAS_RESET_STATUS, which was previously missing; - _init_clocks() now passes along the return value of its

[PATCH 1/5] OMAP2+: hwmod: fix incorrect computation of autoidle_mask

2011-03-07 Thread Paul Walmsley
From: Tarun Kanti DebBarma tarun.ka...@ti.com Autoidle is a single bit, TIOCP_CFG[0], setting on OMAP1/2/3/4 platforms. In _set_module_autoidle() I am seeing 0x3 value where the mask is computed. This should be 0x1. v2: (1) Modified the subject. (2) Modified the description with further specific

[PATCH 5/5] OMAP2+: hwmod: use status bit info for reset line

2011-03-07 Thread Paul Walmsley
From: omar ramirez omar.rami...@ti.com On OMAP2 and OMAP3 the reset ctrl shift doesn't match the status bit, as it does on OMAP4, when handling the reset lines. This patch adds a new member in the reset info structure, so now it can be added as part of hwmod data, and checked accordingly for

[PATCH 4/5] OMAP2+: hwmod: fix a documentation bug with HWMOD_NO_OCP_AUTOIDLE

2011-03-07 Thread Paul Walmsley
The documented name of the HWMOD_NO_OCP_AUTOIDLE flag was incorrect; fix it. Signed-off-by: Paul Walmsley p...@pwsan.com --- arch/arm/plat-omap/include/plat/omap_hwmod.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h

[PATCH 3/5] OMAP2+: hwmod: Fix what _init_clock returns

2011-03-07 Thread Paul Walmsley
From: Rajendra Nayak rna...@ti.com _init_clock always returns 0 and does not propogate the error (in case of failure) back to the caller, causing _init_clocks to fail silently. Signed-off-by: Rajendra Nayak rna...@ti.com Acked-by: Benoît Cousson b-cous...@ti.com Signed-off-by: Paul Walmsley

[PATCH 2/5] omap: hwmod: add syss reset done flags to omap2, omap3 hwmods

2011-03-07 Thread Paul Walmsley
From: Avinash.H.M avinas...@ti.com Some of the omap2, omap3 peripherals support software reset. This can be done through the softreset bit in sysconfig register. The reset status can be checked through resetdone bit of sysstatus register. syss_has_reset_status is added to the hwmod database of

Re: [PATCH 2/5] OMAP: GPIO: use pwrdmn name to find wkup dmn GPIO

2011-03-07 Thread Varadarajan, Charulatha
Paul, Kevin, Thanks. On Tue, Mar 8, 2011 at 07:55, Paul Walmsley p...@pwsan.com wrote: Hi On Mon, 7 Mar 2011, Kevin Hilman wrote: Varadarajan, Charulatha ch...@ti.com writes: On Sat, Mar 5, 2011 at 02:21, Kevin Hilman khil...@ti.com wrote: Charulatha V ch...@ti.com writes: +        

RE: [PATCH v5 REPOST 0/5] ARM: omap[34]: Thumb-2 compatibility fixes

2011-03-07 Thread Santosh Shilimkar
-Original Message- From: Kevin Hilman [mailto:khil...@ti.com] Sent: Tuesday, March 08, 2011 3:05 AM To: Santosh Shilimkar Cc: Dave Martin; linux-arm-ker...@lists.infradead.org; patc...@linaro.org; Tony Lindgren; Jean Pihet-XID; linux- o...@vger.kernel.org; Nicolas Pitre;

RE: [PATCH 1/2] ARM: l2x0: Errata fix for flush by Wayoperationcancause data corruption

2011-03-07 Thread Santosh Shilimkar
-Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Tuesday, March 08, 2011 12:40 AM To: Santosh Shilimkar Cc: Will Deacon; t...@atomide.com; Catalin Marinas; linux- o...@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH

Re: [PATCH v8 3/7] omap3: pm: TWL4030 power scripts for OMAP3 boards

2011-03-07 Thread Manuel, Lesly Arackal
Hi Kevin, On Tue, Mar 8, 2011 at 2:32 AM, Kevin Hilman khil...@ti.com wrote: Lesly A M lesl...@ti.com writes: Power bus message sequence for TWL4030 to enter sleep/wakeup/warm_reset. TWL4030 power scripts which can be used by different OMAP3 boards with the power companion chip (TWL4030

  1   2   >