Re: [PATCH V2 0/10] omap_hsmmc changes V2

2010-01-22 Thread Adrian Hunter
Madhusudhan wrote: -Original Message- From: Adrian Hunter [mailto:adrian.hun...@nokia.com] Sent: Saturday, January 16, 2010 7:33 PM To: Tony Lindgren Cc: Adrian Hunter; Madhusudhan Chikkature; Paul Walmsley; linux-omap Mailing List; linux-mmc Mailing List; Andrew Morton Subject: [PATCH

[PATCH 0/1]: usb: musb: support for OFF mode

2010-01-22 Thread Arnaud Mandy
The following patch must be applied on top of the following patchset. http://www.spinics.net/lists/linux-omap/msg24154.html Depending on [PATCH 1/7] usb: musb: Add context save and restore support Depending on [PATCH 2/7] usb: musb: get rid of omap_readl/writel -- To unsubscribe from this list: s

[PATCH] usb: musb: support for OFF-mode

2010-01-22 Thread Arnaud Mandy
using a wrapper between the transceiver driver and the controller driver to signal the controller driver to turn on/off the controller when VBUS event is detected. based-on: Heikki Krogerus Signed-off-by: Arnaud Mandy --- drivers/usb/musb/musb_core.c | 30 +- drivers/usb/musb

Re: MUSB crash on OMAP3 board with second load of gadget

2010-01-22 Thread Sergey Lapin
Hi, > [  580.082427] [] (__irq_svc+0x44/0xa8) from [] > (omap3_enter_idle+0x124/0x158) > [  580.091186] [] (omap3_enter_idle+0x124/0x158) from > [] (cpuidle_idle_call+0xa4/0x180) > [  580.100738] [] (cpuidle_idle_call+0xa4/0x180) from > [] (cpu_idle+0x48/0x98) > [  580.109436] [] (cpu_idle+0x48/0x

Re: MUSB crash on OMAP3 board with second load of gadget

2010-01-22 Thread Sergey Lapin
0 at 1:38 PM, Sergey Lapin wrote: > Hi, > >> [  580.082427] [] (__irq_svc+0x44/0xa8) from [] >> (omap3_enter_idle+0x124/0x158) >> [  580.091186] [] (omap3_enter_idle+0x124/0x158) from >> [] (cpuidle_idle_call+0xa4/0x180) >> [  580.100738] [] (cpuidle_idle_call+0xa4/0x180) from >> [] (cpu_idle+0x48

RE: [PATCH 2/4] omap: Make uncompress code and DEBUG_LL code generic, v2

2010-01-22 Thread Pandita, Vikram
>-Original Message- >From: Tony Lindgren [mailto:t...@atomide.com] >Sent: Thursday, January 21, 2010 9:07 PM >To: Pandita, Vikram >Cc: Russell King - ARM Linux; linux-arm-ker...@lists.infradead.org; >linux-omap@vger.kernel.org >Subject: Re: [PATCH 2/4] omap: Make uncompress code and DEBU

RE: [PATCH 1/7] usb: musb: Add context save and restore support

2010-01-22 Thread Pandita, Vikram
Ajay/Felipe Off usb list not to interfere with your merge req to Gregkh >-Original Message- >From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] >On Behalf Of Felipe >Balbi >Sent: Thursday, January 21, 2010 7:34 AM >To: Greg KH >Cc: Linux USB Mailing List; Linux

Re:

2010-01-22 Thread Ben Gamari
Excerpts from Ben Gamari's message of Wed Jan 20 14:47:23 -0500 2010: > Bcc: > Subject: GPIO chip select support in omap2_mcspi driver > > It seems like the rough idea is to add a cs_gpio field to the device > struct (omap2_mcspi) and add the appropriate code to the > omap2_mcspi_force_cs() to br

[PATCHv4 0/8] Idle status patches revisited

2010-01-22 Thread Tero Kristo
From: Tero Kristo Following changes done after previous version: - Added patch 0001: * This adds support for checking if HWSUP is enabled on clkdm * Powerdomain code uses this check so it can restore correct mode after fiddling with the deny_idle / allow_idle mechanism - Added patch 0006

[PATCHv4 5/8] OMAP3: PM: Removed pwrdm state hacking from omap_sram_idle

2010-01-22 Thread Tero Kristo
From: Tero Kristo Following hacks will be moved inside cpuidle in subsequent patch: - CAM domain prevents idle completely - PER should not go OFF if core remains active This simplifies the design and allows cpuidle to keep better track of which power states system will actually enter. Signed-o

[PATCHv4 8/8] OMAP3: CPUidle: Added peripheral pwrdm checks into bm check

2010-01-22 Thread Tero Kristo
From: Tero Kristo Following checks are made (and their reasoning): - If CAM domain is active, prevent idle completely * CAM pwrdm does not have HW wakeup capability - If PER is likely to remain on, prevent PER off * Saves on unnecessary context save/restore - If CORE domain is active, preven

[PATCHv4 4/8] OMAP3: CPUidle: Fixed support for ON / INACTIVE states

2010-01-22 Thread Tero Kristo
From: Tero Kristo New powerdomain code support for INACTIVE state removes the need to control clockdomains directly from cpuidle. Also, cpuidle state definitions can now directly support ON / INACTIVE simplifying the implementation. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/cpuidle34x

[PATCHv4 1/8] OMAP3: Clockdomain: Added API for checking if HWSUP is enabled

2010-01-22 Thread Tero Kristo
From: Tero Kristo omap2_clkdm_get_hwsup(clkdm) can be used to check if automatic HW transitions for the domain are enabled or not. This is needed for the powerdomain code that adds support for INACTIVE state, as it needs to disable HWSUP on the fly for ON state, and re-enable it after returning t

[PATCHv4 2/8] OMAP: Powerdomains: Add support for INACTIVE state on pwrdm level

2010-01-22 Thread Tero Kristo
From: Tero Kristo Currently only ON, RET and OFF are supported, and ON is arguably broken as it allows the powerdomain to enter INACTIVE state unless idle is prevented. Now, pwrdm code prevents idle if ON is selected and hardware supervised mode for the underlying clockdomain is enabled, and also

[PATCHv4 6/8] OMAP3: Clock: Added IDLEST definitions for SGX

2010-01-22 Thread Tero Kristo
From: Tero Kristo Added definitions for OMAP3430ES2_ST_SGX_SHIFT and OMAP3430ES2_ST_SGX_MASK as these were missing. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/cm-regbits-34xx.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm-regbits-34

[PATCHv4 3/8] OMAP3: PM: Added support for INACTIVE and ON states for powerdomains

2010-01-22 Thread Tero Kristo
From: Tero Kristo Previously omap_sram_idle() did not know about the difference between ON and INACTIVE states, which complicated the state handling in these cases. Now, the following changes are done in the idle logic: - Check for IO-chain arming is changed to reflect desired state (RET) - UART

[PATCHv4 7/8] OMAP: Powerdomains: Add support for checking if pwrdm/clkdm can idle

2010-01-22 Thread Tero Kristo
From: Tero Kristo pwrdm_can_idle(pwrdm) will check if the specified powerdomain can enter idle. This is done by checking all clockdomains under the powerdomain if they can idle also. omap2_clkdm_can_idle(clkdm) will check if the specified clockdomain can enter idle. This checks the functional cl

Re: [PATCH v2 1/6] omap3: pm: re-program the sleep state of TRITON resources by modifying the REMAP register

2010-01-22 Thread Mike Turquette
Kevin Hilman wrote: Mike Turquette writes: Lesly AM wrote: [...] From: "Mike Rapoport" [...] Is it necessary to initialize the remap sleep twice? No. Sorry.. I didn't notice that Amit has already pushed this. The existing remap programming does have a bug in it. Lesly, try adding

RE: [PATCH 1/7] usb: musb: Add context save and restore support

2010-01-22 Thread Gadiyar, Anand
> >+#ifdef CONFIG_PM > >+void musb_platform_save_context(struct musb_context_registers > >+*musb_context) > >+{ > >+musb_context->otg_sysconfig = omap_readl(OTG_SYSCONFIG); > >+musb_context->otg_forcestandby = omap_readl(OTG_FORCESTDBY); > > Any reason not to store: OTG_INTERFS

Re: [PATCH V2 0/10] omap_hsmmc changes V2

2010-01-22 Thread Tony Lindgren
* adrian.hun...@nokia.com [100122 00:31]: > Madhu wrote > > > > > > > -Original Message- > > > From: Adrian Hunter [mailto:adrian.hun...@nokia.com] > > > Sent: Saturday, January 16, 2010 7:33 PM > > > To: Tony Lindgren > > > Cc: Adrian Hunter; Madhusudhan Chikkature; Paul Walmsley; linux-o

Re: [PATCH V2 5/10] omap: Add functions for dynamic remuxing of pins

2010-01-22 Thread Tony Lindgren
* Adrian Hunter [100120 00:04]: > Tony Lindgren wrote: > >* Adrian Hunter [100116 17:31]: > >>From 33beb5bc36cba739971dc8919a6929925ad3dafc Mon Sep 17 00:00:00 2001 > >>From: Tony Lindgren > >>Date: Wed, 13 Jan 2010 10:27:17 -0800 > >>Subject: [PATCH] omap: Add functions for dynamic remuxing of

[PATCH] MFD: TWL4030: program remap_sleep correctly

2010-01-22 Thread mturquette
From: Mike Turquette Variable remap was incorrectly referencing remap_off for the remap_sleep case when configuring TWL4030 power scripts. Signed-off-by: Mike Turquette --- drivers/mfd/twl4030-power.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applies to MFD master branch, fo

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Tony Lindgren
* Russell King - ARM Linux [100116 03:53]: > On Fri, Jan 15, 2010 at 05:35:20PM -0800, Tony Lindgren wrote: > > -#ifndef CONFIG_ARCH_OMAP4 > > +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ > > + defined(CONFIG_ARCH_OMAP34XX) > > + > > +#define INTCPS_SIR_IRQ_OFFSET

Re: [PATCH 2/4] omap: Make uncompress code and DEBUG_LL code generic, v2

2010-01-22 Thread Tony Lindgren
* Pandita, Vikram [100122 06:46]: > > > >OK, I've added that too, but for mach-omap2 only. I've also > >added an experimental zoom2/3 support. > > > >Care to take try it out and see what happens on a zoom? > > Test on zoom3 failed with multi-omap branch. > Debugging the same, should have a zoom c

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Russell King - ARM Linux
On Fri, Jan 22, 2010 at 12:39:53PM -0800, Tony Lindgren wrote: > Here's this patch updated. It should now be actually more optimized for > non-multi-omap configurations as it uses the get_irqnr_preamble :) And the patch looks a lot cleaner and easier to read. > diff --git a/arch/arm/mach-omap2/in

RE: [PATCH 2/4] omap: Make uncompress code and DEBUG_LL code generic, v2

2010-01-22 Thread Pandita, Vikram
>-Original Message- >From: Tony Lindgren [mailto:t...@atomide.com] >Sent: Friday, January 22, 2010 2:55 PM >To: Pandita, Vikram >Cc: Russell King - ARM Linux; linux-arm-ker...@lists.infradead.org; >linux-omap@vger.kernel.org >Subject: Re: [PATCH 2/4] omap: Make uncompress code and DEBUG_

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Tony Lindgren
* Russell King - ARM Linux [100122 12:54]: > On Fri, Jan 22, 2010 at 12:39:53PM -0800, Tony Lindgren wrote: > > Here's this patch updated. It should now be actually more optimized for > > non-multi-omap configurations as it uses the get_irqnr_preamble :) > > And the patch looks a lot cleaner and

Re: [PATCH 2/4] omap: Make uncompress code and DEBUG_LL code generic, v2

2010-01-22 Thread Tony Lindgren
* Pandita, Vikram [100122 12:56]: > > > >-Original Message- > >From: Tony Lindgren [mailto:t...@atomide.com] > >Sent: Friday, January 22, 2010 2:55 PM > >To: Pandita, Vikram > >Cc: Russell King - ARM Linux; linux-arm-ker...@lists.infradead.org; > >linux-omap@vger.kernel.org > >Subject:

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Tony Lindgren
* Tony Lindgren [100122 13:07]: > * Russell King - ARM Linux [100122 12:54]: > > On Fri, Jan 22, 2010 at 12:39:53PM -0800, Tony Lindgren wrote: > > > Here's this patch updated. It should now be actually more optimized for > > > non-multi-omap configurations as it uses the get_irqnr_preamble :) >

RE: [PATCH 2/4] omap: Make uncompress code and DEBUG_LL code generic, v2

2010-01-22 Thread Pandita, Vikram
Tony >-Original Message- >From: Tony Lindgren [mailto:t...@atomide.com] >Sent: Friday, January 22, 2010 3:11 PM >To: Pandita, Vikram >Cc: Russell King - ARM Linux; linux-arm-ker...@lists.infradead.org; >linux-omap@vger.kernel.org >Subject: Re: [PATCH 2/4] omap: Make uncompress code and DE

[PATCHv2 0/6] McPDM driver patch series

2010-01-22 Thread Candelaria Villareal, Jorge
McPDM module is the interface between the OMAP and TWL6030 audio codec. The interface supports the following: * Up to 5 downlink channels and 3 uplink channels * 88.2 and 96 KHz * 32 bit sample size Currently, driver is set to support up to 4 downlink channels. If 2 channels are selected, output

[PATCHv2 1/6] ASoC: OMAP: data_type and sync_mode configurable in audio dma

2010-01-22 Thread Candelaria Villareal, Jorge
From: Misael Lopez Cruz Allow client drivers to set the data_type (16, 32) and the sync_mode (element, packet, etc) of the audio dma transferences. McBSP dai driver configures it for a data type of 16 bits and element sync mode. Signed-off-by: Misael Lopez Cruz Signed-off-by: Jorge Eduardo Can

[PATCHv2 2/6] OMAP4: IRQ: Add McPDM IRQ definition.

2010-01-22 Thread Candelaria Villareal, Jorge
Support for McPDM IRQs in OMAP4 Signed-off-by: Jorge Eduardo Candelaria --- arch/arm/plat-omap/include/plat/irqs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h index c0ab7c8..bbb8eb6 100

[PATCHv2 3/6] ARM: OMAP4: Add McPDM base address

2010-01-22 Thread Candelaria Villareal, Jorge
Define McPDM physical and L3 base address for OMAP4 Signed-off-by: Jorge Eduardo Candelaria --- arch/arm/plat-omap/include/plat/omap44xx.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/omap44xx.h b/arch/arm/plat-omap/include/plat/omap4

[PATCHv2 4/6] OMAP4: MCPDM: Register McPDM platform device

2010-01-22 Thread Candelaria Villareal, Jorge
Add platform device for McPDM interface in OMAP4 and register its memory and irq resources. Signed-off-by: Jorge Eduardo Candelaria --- arch/arm/plat-omap/devices.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/de

[PATCHv2 5/6] ASoC: OMAP4: Add support for McPDM

2010-01-22 Thread Candelaria Villareal, Jorge
McPDM is the interface between Phoenix audio codec and the OMAP4430 processor. It enables data to be transfered to/from Phoenix at sample rates of 88.4 or 96 KHz. Signed-off-by: Jorge Eduardo Candelaria Signed-off-by: Margarita Olaya --- sound/soc/omap/Kconfig |3 + sound/soc/omap/Makefile

[PATCHv2 6/6] ASoC: OMAP4: Add McPDM platform driver

2010-01-22 Thread Candelaria Villareal, Jorge
From: Misael Lopez Cruz McPDM platform driver is configured to use sDMA in order to transfer to/from memory. Support for interfacing with ABE will be added later. McPDM dai currently supports up to 4 downlink channels and 2 uplink channels simultaneously, as well as 88.2 and 96 KHz, and a sample

Re: [PATCH 2/8] OMAP3 PM: Conditional UART context save restore.

2010-01-22 Thread Kevin Hilman
Thara Gopinath writes: > Currently UART context save is done in idle > thread thru a call to omap_uart_prepare_idle irrespective of > what power state is attained by the power domain to which > the UART belongs to. This patch allows omap_uart_prepare_idle > to take power state as a parameter and

Re: [PATCH 5/8] OMAP3 PM: Adding conditional core powerdomain context save and restore

2010-01-22 Thread Kevin Hilman
Thara Gopinath writes: > This patch adds a parameter core_state , depicting the power state > which the core domain will attempt to enter, to omap3_core_save_context > and omap3_core_restore_context. This is so as to distinguish between > the context save and restore required when core domain is

Re: [PATCH 7/8] OMAP3 PM: Support for Open Switch Retention for Core and MPU power domains in cpuidle path

2010-01-22 Thread Kevin Hilman
Thara Gopinath writes: > This patch adds Open SWitch Retention (OSWR) support for > MPU/CORE domains in Cpuidle. In addition to the normal > power domain retention(Closed SWitch retention) in OSWR, > the powerdomain logic is turned OFF. Power domain memory > banks can be chosen to be retained or

Re: [PATCH 8/8] OMAP3 PM: Support to enable disable OSWR feature from pm debug fs

2010-01-22 Thread Kevin Hilman
Thara Gopinath writes: > This patch adds enable_oswr flag in pm debug fs to enable > disable OSWR feature. > To enable this feature: > echo 1 > /debug/pm_debug/enable_oswr > To disable this feature > echo 0 > /debug/pm_debug/enable_oswr > > Signed-off-by: Thara Gopinath I don't like

Re: [alsa-devel] [PATCHv2 1/6] ASoC: OMAP: data_type and sync_mode configurable in audio dma

2010-01-22 Thread Liam Girdwood
On Fri, 2010-01-22 at 17:14 -0600, Candelaria Villareal, Jorge wrote: > From: Misael Lopez Cruz > > Allow client drivers to set the data_type (16, 32) and the > sync_mode (element, packet, etc) of the audio dma transferences. > Btw, how is 32bit mode used here ? Is it for compacted 2 channel 1

Re: [alsa-devel] [PATCHv2 6/6] ASoC: OMAP4: Add McPDM platform driver

2010-01-22 Thread Liam Girdwood
On Fri, 2010-01-22 at 17:15 -0600, Candelaria Villareal, Jorge wrote: > From: Misael Lopez Cruz > > McPDM platform driver is configured to use sDMA in order to transfer > to/from memory. Support for interfacing with ABE will be added later. > > McPDM dai currently supports up to 4 downlink chann

Re: [alsa-devel] [PATCHv2 5/6] ASoC: OMAP4: Add support for McPDM

2010-01-22 Thread Liam Girdwood
On Fri, 2010-01-22 at 17:15 -0600, Candelaria Villareal, Jorge wrote: > McPDM is the interface between Phoenix audio codec > and the OMAP4430 processor. It enables data to be transfered > to/from Phoenix at sample rates of 88.4 or 96 KHz. > > Signed-off-by: Jorge Eduardo Candelaria > Signed-off-b

[PATCH 2/4] dspbridge: Change LST_ELEM to list_head entirely

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko * Change struct LST_ELEM to struct list_head in whole dsp bridge driver * Remove useless commentaries * Minor change in the services/mem.c: ... struct list_head *last = &mMan.lst.head; struct list_head *curr = last->next; /* was: mMan.lst.head.next */ ... Signed

[PATCH 4/4] DSPBRIDGE: OSAL: Remove extra include directive

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko Including the list.h in some files looks redundant. So, remove those lines. Signed-off-by: Andy Shevchenko --- drivers/dsp/bridge/pmgr/chnl.c |1 - drivers/dsp/bridge/pmgr/dmm.c |1 - drivers/dsp/bridge/pmgr/msg.c |1 - drivers/dsp/br

[PATCH 1/4] DSPBRIDGE: Get rid of services/list.c

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko * Remove LST_Init() and LST_Exit() calls because they are doing nothing except tracing, Thus, remove tracing as well. * Remove DBC_* calls. It's internal kernel business whether to have those assertions. * Move methods from list.c as inline functions to the list.h. *

[PATCH 3/4] dspbridge: Don't use LST_Create() and LST_Delete()

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko Change LST_Create() to the MEM_Calloc() and INIT_LIST_HEAD() pair in optimal way. Use MEM_Free() instead of LST_Delete(). We can use it without checking because MEM_Free() validates input parameter. Signed-off-by: Andy Shevchenko --- arch/arm/plat-omap/include/dspbridge

[PATCH 5/5] DSPBRIDGE: Remove multiple initializations of NTFY module

2010-01-22 Thread Omar Ramirez Luna
NTFY module should be only initialized by services layer. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/pmgr/wcd.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c index 2afe222..b92386a 100644

[PATCH 2/5] DSPBRIDGE: remove crefs for SERVICES[Init|Exit]

2010-01-22 Thread Omar Ramirez Luna
No point in having a module counter if these are called only once. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/services/services.c | 92 +--- 1 files changed, 37 insertions(+), 55 deletions(-) diff --git a/drivers/dsp/bridge/services/services.c b/drive

[PATCH 0/5] DSPBRIDGE: centralized services initialization

2010-01-22 Thread Omar Ramirez Luna
It is more logic to initialize services related modules inside services layer, even if we are planning to remove it. This set should be applied after Andy's List patches. Omar Ramirez Luna (5): DSPBRIDGE: Avoid multiple calls to SERVICES_[Init|Exit] DSPBRIDGE: remove crefs for SERVICES[Init|E

[PATCH 1/5] DSPBRIDGE: Avoid multiple calls to SERVICES_[Init|Exit]

2010-01-22 Thread Omar Ramirez Luna
Avoid calling multiple times to SERVICES_[Init|Exit] functions, these should be called once at probe and exit respectively. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/pmgr/wcd.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/dsp/bridge/pmgr

[PATCH 4/5] DSPBRIDGE: Remove multiple initializations of REG module

2010-01-22 Thread Omar Ramirez Luna
REG module should be only initialized by services layer. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/dbdcd.c |8 +--- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c index cb244f4..d90aa83 1

[PATCH 3/5] DSPBRIDGE: Remove multiple initializations of MEM module

2010-01-22 Thread Omar Ramirez Luna
MEM module should be only initialized by services layer, removed reference counter for it. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/gen/gs.c |8 ++-- drivers/dsp/bridge/pmgr/dbll.c| 15 ++- drivers/dsp/bridge/rmgr/dbdcd.c |8 +--- drivers/

[PATCH] DSPBRIDGE: OSAL: Implement registry as linked list.

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko Change implementation of registry to a linked list. In future this will become to some static structures and probably list for DCD_REGKEY array. Signed-off-by: Andy Shevchenko --- drivers/dsp/bridge/services/regsup.c | 197 ++--- drivers/dsp

[PATCH] DSPBRIDGE: cache operation against kernel address instead of user's

2010-01-22 Thread Omar Ramirez Luna
From: Hiroshi DOYU Based on the discussion: http://www.spinics.net/lists/arm-kernel/msg72810.html HACK: export "follow_page()" for dspbridge cache operation Signed-off-by: Hiroshi DOYU --- drivers/dsp/bridge/rmgr/proc.c | 68 ++- mm/memory.c

[PATCH 0/2] DSPBRIDGE: trivial cleanup for enums

2010-01-22 Thread Omar Ramirez Luna
Remove unused enums and replace unrelated enum constants with defines. Shivananda Hebbar (2): DSPBRIDGE: Remove un-used enums DSPBRIDGE: Remove enum definitions and replace with macros arch/arm/plat-omap/include/dspbridge/_chnl_sm.h | 11 +-- arch/arm/plat-omap/include/dspbridge/cm

[PATCH 1/2] DSPBRIDGE: Remove un-used enums

2010-01-22 Thread Omar Ramirez Luna
From: Shivananda Hebbar This patch removes un-used enum definitions from bridge. Signed-off-by: Shivananda Hebbar --- arch/arm/plat-omap/include/dspbridge/cmmdefs.h |8 drivers/dsp/bridge/hw/IPIAccInt.h | 15 --- drivers/dsp/bridge/wmd/_tiomap.h

[PATCH 2/2] DSPBRIDGE: Remove enum definitions and replace with macros

2010-01-22 Thread Omar Ramirez Luna
From: Shivananda Hebbar This patch removes unrelated enum constants and replaces it with the macros Signed-off-by: Shivananda Hebbar --- arch/arm/plat-omap/include/dspbridge/_chnl_sm.h | 11 +-- arch/arm/plat-omap/include/dspbridge/cmm.h |2 +- arch/arm/plat-omap/include/dsp