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

2011-03-08 Thread K, Mythri P
Hi Tomi, On Mon, Mar 7, 2011 at 2:10 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: 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

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

2011-03-08 Thread Cousson, Benoit
Salut Paul, On 3/8/2011 12:25 AM, Paul Walmsley wrote: 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

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

2011-03-08 Thread K, Mythri P
Hi Tomi, On Mon, Mar 7, 2011 at 3:16 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: 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

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

2011-03-08 Thread Tomi Valkeinen
On Tue, 2011-03-08 at 02:17 -0600, K, Mythri P wrote: Hi Tomi, On Mon, Mar 7, 2011 at 3:16 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: 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

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

2011-03-08 Thread Hiroshi DOYU
From: ext David Cohen daco...@gmail.com Subject: Re: [PATCH] omap: iommu: disallow mapping NULL address Date: Mon, 7 Mar 2011 21:41:21 +0200 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:

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

2011-03-08 Thread Hiroshi DOYU
From: ext David Cohen daco...@gmail.com Subject: Re: [PATCH] omap: iommu: disallow mapping NULL address Date: Mon, 7 Mar 2011 23:35:31 +0200 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

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

2011-03-08 Thread Sakari Ailus
Guzman Lugo, Fernando 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 michael.jo...@matrix-vision.de wrote: From

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

2011-03-08 Thread Varadarajan, Charulatha
On Tue, Mar 8, 2011 at 07:45, Paul Walmsley p...@pwsan.com wrote: 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

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

2011-03-08 Thread David Cohen
Hi Fernando, On Tue, Mar 8, 2011 at 11:13 AM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Guzman Lugo, Fernando 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

Re: Problem with DSS clocks accessing registers

2011-03-08 Thread Cousson, Benoit
On 3/7/2011 4:03 PM, Valkeinen, Tomi wrote: 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

[PATCH 2 00/18] I2C: OMAP: Fixes and removal of cpu_... from driver

2011-03-08 Thread Andy Green
The following series removes cpu_...() usage completely from the omap-i2c driver by having decisions about functional implementation choices in the SoC held in cpu-specific hwmod tables that are already established, or for OMAP1 where there is no hwmod, set at OMAP1-specific i2c bus addition time.

[PATCH 2 02/18] I2C: OMAP2+: Name registers in I2C IP V2 only accordingly

2011-03-08 Thread Andy Green
The OMAP I2C driver dynamically chooses between two register sets of differing sizes depending on the cpu type it finds itself on. It has been observed that the existing code references non-existing registers on OMAP3530, because while it correctly chose the smaller register layout based on cpu

[PATCH 2 03/18] I2C: OMAP2+: Introduce I2C IP versioning constants

2011-03-08 Thread Andy Green
These represent the two kinds of (incompatible) OMAP I2C peripheral unit in use so far. The constants are in linux/i2c-omap.h so the omap i2c driver can have them too. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy

[PATCH 2 04/18] I2C: OMAP2+: Tag all OMAP2+ hwmod defintions with I2C IP revision

2011-03-08 Thread Andy Green
Since we cannot trust (or even reliably find) the OMAP I2C peripheral unit's own revision register, we must inform the OMAP i2c driver of which IP version it is running on. We do this by tagging the omap_hwmod_class for i2c on all the OMAP2+ platform / cpu specific hwmod init and passing it up to

[PATCH 2 05/18] I2C: OMAP: add rev to omap i2c platform data

2011-03-08 Thread Andy Green
We need to pass the I2C IP revision from the hwmod class up into the OMAP I2C driver, which does not have direct access to it. This adds a member to the platform data the OMAP I2C driver does use already to hold the I2C IP revision. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org

[PATCH 2 06/18] I2C: OMAP1: set IP revision in platform data

2011-03-08 Thread Andy Green
All OMAP1 are using IP revision 1 in terms of register layout. We set this information in omap1_i2c_add_bus() so we don't have to use cpu_is_xxx() any more in the omap i2c driver. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org

[PATCH 2 07/18] I2C: OMAP2+: Pass hwmod rev knowledge via platform_data when i2c bus added

