Re: [PATCH] ARM: OMAP: hwmod: Fix error handling in functions used OMAP4 onwards

2012-03-28 Thread Rajendra Nayak
On Wednesday 28 March 2012 12:02 PM, Hiremath, Vaibhav wrote: On Tue, Mar 27, 2012 at 15:28:31, Nayak, Rajendra wrote: Some functions like _omap4_disable_module() and _omap4_wait_target_disable() are (will be) used on all OMAPs OMAP4 and beyond which support module level control. Fix the error c

Re: [PATCH v2 1/4] ARM: OMAP1: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()

2012-03-28 Thread DebBarma, Tarun Kanti
On Thu, Mar 29, 2012 at 10:28 AM, Olof Johansson wrote: > Hi, > > Sorry for the slow reply, I noticed this when dealing with merge > conflicts pulling in this patch and others from Tony. > > On Mon, Mar 19, 2012 at 5:06 AM, Tarun Kanti DebBarma > wrote: >> With dynamic allocation of IRQ the usage

Re: [GIT PULL] omap fixes for merge window

2012-03-28 Thread Olof Johansson
Hi Tony, On Wed, Mar 21, 2012 at 11:05 AM, Tony Lindgren wrote: > Hi Arnd & Olof, > > Here's a set of fixes that would be nice to get merged during > the merge window before the GPIO changes get merged to avoid > boot issues on many omap boards. > > The changes queued in the GPIO tree require get

Re: [PATCH v2 1/4] ARM: OMAP1: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()

2012-03-28 Thread Olof Johansson
Hi, Sorry for the slow reply, I noticed this when dealing with merge conflicts pulling in this patch and others from Tony. On Mon, Mar 19, 2012 at 5:06 AM, Tarun Kanti DebBarma wrote: > With dynamic allocation of IRQ the usage of OMAP_GPIO_IRQ > is no longer valid. We should be using gpio_to_irq

[PATCH] OMAPDSS: VENC: allow switching venc type at runtime

2012-03-28 Thread Grazvydas Ignotas
VENC type (composite/svideo) doesn't have to be fixed by board wiring, it is possible to provide both connectors, which is what pandora does. Having to recompile the kernel for users who have TV connector types that's don't match default board setting is very inconvenient, especially for users of a

[PATCH 04/10] OMAPDSS: HDMI: OMAP4: Decouple wrapper enable and audio start

2012-03-28 Thread Ricardo Neri
Decouple the enablement of the HDMI audio wrapper from audio start. Otherwise, an audio FIFO underflow may occur. The audio wrapper enablement must be done after configuration and before audio playback is started. Signed-off-by: Ricardo Neri --- drivers/video/omap2/dss/dss_features.c|1 +

[PATCH 07/10] OMAPDSS: HDMI: Relocate N/CTS calculation

2012-03-28 Thread Ricardo Neri
The N and CTS parameters are relevant to all HDMI implmentations and not specific to a given IP. Hence, the calculation is relocated into the generic HDMI driver. Also, deep color is not queried but it is still considered in the calculation of N. This is to be changed when deep color functionality

[PATCH 08/10] OMAPDSS: HDMI: Add support for more audio sample rates in N/CTS calculation

2012-03-28 Thread Ricardo Neri
Add support for more sample rates when calculating N and CTS. This covers all the audio sample rates that an HDMI source is allowed to transmit according to the HDMI 1.4a specification. Also, reorganize the logic for the calculation when using deep color. Signed-off-by: Ricardo Neri --- drivers

[PATCH 09/10] OMAPDSS: HDMI: OMAP4: Add an audio configuration function

2012-03-28 Thread Ricardo Neri
The generic HDMI driver does not need to know about the specific settings of a given IP. Hence, it just passes the audio configuration and the IP library parses such configuration and sets the IP accordingly. This patch introduces an IP-specific audio configuration function. Also the DMA, format an

[PATCH 10/10] OMAPDSS: HDMI: Implement DSS driver interface for audio

