Re: McBSP in Multi Channel mode

2009-07-22 Thread Fernando Governatore
Hello, Thanks, it worked perfectly. And sorry for the delay. -- Fernando On Fri, May 8, 2009 at 04:38, Peter Ujfalusi wrote: > Hello, > > > On Thursday 07 May 2009 21:18:34 ext Fernando Governatore wrote: >> Hello, >> >> I'm new to kernel development and so I'm a bit confused on how to do >> thin

Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

2009-07-22 Thread Janusz Krzysztofik
Hi, Wednesday 22 July 2009 17:07:09 Mark Brown wrote: > On Wed, Jul 22, 2009 at 04:53:12PM +0200, Janusz Krzysztofik wrote: > > Mark Brown wrote: > > >>+#include > > > > > >ASoC will pull that one in for you, not that it really matters. > > > > Maybe it should, but without I get: > > sound/soc/o

Re: Handling multiple watchdogs

2009-07-22 Thread Wim Van Sebroeck
Hi Simon, > > I have two watchdogs on my board that I both want to handle. What would > > be the proper approach in this case? > > Fixing the watchdog core to create a class of watchdog drivers and > treating the existing /dev/watchdog as a back compatibility hack. It's > been talked about for a

[PATCH/RFT 3/3] OMAP3: PM: PRCM interrupt: only handle selected PRCM interrupts

2009-07-22 Thread Kevin Hilman
From: Paul Walmsley Clearing wakeup sources is now only done when the PRM indicates a wakeup source interrupt. Since we don't handle any other types of PRCM interrupts right now, warn if we get any other type of PRCM interrupt. Either code needs to be added to the PRCM interrupt handler to reac

[PATCH/RFT 2/3] OMAP3: PM: PRCM interrupt: check MPUGRPSEL register

2009-07-22 Thread Kevin Hilman
From: Paul Walmsley PM_WKST register contents should be ANDed with the contents of the MPUGRPSEL registers. Otherwise the MPU PRCM interrupt handler could wind up clearing wakeup events meant for the IVA PRCM interrupt handler. For a production version of this patch, we should not read MPUGRPSE

[PATCH/RFT 1/3] OMAP3: PM: Prevent hang in prcm_interrupt_handler

2009-07-22 Thread Kevin Hilman
From: Jon Hunter There are two scenarios where a race condition could result in a hang in the prcm_interrupt handler. These are: 1). Waiting for PRM_IRQSTATUS_MPU register to clear. Bit 0 of the PRM_IRQSTATUS_MPU register indicates that a wake-up event is pending for the MPU. This bit can only b

[PATCH/RFT 0/3] OMAP3: PM: PRCM interrupt updates

2009-07-22 Thread Kevin Hilman
This series incoporates various changes/updates/fixes to the PRCM interrupt handler. Applies to current PM branch. These could use some extra review and especially some testing. I did some basic testing on 3430SDP (es3.0) and Zoom2 (es3.1) Jon, I reworked your latest version a bit more, changin

Re: [PATCH] TWL4030:TWL5030:TPS659x0: add keypad support

2009-07-22 Thread Trilok Soni
Hi Amit, On Wed, Jul 22, 2009 at 7:55 PM, Amit Kucheria wrote: > On 09 Jul 20, Trilok Soni wrote: >> Hi Vikram, >> >> > + >> > +#include >> > +#include >> > +#include >> > +#include >> > +#include >> > +#include >> > +#include >> > +#include >> >> One empty line between above two headers.

Re: [PATCH 0/2] watchdog:OMAP3:Add support for IVA2, SECURE WDTs

2009-07-22 Thread Wim Van Sebroeck
Hi Ulrik, > This patch series enables support for IVA2 and SECURE > WDTs, available on omap34xx. > The WDTs will be accessible (when present on device) through: > MPU: /dev/watchdog > SECURE: /dev/watchdog_secure > IVA2: /dev/watchdog_iva2 > > Tested on Zoom1 OMAP3 platform, compile-tested

Re: [PATCH][RFC] OMAP3: PM: Prevent hang in prcm_interrupt_handler

2009-07-22 Thread Kevin Hilman
Jon Hunter writes: > On Mon, 2009-06-22 at 18:44 -0500, Kevin Hilman wrote: >> Jon Hunter writes: >> >> > From: Jon Hunter >> > >> > There are two scenarios where a race condition could result in a hang in >> > the >> > prcm_interrupt handler. These are: >> >> IIRC, the RX51 tree has a worka

Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

2009-07-22 Thread Mark Brown
On Wed, Jul 22, 2009 at 04:53:12PM +0200, Janusz Krzysztofik wrote: > Mark Brown wrote: > >>+#include > >ASoC will pull that one in for you, not that it really matters. > Maybe it should, but without I get: > sound/soc/omap/ams-delta.c:184: error: 'SND_JACK_MICROPHONE' > undeclared here (not i

Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