2011-03-08 Thread Andy Green
Mark each OMAP I2C bus with the hwmod's knowledge of which I2C IP version is in the chip we're running on. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy Green andy.gr...@linaro.org --- arch/arm/plat-omap/i2c.c |

[PATCH 2 08/18] I2C: OMAP2+: use platform_data ip revision to select register map

2011-03-08 Thread Andy Green
Change the register map names to reflect the IP revision they are representing, and use the platform_data IP revision index to select between them at init time. Eliminates 1 of 17 cpu_...() calls in the driver. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell

[PATCH 2 01/18] I2C: OMAP2+: Set hwmod flags to only allow 16-bit accesses to i2c

2011-03-08 Thread Andy Green
Peter Maydell noticed when running under QEMU he was getting errors reporting 32-bit access to I2C peripheral unit registers that are documented to be 8 or 16-bit only[1][2] The I2C driver is blameless as it wraps its accesses in a function using __raw_writew and __raw_readw, it turned out it is

[PATCH 2 09/18] I2C: OMAP2+: Solve array bounds overflow error on i2c idle

2011-03-08 Thread Andy Green
This solves the main problem the patch series is about. Prior to this patch on OMAP3530 the driver wrongly interprets the I2C peripheral unit's own reported revision as meaning it is running on an IP V2 device and must use the extended registers. In fact OMAP3530 is IP V1 with the smaller

[PATCH 2 12/18] I2C: OMAP1/OMAP2+: add flags field to omap i2c platform data

2011-03-08 Thread Andy Green
OMAP I2C driver can access the configuration flags through its platform data. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy Green andy.gr...@linaro.org --- include/linux/i2c-omap.h |1 + 1 files changed, 1

[PATCH 2 13/18] I2C: OMAP2+: Pass flags up to omap i2c platform_data as well

2011-03-08 Thread Andy Green
This is how the driver can find the flags for its implementation functionality in its platform_data Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy Green andy.gr...@linaro.org --- arch/arm/plat-omap/i2c.c |7

[PATCH 2 14/18] I2C: OMAP1/OMAP2+: create omap I2C functionality flags for each cpu_... test

2011-03-08 Thread Andy Green
These represent the 8 kinds of implementation functionality that up until now were inferred by the 16 remaining cpu_...() tests in the omap i2c driver. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy Green

[PATCH 2 15/18] I2C: OMAP2+: add correct functionality flags to all omap2plus i2c dev_attr

2011-03-08 Thread Andy Green
This adds the new functionality flags for omap i2c unit to all OMAP2 hwmod definitions Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy Green andy.gr...@linaro.org --- arch/arm/mach-omap2/omap_hwmod_2420_data.c |

[PATCH 2 16/18] I2C: OMAP1: set i2c unit feature implementation flags in platform data

2011-03-08 Thread Andy Green
Most of the OMAP1 implementation flags are set statically, with the exception that omap7xx has its data bus wired up differently. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy Green andy.gr...@linaro.org ---

[PATCH 2 17/18] I2C: OMAP2+: Convert omap I2C driver to use feature implementation flags from platform data

2011-03-08 Thread Andy Green
This patch eliminates all cpu_...() tests from the OMAP I2C driver. Instead, it uses the functionality flags in the platform data to make the decisions about product variations the driver needs to handle. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell

[PATCH 2 18/18] I2C: OMAP1/OMAP2+: prepend I2C IP version to probed version shown in dev_info

2011-03-08 Thread Andy Green
The IP version is prepended to the existing printed probed version as an epoch version. Cc: patc...@linaro.org Cc: Ben Dooks ben-li...@fluff.org Reported-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Andy Green andy.gr...@linaro.org --- drivers/i2c/busses/i2c-omap.c |4 ++-- 1

RE: [PATCH 0/6] omap3: pm: Fixes for low power code

2011-03-08 Thread Santosh Shilimkar
Kevin, -Original Message- From: Kevin Hilman [mailto:khil...@ti.com] Sent: Thursday, March 03, 2011 6:53 AM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 0/6] omap3: pm: Fixes for low power code Hi Santosh, Santosh

Re: [PATCH 2/7] OMAP2+: mux: Enable wakeup for wakeup enable requested pads