2012-03-28 Thread Ricardo Neri
Implement the DSS device driver audio support interface in the HDMI panel driver and generic driver. The implementation relies on the IP-specific functions that are defined at DSS probe time. A HW-safe spinlock is used to protect the audio functions. This is because the audio functions may be call

[PATCH 05/10] OMAPDSS: HDMI: Decouple HDMI audio from ASoC

2012-03-28 Thread Ricardo Neri
Instead of having OMAPDSS HDMI audio functionality depending on the ASoC HDMI audio driver, use a new config option so that potential users, including ASoC, may select if needed. Signed-off-by: Ricardo Neri --- drivers/video/omap2/dss/Kconfig |4 drivers/video/omap2/dss/dss_f

[PATCH 00/10] OMAPDSS: HDMI: Prepare for OMAP5 and DSS dev driver audio support

2012-03-28 Thread Ricardo Neri
Hi, This set of patches is inteded to prepare the HDMI driver to implement the DSS device driver interface for audio proposed here: http://www.spinics.net/lists/linux-omap/msg67303.html In preparation for that, it removes the current ASoC HDMI codec driver and decouples HDMI audio build configura

[PATCH 06/10] OMAPDSS: HDMI: OMAP4: Expand configuration for IEC-60958 audio

2012-03-28 Thread Ricardo Neri
Provide more configuration parameters for the IEC-60958 channel status word. For this, a new structure containing the relevant parameters is created. Some of the parameters previously located in the I2S structure are moved to the new IEC-60958 struct to improve the logical organization of the code.

[PATCH 02/10] OMAPDSS: HDMI: OMAP4: Remove CEA-861 audio infoframe and IEC-60958 enums

2012-03-28 Thread Ricardo Neri
In order to avoid duplication of definitions. Use the definitions provided by asoundef.h. Furthermore, as CEA-861 and IEC-60958 are used by both DisplayPort and HDMI, this helps to make the code more generic. Signed-off-by: Ricardo Neri --- drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | 15 +++---

[PATCH 03/10] OMAPDSS: HDMI: OMAP4: Correcty typo in I2S definitions

2012-03-28 Thread Ricardo Neri
Signed-off-by: Ricardo Neri --- drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h index d6b49b6..9fa5cb1 100644 --- a/drivers/video/omap2/dss/ti

[PATCH 01/10] OMAPDSS: HDMI: Remove ASoC codec

2012-03-28 Thread Ricardo Neri
Instead of having an ASoC codec embedded into DSS code, use the generic DSS device driverinterface for audio support. This allows to any potential user, including an ASoC driver, take advantage of the HDMI audio functionality. Signed-off-by: Ricardo Neri --- drivers/video/omap2/dss/hdmi.c | 236

Re: [PATCH 2/5] arm: Use the plat_nand default partition parser

2012-03-28 Thread Alexander Clouter
* H Hartley Sweeten [2012-03-28 11:13:09-0700]: > > Use the default partition parser, cmdlinepart, provided by the plat_nand > driver. > > Signed-off-by: H Hartley Sweeten > Cc: Ryan Mallon > Cc: Imre Kaloz > Cc: Krzysztof Halasa > Cc: Tony Lindgren > Cc: Alexander Clouter > Cc: Nicolas Pi

[PATCH] OMAPDSS: Provide interface for audio support in DSS