2009-07-22 Thread Janusz Krzysztofik
Mark Brown wrote: On Wed, Jul 22, 2009 at 01:39:22PM +0200, Takashi Iwai wrote: Mark Brown wrote: + /* Setup pins after corresponding bits if changed */ + if ((bool)snd_soc_dapm_get_pin_status(codec, "Speaker") != + (bool)(function & (1 << AMS_DELTA_SPEAKER))

Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

2009-07-22 Thread Janusz Krzysztofik
Hi Mark, Mark Brown wrote: On Wed, Jul 22, 2009 at 05:22:59AM +0200, Janusz Krzysztofik wrote: Signed-off-by: Janusz Krzysztofik --- CPU DAI parameters best matching the codec DAI has been selected out empirically for best user experience. Again, all the documentation you've got here could

Re: [PATCH 1/4] ARM: OMAP: Rename twl4030* driver files to enable re-use

2009-07-22 Thread Kevin Hilman
Felipe Balbi writes: > Hi, > > On Mon, Jul 20, 2009 at 07:01:11PM +0530, balaj...@ti.com wrote: >> From: Santosh Shilimkar >> >> The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030 >> for OMAP3. The common modules like RTC, Regulator creates opportunity >> to re-use the mo

[PATCH][RFC] DSPBRIDGE: SleepDSP switch to VDD1 OPP1 while hibernation

2009-07-22 Thread Ameya Palande
This patch adds code to switch to VDD1 OPP1 when DSP is hibernated. Also some code cleanup. Signed-off-by: Ameya Palande --- drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 51 +-- 1 files changed, 35 insertions(+), 16 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tio

Re: [PATCH] TWL4030:TWL5030:TPS659x0: add keypad support

2009-07-22 Thread Amit Kucheria
On 09 Jul 20, Trilok Soni wrote: > Hi Vikram, > > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > One empty line between above two headers. > > I hope you are aware of earlier comments posted for this driver when > i

[PATCH 1/1] omap iommu: add initial debugfs support

2009-07-22 Thread Hiroshi DOYU
From: Hiroshi DOYU This enables to peek the following data. $ /debug/iommu/isp# ls mem nr_tlb_entries regs mmappagetable tlb $ /debug/iommu/isp# head pagetable L: da: pa: - 2: 1000 8ae4a002 2: 2000 8e7bb002

Re: [alsa-devel] [RFC] [PATCH 1/3] ASoC: Add support for Conexant CX20442-11 voice modem codec

2009-07-22 Thread Janusz Krzysztofik
Hi Mark, Mark Brown wrote: On Wed, Jul 22, 2009 at 05:22:28AM +0200, Janusz Krzysztofik wrote: This patch adds support for Conexant CX20442-11 voice modem codec, suitable for use by the ASoC board driver for Amstrad E3 (Delta) videophone. Related sound card driver will follow. ... This patch i

Re: [PATCH 1/2] DSPBRIDGE: cleanup for PROC_FlushMemory/PROC_InvalidateMemory

2009-07-22 Thread Hiroshi DOYU
From: ext Felipe Contreras Subject: Re: [PATCH 1/2] DSPBRIDGE: cleanup for PROC_FlushMemory/PROC_InvalidateMemory Date: Wed, 22 Jul 2009 15:52:47 +0200 > On Wed, Jul 22, 2009 at 11:22 AM, Hiroshi DOYU wrote: > > Both functions are almost same structure except its flag passed to > > MEM_FlushCach

Re: [PATCH][RFC] OMAP4: Keypad Support for OMAP4430

2009-07-22 Thread Trilok Soni
Hi Syed, On Wed, Jul 22, 2009 at 7:20 PM, Syed Rafiuddin wrote: > This patch adds OMAP4 support to the Keypad driver. This patch adds > OMAP4 register addresses and configures registers for OMAP4. > > Signed-off-by: Syed Rafiuddin >From the first look of this driver, I think omap-keypad driver

[PATCH]OMAP4: McSPI Support for OMAP4430

2009-07-22 Thread Syed Rafiuddin
Patch updated as it was line wrapped in previous submission. -Rafiuddin.Syed This patch adds McSPI support for OMAP4430 SDP platform. All the base addresses are changed between OMAP1/2/3 and OMAP4.The fields of the resource structures are filled at runtime to have McSPI support on OMAP4. Signed-

Re: [PATCH 1/2] DSPBRIDGE: cleanup for PROC_FlushMemory/PROC_InvalidateMemory

2009-07-22 Thread Felipe Contreras
On Wed, Jul 22, 2009 at 11:22 AM, Hiroshi DOYU wrote: > Both functions are almost same structure except its flag passed to > MEM_FlushCache(). > > Signed-off-by: Hiroshi DOYU > --- >  drivers/dsp/bridge/rmgr/proc.c |   82 ++- >  1 files changed, 38 insertions(+)

[RESUBMIT][PATCH-v2][RFC] OMAP4: I2C Support for OMAP4430

2009-07-22 Thread Syed Rafiuddin
This patch adds OMAP4 support to the I2C driver. All I2C register addresses are different between OMAP1/2/3 and OMAP4. In order to not have #ifdef's at various places in code, as well as to support multi-OMAP build, Array's are created to hold the register addresses. Signed-off-by: Syed Rafiu

[PATCH][RFC] OMAP4: Keypad Support for OMAP4430

2009-07-22 Thread Syed Rafiuddin
This patch adds OMAP4 support to the Keypad driver. This patch adds OMAP4 register addresses and configures registers for OMAP4. Signed-off-by: Syed Rafiuddin --- drivers/input/keyboard/omap-keypad.c | 109 ++- 1 files changed, 95 insertions(+), 14 deletions(-)

Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

2009-07-22 Thread Mark Brown
On Wed, Jul 22, 2009 at 01:39:22PM +0200, Takashi Iwai wrote: > Mark Brown wrote: > > > + /* Setup pins after corresponding bits if changed */ > > > + if ((bool)snd_soc_dapm_get_pin_status(codec, "Speaker") != > > > + (bool)(function & (1 << AMS_DELTA_SPEAKER))) { > > Don't like t

Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

2009-07-22 Thread Takashi Iwai
At Wed, 22 Jul 2009 12:03:28 +0100, Mark Brown wrote: > > > + /* Setup pins after corresponding bits if changed */ > > + if ((bool)snd_soc_dapm_get_pin_status(codec, "Speaker") != > > + (bool)(function & (1 << AMS_DELTA_SPEAKER))) { > > Don't like these casts... why are the

Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

2009-07-22 Thread Mark Brown
On Wed, Jul 22, 2009 at 05:22:59AM +0200, Janusz Krzysztofik wrote: > Signed-off-by: Janusz Krzysztofik > --- > CPU DAI parameters best matching the codec DAI has been selected out > empirically for best user experience. Again, all the documentation you've got here could quite happily go in the

Re: [alsa-devel] [RFC] [PATCH 1/3] ASoC: Add support for Conexant CX20442-11 voice modem codec

2009-07-22 Thread Mark Brown
On Wed, Jul 22, 2009 at 05:22:28AM +0200, Janusz Krzysztofik wrote: > This patch adds support for Conexant CX20442-11 voice modem codec, suitable > for use by the ASoC board driver for Amstrad E3 (Delta) videophone. Related > sound card driver will follow. > Created and tested against linux-2.6.31

RE: android-omap-2.6.29 for gumstix overo

2009-07-22 Thread Elvis Dowson
Hi Vikram, Are you aware if a patch has already been developed to update USB Host driver to prevent this error: Powerdomain (usbhost_pwrdm) didn't enter target state 1 Best regards, Elvis -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a

[PATCH] mfd: twl: Fix possible NULL pointer violation

2009-07-22 Thread Dasgupta, Romit
Missed some formatting earlier. Fixes a possible NULL pointer violation. Tested on 3430 SDP. Signed-off-by: Romit Dasgupta --- diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c index 07e40dc..e050a5e 100644 --- a/drivers/mfd/twl4030-power.c +++ b/drivers/mfd/twl4030-power.c

[PATCH 1/2] DSPBRIDGE: cleanup for PROC_FlushMemory/PROC_InvalidateMemory

2009-07-22 Thread Hiroshi DOYU
Both functions are almost same structure except its flag passed to MEM_FlushCache(). Signed-off-by: Hiroshi DOYU --- drivers/dsp/bridge/rmgr/proc.c | 82 ++- 1 files changed, 38 insertions(+), 44 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/proc.c b/dr

[PATCH 2/2] DSPBRIDGE: introduce VMA checking for cache operation

2009-07-22 Thread Hiroshi DOYU
Check if the given area blongs to process virtul memory address space. Signed-off-by: Hiroshi DOYU --- drivers/dsp/bridge/rmgr/proc.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/

[PATCH] mfd: twl: Fix possible NULL pointer violation

2009-07-22 Thread Dasgupta, Romit
Fixes a possible NULL pointer violation. Tested on SDP 3430. Signed-off-by: Romit Dasgupta --- diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c index 07e40dc..fd5504c 100644 --- a/drivers/mfd/twl4030-power.c +++ b/drivers/mfd/twl4030-power.c @@ -352,11 +352,9 @@ void __init

Re: [E3-hacking] [RFC] [PATCH 0/3] Add support for Amstrad E3 (Delta) audio to ASoC

2009-07-22 Thread Don Alexander
Janusz Krzysztofik wrote: > This series of patches adds support for audio device found on Amstrad E3 > (Delta) videophone to ASoC. > > 1/3: ASoC: Add support for Conexant CX20442-11 voice modem codec > 2/3: TTY: Add definition of a new line discipline required by Amstrad E3 > (Delta) ASoC

RE: android-omap-2.6.29 for gumstix overo

2009-07-22 Thread Elvis Dowson
Hi Vikram, Here is a posting of my observations after apply the defconfig and the mmc off patch set 1. BTW, Do let me know if I should be using mmc off patch set 1 or patch set 2, since both of them appear to be identical except for three entries. Observation 01 -