2011-03-08 Thread Govindraj
On Sat, Mar 5, 2011 at 7:27 AM, Kevin Hilman khil...@ti.com wrote: Kevin Hilman khil...@ti.com writes: Govindraj.R govindraj.r...@ti.com writes: [...]  /* Assumes the calling function takes care of locking */  void omap_hwmod_mux(struct omap_hwmod_mux_info *hmux, u8 state)  { @@ -342,6

[PATCH v2 0/2] OMAP2PLUS: DSS2: Clock Source Changes

2011-03-08 Thread Archit Taneja
There are clocks on OMAP4 within DSS2 which can have multiple clock sources. This cleans up the existing way of selecting/getting the clock sources and add some of the new clock sources for OMAP4. Applies over: http://gitorious.org/linux-omap-dss2/linux/commits/master Archit Taneja (2):

[PATCH v2 1/2] OMAP2PLUS: DSS2: Cleanup clock source related code

2011-03-08 Thread Archit Taneja
Clean up some of the DSS functions which select/get clock sources, use switch to select the clock source members since more clock sources will be introduced later on. Remove the use of macro CONFIG_OMAP2_DSS_DSI in dispc_fclk_rate, use a dummy inline for function for

[PATCH v2 2/2] OMAP4: DSS2: Clock source changes for OMAP4

2011-03-08 Thread Archit Taneja
On OMAP3, the pixel clock for the LCD manager was derived through DISPC_FCLK as: Lcd Pixel clock = DISPC_FCLK / lcd / pcd Where lcd and pcd are divisors in the DISPC_DIVISOR register. On OMAP4, the pixel clocks for LCD1 and LCD2 managers are derived from 2 new clocks named LCD1_CLK and

Re: [PATCH 2/7] OMAP2+: mux: Enable wakeup for wakeup enable requested pads

2011-03-08 Thread Govindraj
On Sat, Mar 5, 2011 at 5:24 AM, Kevin Hilman khil...@ti.com wrote: Hi Govindraj, Govindraj.R govindraj.r...@ti.com writes: For device pads which have OMAP_DEVICE_PAD_WAKEUP set (which means they are wakeup capable) enable the IO-daisy wakeup capability. During re-muxing avoid direct write

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

2011-03-08 Thread Premi, Sanjeev
-Original Message- From: Sripathy, Vishwanath Sent: Monday, March 07, 2011 10:01 PM To: Premi, Sanjeev; linux-omap@vger.kernel.org Subject: RE: [RFC 3/3] am35xx: pm: Hook-up with TPS65023 [snip]...[snip] From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-

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

2011-03-08 Thread Vishwanath Sripathy
-Original Message- From: Premi, Sanjeev [mailto:pr...@ti.com] Sent: Tuesday, March 08, 2011 5:56 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: Monday,

[PATCH 0/3] omap: iovmm: Fix IOVMM check for fixed 'da'

2011-03-08 Thread David Cohen
IOVMM driver checks input 'da == 0' when mapping address to determine whether user wants fixed 'da' or not. At the same time, it doesn't disallow address 0x0 to be used, what creates an ambiguous situation. This patch set moves fixed 'da' check to the input flags. It also fixes da_start value for

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

2011-03-08 Thread Nishanth Menon
Premi, Sanjeev wrote, on 03/08/2011 05:56 PM: [...] Add glue logic to hook-up AM35x processors with TPS65023. It seems that you are not really using Voltage layer for any interaction with TPS65023 as you are not using VP and VC. Then what is the purpose of registering this PMIC with

[PATCH 2/3] omap3: change ISP's IOMMU da_start address

2011-03-08 Thread David Cohen
ISP doesn't consider 0x0 as a valid address, so it should explicitly exclude first page from allowed 'da' range. Signed-off-by: David Cohen daco...@gmail.com --- arch/arm/mach-omap2/omap-iommu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread David Cohen
From: Michael Jones michael.jo...@matrix-vision.de commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL address if da_start==0, which would then not get unmapped. Disallow this again. And spell variable 'alignment' correctly. Signed-off-by: Michael Jones

[PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread David Cohen
Currently IOVMM driver sets IOVMF_DA_FIXED/IOVMF_DA_ANON flags according to input 'da' address when mapping memory: da == 0: IOVMF_DA_ANON da != 0: IOVMF_DA_FIXED It prevents IOMMU to map first page with fixed 'da'. To avoid such issue, IOVMM will not automatically set IOVMF_DA_FIXED. It should

Re: [PATCH 0/3] omap: iovmm: Fix IOVMM check for fixed 'da'

2011-03-08 Thread Hiroshi DOYU
From: ext David Cohen daco...@gmail.com Subject: [PATCH 0/3] omap: iovmm: Fix IOVMM check for fixed 'da' Date: Tue, 8 Mar 2011 14:46:02 +0200 IOVMM driver checks input 'da == 0' when mapping address to determine whether user wants fixed 'da' or not. At the same time, it doesn't disallow address

[PATCH 0/2] omap_wdt: fix interface clock handling

2011-03-08 Thread Kalle Jokiniemi
The runtime PM does not offer enough granularity to control individual clocks separately as needed. Current pm implementation of omap_wdt blocks the CORE power domain from idling in OMAP SoC, as it keeps the interface clock of the watchdog always on. This causes severe power leakage in devices

[PATCH 1/2] Revert OMAP: WDT: Use PM runtime APIs instead of clk FW APIs

2011-03-08 Thread Kalle Jokiniemi
This reverts commit 7ec5ad0f3c1e28b693185c35f768953c5db32291. The runtime PM APIs do not allow separate switching of watchdog interface clock. Both functional clock and interface clock are switched at the same time. This results in the CORE power domain being unable to sleep due to the watchdog

[PATCH 2/2] Watchdog: omap_wdt: fix interface clock handling

2011-03-08 Thread Kalle Jokiniemi
Keeping the omap watchdog interface clock always enabled blocks OMAP CORE power domain from sleeping. Introduce fine grain clock control to fix the issue. This patch is based on a patch created by Atal Shargorodsky: http://lkml.org/lkml/2009/3/10/266. Signed-off-by: Kalle Jokiniemi

Re: [PATCH v8 1/7] omap3: pm: Fix for the TRITON sleep/wakeup sequence

2011-03-08 Thread Menon, Nishanth
minor comment - here and elsewhere - OMAP, PM is a good idea to be caps even in $subject. On Wed, Mar 2, 2011 at 19:00, Lesly A M lesl...@ti.com wrote: Only configure sleep script when the flag is TWL4030_SLEEP_SCRIPT. Adding the missing brackets for fixing the issue. Signed-off-by: Lesly A

Re: [PATCH v8 2/7] omap3: pm: Correct the warning print during script loading

2011-03-08 Thread Menon, Nishanth
On Wed, Mar 2, 2011 at 19:00, Lesly A M lesl...@ti.com wrote: Correcting the if condition check for printing the warning, if wakeup script is not updated before updating the sleep script. Since the flag 'order' is set to '1' while updating the wakeup script for P1P2, the condition checking

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

2011-03-08 Thread Premi, Sanjeev
-Original Message- From: Menon, Nishanth Sent: Tuesday, March 08, 2011 6:16 PM To: Premi, Sanjeev Cc: Sripathy, Vishwanath; linux-omap@vger.kernel.org Subject: Re: [RFC 3/3] am35xx: pm: Hook-up with TPS65023 Premi, Sanjeev wrote, on 03/08/2011 05:56 PM: [...] Add glue logic

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

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

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

2011-03-08 Thread Menon, Nishanth
On Tue, Mar 8, 2011 at 18:48, Premi, Sanjeev pr...@ti.com wrote: [...] Thinking from a generic soln perspective, lets try and split this into multiple issues: a) OPP and Voltage layer voltages - these need to be PMIC aware as well. See my comment on

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

2011-03-08 Thread Premi, Sanjeev
-Original Message- From: Menon, Nishanth Sent: Tuesday, March 08, 2011 6:58 PM To: Premi, Sanjeev Cc: Sripathy, Vishwanath; linux-omap@vger.kernel.org Subject: Re: [RFC 3/3] am35xx: pm: Hook-up with TPS65023 On Tue, Mar 8, 2011 at 18:48, Premi, Sanjeev pr...@ti.com wrote: [...]

Re: [PATCH 5/7] Serial: OMAP: add runtime pm support for omap-serial driver

2011-03-08 Thread Govindraj
On Sat, Mar 5, 2011 at 7:29 AM, Kevin Hilman khil...@ti.com wrote: Govindraj.R govindraj.r...@ti.com writes: Adapts omap-serial driver to use pm_runtime api's. 1.) Populate reg values to uart port which can be used for context restore. 2.) Moved Erratum handling func to driver from serial.c

Re: [PATCH 2/3] omap3: change ISP's IOMMU da_start address

2011-03-08 Thread Sakari Ailus
David Cohen wrote: ISP doesn't consider 0x0 as a valid address, so it should explicitly exclude first page from allowed 'da' range. Signed-off-by: David Cohen daco...@gmail.com --- arch/arm/mach-omap2/omap-iommu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

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

2011-03-08 Thread G, Manjunath Kondaiah
On Mon, Mar 07, 2011 at 04:36:12PM +0530, G, Manjunath Kondaiah wrote: 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

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

2011-03-08 Thread Varadarajan, Charulatha
Kevin, On Tue, Mar 8, 2011 at 00:25, Kevin Hilman khil...@ti.com wrote: 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

[PATCH] OMAP4: PM: Set static dependency between MPUSS and EMIF

2011-03-08 Thread Santosh Shilimkar
As per OMAP4430 TRM, the dynamic dependency between MEMIF and MPUSS clockdomains is enable by default. Refer register CM_MPU_DYNAMICDEP description for details. But it doesn't seems to work as expected and MPUSS doesn't wakeup from off-mode if the static dependency is not set between MPUSS and

[PATCH] audio : AM3517 : Adding i2c info for AIC23 codec

2011-03-08 Thread Abhilash K V
From: Abhilash Vadakkepat Koyamangalath x0151...@psplinux051.india.ti.com The i2c_board_info entry supporting AIC23 codec was added into the i2c2 bus. Signed-off-by: Abhilash K V abhilash...@ti.com Acked-by: Jarkko Nikula jhnik...@gmail.com --- arch/arm/mach-omap2/board-am3517evm.c |3 +++

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

2011-03-08 Thread Santosh Shilimkar
Paul, -Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Friday, March 04, 2011 10:14 PM To: Rajendra Nayak Cc: linux-omap@vger.kernel.org; Benoit Cousson; Paul Walmsley Subject: RE: Integration branch base switchover to Tony's omap-for- linus branch

[PATCH] ASoC: AM3517: Update codec name after multi-component update

2011-03-08 Thread Abhilash K V
The i2c client device name (.2-001a in this case, including the separator period) for the AIC23 codec on the TI AM3517-EVM was appended to the codec_name member of am3517evm_dai to resolve the names mismatch happening in soc_bind_dai_link(), due to which the card was not getting registered.

Re: [PATCH] ASoC: AM3517: Update codec name after multi-component update

2011-03-08 Thread Mark Brown
On Tue, Mar 08, 2011 at 09:02:43PM +0530, Abhilash K V wrote: The i2c client device name (.2-001a in this case, including the separator period) for the AIC23 codec on the TI AM3517-EVM was appended to the codec_name member of am3517evm_dai to resolve the names mismatch happening in

[patch v4 3/3] arm: omap4: support pmu

2011-03-08 Thread tom . leiming
From: Ming Lei tom.leim...@gmail.com This patch supports pmu irq routed from CTI, so make pmu/perf working on OMAP4. The idea is from Woodruff Richard in the disscussion about Oprofile on Pandaboard / Omap4 on pandabo...@googlegroups.com. Acked-by: Jean Pihet j-pi...@ti.com Acked-by: Tony

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

2011-03-08 Thread Jean Pihet
On Tue, Mar 8, 2011 at 3:15 AM, Kevin Hilman khil...@ti.com wrote: 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

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

2011-03-08 Thread Menon, Nishanth
On Wed, Mar 2, 2011 at 19:00, Lesly A M lesl...@ti.com wrote: [...] diff --git a/arch/arm/mach-omap2/twl4030.c b/arch/arm/mach-omap2/twl4030.c new file mode 100644 index 000..ff344b3 --- /dev/null +++ b/arch/arm/mach-omap2/twl4030.c @@ -0,0 +1,145 @@ +/* + * OMAP power script for PMIC

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

2011-03-08 Thread Kevin Hilman
Menon, Nishanth n...@ti.com writes: On Tue, Mar 8, 2011 at 18:48, Premi, Sanjeev pr...@ti.com wrote: [...] Thinking from a generic soln perspective, lets try and split this into multiple issues: a) OPP and Voltage layer voltages - these need to be PMIC aware as well. See my comment on

Re: [PATCH v2 0/2] OMAP2PLUS: DSS2: Clock Source Changes

2011-03-08 Thread Tomi Valkeinen
On Tue, 2011-03-08 at 05:50 -0600, Taneja, Archit wrote: There are clocks on OMAP4 within DSS2 which can have multiple clock sources. This cleans up the existing way of selecting/getting the clock sources and add some of the new clock sources for OMAP4. Applies over:

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

2011-03-08 Thread Cousson, Benoit
On 3/8/2011 4:16 PM, Shilimkar, Santosh wrote: Paul, -Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Friday, March 04, 2011 10:14 PM To: Rajendra Nayak Cc: linux-omap@vger.kernel.org; Benoit Cousson; Paul Walmsley Subject: RE: Integration branch base

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

2011-03-08 Thread Nishanth Menon
Kevin Hilman wrote, on 03/08/2011 02:32 AM: Lesly A Mlesl...@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

Re: [PATCH] omap2+: mux: Remove the use of IDLE flag.

2011-03-08 Thread Tony Lindgren
* sricharan r.sricha...@ti.com [110306 20:33]: Currently OMAP_DEVICE_PAD_IDLE flag is used to mux pins dynamically. This can be simplified by using the enabled state variable of each pad. This also fixes the issue of the static pads not getting muxed after idling and disable/enable state

Re: [PATCH 0/2] omap_wdt: fix interface clock handling

2011-03-08 Thread Kevin Hilman
Kalle Jokiniemi kalle.jokini...@nokia.com writes: The runtime PM does not offer enough granularity to control individual clocks separately as needed. Current pm implementation of omap_wdt blocks the CORE power domain from idling in OMAP SoC, as it keeps the interface clock of the watchdog

Re: [PATCH 2/3] omap3: change ISP's IOMMU da_start address

2011-03-08 Thread David Cohen
Hi Sakari, On Tue, Mar 8, 2011 at 4:06 PM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: David Cohen wrote: ISP doesn't consider 0x0 as a valid address, so it should explicitly exclude first page from allowed 'da' range. Signed-off-by: David Cohen daco...@gmail.com ---  

Re: [PATCH 2/7] OMAP2+: mux: Enable wakeup for wakeup enable requested pads

2011-03-08 Thread Tony Lindgren
* Govindraj govindraj...@gmail.com [110308 03:43]: I am not sure whether now we can control read/writes to pad_mux from any driver interface and I think we have to go through mux framework for any read/writes to mux. Sure, the drivers should not mess with those registers directly. with

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

2011-03-08 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: On Tue, Mar 8, 2011 at 3:15 AM, Kevin Hilman khil...@ti.com wrote: 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

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

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 3:13 AM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Guzman Lugo, Fernando 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

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

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 3:55 AM, David Cohen daco...@gmail.com wrote: Hi Fernando, On Tue, Mar 8, 2011 at 11:13 AM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Guzman Lugo, Fernando wrote: On Mon, Mar 7, 2011 at 1:19 PM, David Cohen daco...@gmail.com wrote: On Mon, Mar 7,

Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 6:46 AM, David Cohen daco...@gmail.com wrote: Currently IOVMM driver sets IOVMF_DA_FIXED/IOVMF_DA_ANON flags according to input 'da' address when mapping memory: da == 0: IOVMF_DA_ANON da != 0: IOVMF_DA_FIXED It prevents IOMMU to map first page with fixed 'da'. To

Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 6:46 AM, David Cohen daco...@gmail.com wrote: From: Michael Jones michael.jo...@matrix-vision.de commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL address if da_start==0, which would then not get unmapped. Disallow this again.  And spell variable

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

2011-03-08 Thread Paul Walmsley
On Tue, 8 Mar 2011, Varadarajan, Charulatha wrote: Do you really want to return 1 in case of invalid powerdomain pointer? Sure, that's why I wrote it that way. It seems less risky than returning 0. Do you have a proposal that makes more sense, given that this is going to be called

Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread Hiroshi DOYU
From: ext Guzman Lugo, Fernando fernando.l...@ti.com Subject: Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags Date: Tue, 8 Mar 2011 11:59:43 -0600 On Tue, Mar 8, 2011 at 6:46 AM, David Cohen daco...@gmail.com wrote: Currently IOVMM driver sets

Re: [PATCH 2/7] OMAP2+: mux: Enable wakeup for wakeup enable requested pads

2011-03-08 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: * Govindraj govindraj...@gmail.com [110308 03:43]: I am not sure whether now we can control read/writes to pad_mux from any driver interface and I think we have to go through mux framework for any read/writes to mux. Sure, the drivers should not

Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 12:09 PM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: From: ext Guzman Lugo, Fernando fernando.l...@ti.com Subject: Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags Date: Tue, 8 Mar 2011 11:59:43 -0600 On Tue, Mar 8, 2011 at 6:46

Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread David Cohen
Hi Hiroshi, Fernando, On Tue, Mar 8, 2011 at 8:53 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Tue, Mar 8, 2011 at 12:09 PM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: From: ext Guzman Lugo, Fernando fernando.l...@ti.com Subject: Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set

Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread David Cohen
On Tue, Mar 8, 2011 at 8:06 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Tue, Mar 8, 2011 at 6:46 AM, David Cohen daco...@gmail.com wrote: From: Michael Jones michael.jo...@matrix-vision.de commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL address if

Re: [PATCH 2/7] OMAP2+: mux: Enable wakeup for wakeup enable requested pads

2011-03-08 Thread Paul Walmsley
Hi On Tue, 8 Mar 2011, Kevin Hilman wrote: Tony Lindgren t...@atomide.com writes: * Govindraj govindraj...@gmail.com [110308 03:43]: I am not sure whether now we can control read/writes to pad_mux from any driver interface and I think we have to go through mux framework for any

Re: [PATCH 2/7] OMAP2+: mux: Enable wakeup for wakeup enable requested pads

2011-03-08 Thread Paul Walmsley
By the way, if your patch relies on OMAP_DEVICE_PAD_IDLE, you should probably sync up with Sricharan, who is apparently planning to remove that flag: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg46296.html - Paul -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 12:57 PM, David Cohen daco...@gmail.com wrote: Hi Hiroshi, Fernando, On Tue, Mar 8, 2011 at 8:53 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Tue, Mar 8, 2011 at 12:09 PM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: From: ext Guzman Lugo, Fernando

Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread David Cohen
[snip] -       flags |= (da ? IOVMF_DA_FIXED : IOVMF_DA_ANON); +       if (~flags IOVMF_DA_FIXED) +               flags |= IOVMF_DA_ANON; could we use only one? both are mutual exclusive, what happen if flag is IOVMF_DA_FIXED | IOVMF_DA_ANON? so, I suggest to get rid of IOVMF_DA_ANON.

Re: [PATCH 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED/IOVMF_DA_ANON flags

2011-03-08 Thread David Cohen
On Tue, Mar 8, 2011 at 9:46 PM, David Cohen daco...@gmail.com wrote: [snip] -       flags |= (da ? IOVMF_DA_FIXED : IOVMF_DA_ANON); +       if (~flags IOVMF_DA_FIXED) +               flags |= IOVMF_DA_ANON; could we use only one? both are mutual exclusive, what happen if flag is

Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 1:06 PM, David Cohen daco...@gmail.com wrote: On Tue, Mar 8, 2011 at 8:06 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Tue, Mar 8, 2011 at 6:46 AM, David Cohen daco...@gmail.com wrote: From: Michael Jones michael.jo...@matrix-vision.de commit

Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread David Cohen
On Tue, Mar 8, 2011 at 9:53 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Tue, Mar 8, 2011 at 1:06 PM, David Cohen daco...@gmail.com wrote: On Tue, Mar 8, 2011 at 8:06 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: On Tue, Mar 8, 2011 at 6:46 AM, David Cohen daco...@gmail.com

Re: [PATCH v2 0/3] *** SUBJECT HERE ***

2011-03-08 Thread David Cohen
On Tue, Mar 8, 2011 at 10:04 PM, David Cohen daco...@gmail.com wrote: *** BLURB HERE *** Sorry for this garbage :/ Br, David David Cohen (2):  omap3: change ISP's IOMMU da_start address  omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag Michael Jones (1):  omap: iovmm: disallow

[PATCH v2 0/3] omap: iovmm: Fix IOVMM check for fixed 'da'

2011-03-08 Thread David Cohen
IOVMM driver checks input 'da == 0' when mapping address to determine whether user wants fixed 'da' or not. At the same time, it doesn't disallow address 0x0 to be used, what creates an ambiguous situation. This patch set moves fixed 'da' check to the input flags. It also fixes da_start value for

[PATCH v2 1/3] omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set

2011-03-08 Thread David Cohen
From: Michael Jones michael.jo...@matrix-vision.de commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL address if da_start==0, which would then not get unmapped. Disallow this again if IOVMF_DA_ANON is set. And spell variable 'alignment' correctly. Signed-off-by: Michael

[PATCH v2 2/3] omap3: change ISP's IOMMU da_start address

2011-03-08 Thread David Cohen
ISP doesn't consider 0x0 as a valid address, so it should explicitly exclude first page from allowed 'da' range. Signed-off-by: David Cohen daco...@gmail.com --- arch/arm/mach-omap2/omap-iommu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v2 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag

2011-03-08 Thread David Cohen
Currently IOVMM driver sets IOVMF_DA_FIXED/IOVMF_DA_ANON flags according to input 'da' address when mapping memory: da == 0: IOVMF_DA_ANON da != 0: IOVMF_DA_FIXED It prevents IOMMU to map first page with fixed 'da'. To avoid such issue, IOVMM will not automatically set IOVMF_DA_FIXED. It should

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

2011-03-08 Thread Laurent Pinchart
Hi David, On Monday 07 March 2011 22:35:31 David Cohen wrote: On Mon, Mar 7, 2011 at 11:19 PM, Laurent Pinchart wrote: 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

Re: [PATCH v2 1/3] omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 2:15 PM, David Cohen daco...@gmail.com wrote: From: Michael Jones michael.jo...@matrix-vision.de commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL address if da_start==0, which would then not get unmapped. Disallow this again if IOVMF_DA_ANON is

Re: [PATCH v2 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 2:15 PM, David Cohen daco...@gmail.com wrote: Currently IOVMM driver sets IOVMF_DA_FIXED/IOVMF_DA_ANON flags according to input 'da' address when mapping memory: da == 0: IOVMF_DA_ANON da != 0: IOVMF_DA_FIXED It prevents IOMMU to map first page with fixed 'da'. To

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

2011-03-08 Thread David Cohen
On Tue, Mar 8, 2011 at 10:31 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi David, On Monday 07 March 2011 22:35:31 David Cohen wrote: On Mon, Mar 7, 2011 at 11:19 PM, Laurent Pinchart wrote: On Monday 07 March 2011 20:41:21 David Cohen wrote: On Mon, Mar 7, 2011 at 9:25

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

2011-03-08 Thread Paul Walmsley
Hi Sanjeev, On Mon, 7 Mar 2011, Vishwanath Sripathy wrote: As per OMAP3630 TRM Section 26.5, register CM_AUTOIDLE_PLL is supposed to be restored by ROM code. The PM code should only store these registers before entering off mode. So only thing that needs to be done in this patch set is to

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

2011-03-08 Thread Cousson, Benoit
Hi Omar, On 3/7/2011 8:01 PM, Ramirez Luna, Omar wrote: Hi Benoit, On Mon, Mar 7, 2011 at 6:55 AM, Cousson, Benoitb-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

Re: [PATCH 2 00/18] I2C: OMAP: Fixes and removal of cpu_... from driver

2011-03-08 Thread Cousson, Benoit
Hi Andy, Thanks for that really fast update. That looks pretty good at first glance. I still have to review in details. And we need to find some volunteers for OMAP1 2 testing. Thanks, Benoit On 3/8/2011 12:07 PM, Andy Green wrote: The following series removes cpu_...() usage completely

  1   2   >