2012-03-28 Thread Ricardo Neri
Hi, This patch is proposed as a result of a previous discussion related to include audio support in the DSS device driver (http://www.spinics.net/lists/linux-omap/msg64748.html) As discussed in the description of the patch, this is intended to cover audio implementation based on CEA-861 and IEC-6

[PATCH] OMAPDSS: Provide interface for audio support in DSS

2012-03-28 Thread Ricardo Neri
There exist several display technologies and standards that support audio as well. Hence, it is relevant to update the DSS device driver to provide an audio interface that may be used by an audio or any other driver interested in the functionality. The DSS audio functions are intended to be used a

[PATCH] RTC: twl6030: correct usage of static register while reading time

2012-03-28 Thread Nishanth Menon
From: Konstantin Shlyakhovoy RTC stores time and date in several registers. Due to the fact that these registers can't be read instantaneously, there is a chance that reading from counting registers gives an error of one minute, one hour, one day, etc. To address this issue, the RTC has hardware

Re: [PATCH 2/5] arm: Use the plat_nand default partition parser

2012-03-28 Thread Marek Vasut
Dear H Hartley Sweeten, > Use the default partition parser, cmdlinepart, provided by the plat_nand > driver. > > Signed-off-by: H Hartley Sweeten > Cc: Ryan Mallon > Cc: Imre Kaloz > Cc: Krzysztof Halasa > Cc: Tony Lindgren > Cc: Alexander Clouter > Cc: Nicolas Pitre > Cc: Eric Miao > Cc:

[PATCH 2/5] arm: Use the plat_nand default partition parser

2012-03-28 Thread H Hartley Sweeten
Use the default partition parser, cmdlinepart, provided by the plat_nand driver. Signed-off-by: H Hartley Sweeten Cc: Ryan Mallon Cc: Imre Kaloz Cc: Krzysztof Halasa Cc: Tony Lindgren Cc: Alexander Clouter Cc: Nicolas Pitre Cc: Eric Miao Cc: Haojian Zhuang Cc: Marek Vasut --- diff --gi

[PATCH 0/5] mtd: plat_nand: Add default partition parser and use it

2012-03-28 Thread H Hartley Sweeten
This patch series adds cmdlinepart as the default partition parser for the plat_nand driver and updates all the arch setup code to use it. Arch setup code that requires other partition parsers can still pass that information as chip.part_probe_types. Signed-off-by: H Hartley Sweeten mtd: plat_

Re: Suspend broken on 3.3?

2012-03-28 Thread Kevin Hilman
+Paul, NeilBrown who both have worked on/around recent UART breakage since v3.2 "Joe Woodward" writes: [...] > This patch fixes the suspend problem for me, but there is another UART > issue... > > Basically I've got a fairly high speed data source (in UART terms, > >900KBaud) pumping data to

Re: [PATCH 05/12] Add dummy smsc911x regulators to cm-t35.

2012-03-28 Thread Tony Lindgren
* Igor Grinberg [120327 23:36]: > Hi Tony, > > On 03/27/12 19:28, Tony Lindgren wrote: > > * Igor Grinberg [120327 08:56]: > >> Hi Russ, > >> > >> This patch works, but can we, please use the attached patch instead? > > > > Hmm what's the difference here? Do you have some real controllable > >

Re: [PATCH 1/3] OMAP2+: UART: Remove cpu checks for populating errata flags

2012-03-28 Thread Jon Hunter
Hi Govindraj, On 3/28/2012 6:09, Raja, Govindraj wrote: On Wed, Mar 28, 2012 at 2:38 AM, Jon Hunter wrote: Hi Govindraj, On 3/21/2012 5:24, Govindraj.R wrote: From: "Govindraj.R" Currently the errata is populated based on cpu checks this can be removed and replaced with module version che

Re: [PATCH] ARM: OMAP: hwmod: Fix error handling in functions used OMAP4 onwards

2012-03-28 Thread Jon Hunter
Hi Paul, On 3/27/2012 21:39, Paul Walmsley wrote: Hi Jon, On Tue, 27 Mar 2012, Jon Hunter wrote: On 3/27/2012 4:58, Rajendra Nayak wrote: diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 8ac26f2..f2a9afa 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++

Re: [PATCH 1/3] OMAP2+: UART: Remove cpu checks for populating errata flags

2012-03-28 Thread Jon Hunter
Hi Govindraj, On 3/21/2012 5:24, Govindraj.R wrote: From: "Govindraj.R" Currently the errata is populated based on cpu checks this can be removed and replaced with module version check of uart ip block. MVR reg is provided within the uart reg map use the same to populate the errata and thus now

Re: Suspend broken on 3.3?

2012-03-28 Thread Joe Woodward
-Original Message- From: "Raja, Govindraj" To: Kevin Hilman Cc: Joe Woodward , "linux-omap@vger.kernel.org" , Felipe Balbi Date: Wed, 28 Mar 2012 16:29:53 +0530 Subject: Re: Suspend broken on 3.3? > On Wed, Mar 28, 2012 at 3:07 AM, Kevin Hilman wrote: > > "Raja, Govindraj" writes: >

Re: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer

2012-03-28 Thread Shilimkar, Santosh
On Wed, Mar 28, 2012 at 8:07 PM, Hiremath, Vaibhav wrote: > On Wed, Mar 28, 2012 at 19:50:02, Shilimkar, Santosh wrote: >> On Wed, Mar 28, 2012 at 7:46 PM, Hiremath, Vaibhav wrote: >> > On Wed, Mar 21, 2012 at 19:30:01, Shilimkar, Santosh wrote: >> >> On Wed, Mar 21, 2012 at 5:12 PM, Hiremath, Va

RE: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer

2012-03-28 Thread Hiremath, Vaibhav
On Wed, Mar 28, 2012 at 19:50:02, Shilimkar, Santosh wrote: > On Wed, Mar 28, 2012 at 7:46 PM, Hiremath, Vaibhav wrote: > > On Wed, Mar 21, 2012 at 19:30:01, Shilimkar, Santosh wrote: > >> On Wed, Mar 21, 2012 at 5:12 PM, Hiremath, Vaibhav wrote: > >> > On Mon, Mar 19, 2012 at 17:45:32, Shilimkar

Re: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer

2012-03-28 Thread Shilimkar, Santosh
On Wed, Mar 28, 2012 at 7:46 PM, Hiremath, Vaibhav wrote: > On Wed, Mar 21, 2012 at 19:30:01, Shilimkar, Santosh wrote: >> On Wed, Mar 21, 2012 at 5:12 PM, Hiremath, Vaibhav wrote: >> > On Mon, Mar 19, 2012 at 17:45:32, Shilimkar, Santosh wrote: >> >> On Monday 19 March 2012 05:14 PM, Ming Lei wr

RE: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer

2012-03-28 Thread Hiremath, Vaibhav
On Wed, Mar 21, 2012 at 19:30:01, Shilimkar, Santosh wrote: > On Wed, Mar 21, 2012 at 5:12 PM, Hiremath, Vaibhav wrote: > > On Mon, Mar 19, 2012 at 17:45:32, Shilimkar, Santosh wrote: > >> On Monday 19 March 2012 05:14 PM, Ming Lei wrote: > >> > On Mon, Mar 19, 2012 at 7:11 PM, Hiremath, Vaibhav

Re: [PATCH] ARM: OMAP: USB: fix warning on EHCI PHY reset path

2012-03-28 Thread Shubhrajyoti Datta
Hi Igor, On Wed, Mar 28, 2012 at 4:43 PM, Igor Grinberg wrote: > Hi Shubhrajyoti, > > On 03/28/12 12:03, Shubhrajyoti wrote: >> On Tuesday 27 March 2012 07:38 PM, Igor Grinberg wrote: >>> When PHY reset pin is connected to a GPIO on external GPIO chip >>> (e.g. I2C), we should not call the gpio_s

Re: [PATCH] ARM: OMAP: USB: fix warning on EHCI PHY reset path

2012-03-28 Thread Munegowda, Keshava
On Wed, Mar 28, 2012 at 4:23 PM, Raja, Govindraj wrote: > On Wed, Mar 28, 2012 at 2:22 PM, Felipe Balbi wrote: >> On Tue, Mar 27, 2012 at 04:08:55PM +0200, Igor Grinberg wrote: >>> When PHY reset pin is connected to a GPIO on external GPIO chip >>> (e.g. I2C), we should not call the gpio_set_valu

Re: [PATCH] ARM: OMAP: USB: fix warning on EHCI PHY reset path

2012-03-28 Thread Igor Grinberg
On 03/28/12 12:53, Raja, Govindraj wrote: > On Wed, Mar 28, 2012 at 2:22 PM, Felipe Balbi wrote: >> On Tue, Mar 27, 2012 at 04:08:55PM +0200, Igor Grinberg wrote: >>> When PHY reset pin is connected to a GPIO on external GPIO chip >>> (e.g. I2C), we should not call the gpio_set_value() function, b

Re: [PATCH] ARM: OMAP: USB: fix warning on EHCI PHY reset path

2012-03-28 Thread Igor Grinberg
Hi Shubhrajyoti, On 03/28/12 12:03, Shubhrajyoti wrote: > On Tuesday 27 March 2012 07:38 PM, Igor Grinberg wrote: >> When PHY reset pin is connected to a GPIO on external GPIO chip >> (e.g. I2C), we should not call the gpio_set_value() function, but >> gpio_set_value_cansleep(). > Why so ? Whats t

Re: [PATCH 1/3] OMAP2+: UART: Remove cpu checks for populating errata flags

2012-03-28 Thread Raja, Govindraj
On Wed, Mar 28, 2012 at 2:38 AM, Jon Hunter wrote: > Hi Govindraj, > > > On 3/21/2012 5:24, Govindraj.R wrote: >> >> From: "Govindraj.R" >> >> Currently the errata is populated based on cpu checks this can >> be removed and replaced with module version check of uart ip block. >> MVR reg is provide

Re: Suspend broken on 3.3?

2012-03-28 Thread Raja, Govindraj
On Wed, Mar 28, 2012 at 3:07 AM, Kevin Hilman wrote: > "Raja, Govindraj" writes: > >> Hi Kevin, >> >> On Tue, Mar 27, 2012 at 6:04 AM, Kevin Hilman wrote: >>> +Govindraj, >>> >>> "Joe Woodward" writes: >>> Right, I've stepped back a bit and dug out a GUSMTIX Palo43 carrier board on wh

Re: [PATCH] ARM: OMAP: USB: fix warning on EHCI PHY reset path

2012-03-28 Thread Raja, Govindraj
On Wed, Mar 28, 2012 at 2:22 PM, Felipe Balbi wrote: > On Tue, Mar 27, 2012 at 04:08:55PM +0200, Igor Grinberg wrote: >> When PHY reset pin is connected to a GPIO on external GPIO chip >> (e.g. I2C), we should not call the gpio_set_value() function, but >> gpio_set_value_cansleep(). >> >> Signed-o

[PATCH] ARM: OMAP3: cm-t35: add support for power off

2012-03-28 Thread Igor Grinberg
Enable the power off feature of the TPS65930 on-board PMIC. Signed-off-by: Igor Grinberg --- arch/arm/mach-omap2/board-cm-t35.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 8770be1..462

Re: [PATCH] ARM: OMAP: USB: fix warning on EHCI PHY reset path

2012-03-28 Thread Felipe Balbi
On Tue, Mar 27, 2012 at 04:08:55PM +0200, Igor Grinberg wrote: > When PHY reset pin is connected to a GPIO on external GPIO chip > (e.g. I2C), we should not call the gpio_set_value() function, but > gpio_set_value_cansleep(). > > Signed-off-by: Igor Grinberg Acked-by: Felipe Balbi Keshava, ple

Re: [PATCH v2 1/5] spi/omap: Remove bus_num usage for instance index

2012-03-28 Thread DebBarma, Tarun Kanti
On Mon, Mar 26, 2012 at 7:14 PM, Shubhrajyoti D wrote: > From: Benoit Cousson > > bus_num was used to reference the mcspi controller instance in a fixed array. > Remove this array and store this information directly inside drvdata > structure. > > bus_num is now just set if the pdev->id is prese