[RFC] omap: mailbox: fix detection for previously supported chips

2010-09-22 Thread Omar Ramirez Luna
Fix the mailbox support detection for OMAP3630, 3530/25 and 2430. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- - Testing was made under 3630 and 3430 boards. - Given that 2430 uses similar initialization than OMAP3, changes to handle this case was added to the patch. - HWMOD

[PATCH 2/2] omap: mailbox: fix detection for previously supported chips

2010-09-23 Thread Omar Ramirez Luna
Fix the mailbox detection for OMAP3630, 3530/25 and 2430. Given that 2430 has an iva too include it, as the same steps for omap3 apply. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Tony Lindgren t...@atomide.com CC: Russell King li...@arm.linux.org.uk CC: Hiroshi DOYU hiroshi.d

Re: [PATCH 0/2] omap: dsp: make the driver actually work

2010-10-06 Thread Omar Ramirez Luna
On 10/5/2010 4:05 PM, Felipe Contreras wrote: On Tue, Oct 5, 2010 at 11:09 PM, Ramirez Luna, Omaromar.rami...@ti.com wrote: Felipe Contreras wrote: ... Hmmm, because my other option was to move the reserved memory outside the kernel, but that involves specifying bootargs again and using

[RFC] tidspbridge: use a parameter to allocate shared memory

2010-10-06 Thread Omar Ramirez Luna
for the menuconfig option. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- Code to allocate dspbridge memblock needs to be disabled since it will be wasting 6MB. arch/arm/mach-omap2/dsp.c|2 +- drivers/staging/tidspbridge/Kconfig | 10

Re: [RFC] tidspbridge: use a parameter to allocate shared memory

2010-10-07 Thread Omar Ramirez Luna
On 10/7/2010 2:40 AM, Laurent Pinchart wrote: Hi Omar, On Thursday 07 October 2010 07:45:36 Omar Ramirez Luna wrote: tidspbridge driver uses a block of memory denominated SHared Memory to store info communicate with DSP, this SHM needs to be physically contiguous and non-cacheable

Re: [RFC] tidspbridge: use a parameter to allocate shared memory

2010-10-07 Thread Omar Ramirez Luna
On 10/7/2010 9:01 AM, Laurent Pinchart wrote: On Thursday 07 October 2010 10:32:42 Russell King - ARM Linux wrote: ARMv6 and above don't like having multiple mappings with different memory type/shareability/cache attributes. It's architecturally forbidden. So if you want non-cacheable memory

Re: [RFC] tidspbridge: use a parameter to allocate shared memory

2010-10-07 Thread Omar Ramirez Luna
On 10/7/2010 1:22 PM, Felipe Contreras wrote: ... Note that the shared memory described in the document you share has nothing to do with the SHM pool. AFAIK that memory is used for other things, like MMU PTEs, and storing the base image and socket-nodes, thus it needs to be contiguous. hmmm,

Re: [RFC] tidspbridge: use a parameter to allocate shared memory

2010-10-08 Thread Omar Ramirez Luna
On 10/8/2010 3:18 AM, Felipe Contreras wrote: On Thu, Oct 7, 2010 at 10:16 PM, Omar Ramirez Lunaomar.rami...@ti.com wrote: On 10/7/2010 1:22 PM, Felipe Contreras wrote: ... Note that the shared memory described in the document you share has nothing to do with the SHM pool. AFAIK that memory

Re: [RFC] tidspbridge: use a parameter to allocate shared memory

2010-10-08 Thread Omar Ramirez Luna
On 10/8/2010 3:20 AM, Felipe Contreras wrote: On Thu, Oct 7, 2010 at 10:16 PM, Omar Ramirez Lunaomar.rami...@ti.com wrote: On 10/7/2010 1:22 PM, Felipe Contreras wrote: Anyway, we will not know for sure until we try... Right? yes we can try, at least we now for sure arm side can be done.

Re: [PATCH 1/3] OMAP: control: add functions for DSP boot address/mode control

2010-10-11 Thread Omar Ramirez Luna
On 10/11/2010 4:35 PM, Paul Walmsley wrote: On Mon, 11 Oct 2010, Tony Lindgren wrote: Would be nice to get the dspbridge into working shape. Sounds we still need the following: - memblock fixes - this series to fix the control module related issues - platform data for the boards Is that all,

Re: [PATCH 1/3] OMAP: control: add functions for DSP boot address/mode control

2010-10-11 Thread Omar Ramirez Luna
On 10/11/2010 5:16 PM, Paul Walmsley wrote: 4. If the DSP uses a peripheral, such as a GPTIMER or a McBSP, DSPBridge needs to reserve that device with the rest of Linux so some other Linux code isn't using it or doesn't try to use it, causing conflicts with DSPBridge. I guess the list that we

[PATCH 1/3] OMAP: control: add functions for DSP boot address/mode control

2010-10-22 Thread Omar Ramirez Luna
From: Paul Walmsley p...@pwsan.com Add two functions for OMAP2430/OMAP3 IVA2 DSP boot control. These registers wound up in the System Control Module. Other kernel code that wishes to control the DSP's boot process should now use these functions to do so; subsequent patches implement this in the

[PATCH 2/3] OMAP3: PM: update DSP reset code to use new SCM DSP boot control functions

2010-10-22 Thread Omar Ramirez Luna
From: Paul Walmsley p...@pwsan.com Update the DSP reset code in pm34xx.c to use one of the new SCM DSP boot control functions, omap2430_ctrl_set_dsp_bootmode(). This reset code should be moved out to a separate function to be called by the hwmod reset process at some point. Also, 2430 should be

[PATCH 3/3] tidspbridge: convert OMAP3430 adaptation layer to use new SCM DSP boot control fns

2010-10-22 Thread Omar Ramirez Luna
From: Paul Walmsley p...@pwsan.com DSPBridge currently tries to __raw_writel() to the System Control Module to control the DSP boot process. This is a layering violation; this is SoC-specific code, and belongs in a file in arch/arm/mach-omap2/*. None of those CM and PRM register accesses

[PATCH] omap: mailbox: remove unreachable return

2010-10-25 Thread Omar Ramirez Luna
Remove unreachable return statement. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/mailbox.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index a0af532..7dc9fa6 100644

Re: [PATCH 3/3] tidspbridge: convert OMAP3430 adaptation layer to use new SCM DSP boot control fns

2010-10-26 Thread Omar Ramirez Luna
On Tue, Oct 26, 2010 at 12:43 AM, Paul Walmsley p...@pwsan.com wrote:  arch/arm/mach-omap2/dsp.c                     |    4  arch/arm/plat-omap/include/plat/dsp.h         |    4  drivers/staging/tidspbridge/core/tiomap3430.c |   13 ++--- Could you please split the

Re: [PATCH 0/8] staging: tidspbridge - misc fixes

2010-10-26 Thread Omar Ramirez Luna
On Tue, Oct 26, 2010 at 9:43 AM, Felipe Contreras felipe.contre...@nokia.com wrote: gre...@suse.de wrote: On Mon, Oct 25, 2010 at 07:51:38PM -0500, Fernando Guzman Lugo wrote: This set of patches fix some issues found in lastest tree. Fernando Guzman Lugo (8):   staging: tidspbridge -

[PATCH v2 4/4] staging: tidspbridge: use new SCM DSP boot control fns

2010-10-26 Thread Omar Ramirez Luna
From: Paul Walmsley p...@pwsan.com Use the new functions from SCM layer instead of handling registers directly with __raw_writel, as explained in: http://marc.info/?l=linux-omapm=128779652429922w=2 Signed-off-by: Paul Walmsley p...@pwsan.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com

[PATCH v2 2/4] OMAP3: PM: update DSP reset code to use new SCM DSP boot control functions

2010-10-26 Thread Omar Ramirez Luna
From: Paul Walmsley p...@pwsan.com Update the DSP reset code in pm34xx.c to use one of the new SCM DSP boot control functions, omap2430_ctrl_set_dsp_bootmode(). This reset code should be moved out to a separate function to be called by the hwmod reset process at some point. Also, 2430 should be

[PATCH v3 3/4] OMAP: dsp: convert OMAP3430 adaptation layer to use new SCM DSP boot control fns

2010-10-26 Thread Omar Ramirez Luna
From: Paul Walmsley p...@pwsan.com DSPBridge currently tries to __raw_writel() to the System Control Module to control the DSP boot process. This is a layering violation; this is SoC-specific code, and belongs in a file in arch/arm/mach-omap2/*. None of those CM and PRM register accesses

[PATCH v2 0/4] tidspbridge: SCM layer violation fixes

2010-10-26 Thread Omar Ramirez Luna
This is the patch series shared by Paul, for a short term fix to a compile break due SCM layer layer violations from tidspbridge driver, where the latter is used to write directly into registers and use SCM layer macros, among other layer bypassing. patch: staging: tidspbridge: use new SCM DSP

[PATCH v2 1/4] OMAP: control: add functions for DSP boot address/mode control

2010-10-26 Thread Omar Ramirez Luna
From: Paul Walmsley p...@pwsan.com Add two functions for OMAP2430/OMAP3 IVA2 DSP boot control. These registers wound up in the System Control Module. Other kernel code that wishes to control the DSP's boot process should now use these functions to do so; subsequent patches implement this in the

Re: [PATCH v2 0/4] tidspbridge: SCM layer violation fixes

2010-10-26 Thread Omar Ramirez Luna
On Tue, Oct 26, 2010 at 12:13 PM, Felipe Contreras felipe.contre...@gmail.com wrote:  arch/arm/plat-omap/include/plat/iva2_dsp.h    |   56 + Why not use the already existing dsp.h? Good point, I guess when the patch was made dsp.h didn't exist, but since the user of

[PATCH 1/5] omap: mailbox: initial hwmod support for omap3

2010-10-26 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com HWMOD support for omap3. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 100 --- arch/arm/mach-omap2

[PATCH 4/5] omap: mailbox: fix detection for previously supported chips

2010-10-26 Thread Omar Ramirez Luna
Fix the mailbox detection for OMAP3630 and 2430, also minor cleanup on conditional ifdef's that could affect it. Given that 2430 has an iva too include it, as the same steps for omap3 apply. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/mailbox.c | 16

[PATCH 3/5] omap: mailbox: add omap_device latency information

2010-10-26 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com So that we can enable the main clock. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 19 +-- arch/arm/mach-omap2

[PATCH 2/5] omap: mailbox: initial hwmod support for omap2

2010-10-26 Thread Omar Ramirez Luna
HWMOD support for omap2430 and 2420. Compiled tested only. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 55 arch/arm/mach-omap2/omap_hwmod_2430_data.c | 54 +++ 2 files changed, 109

[PATCH 5/5] omap: mailbox: remove unreachable return

2010-10-26 Thread Omar Ramirez Luna
Remove unreachable return statement. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/mailbox.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index b8fd120..2dd0e07 100644

Re: [PATCH 1/5] omap: mailbox: initial hwmod support for omap3

2010-10-27 Thread Omar Ramirez Luna
On Wed, Oct 27, 2010 at 12:07 AM, Varadarajan, Charulatha ch...@ti.com wrote: HWMOD support for omap3. Use hwmod. ok ... This patch series breaks OMAP4 support. indeed, I'll try to exercise a sanity use case with omap4 and its hwmod data OMAP2 support is broken with this patch and the

Re: [PATCH 6/7] omap:mailbox-add notification support for multiple readers

2010-10-28 Thread Omar Ramirez Luna
Hi, On 10/14/2010 9:13 PM, Hari Kanigeri wrote: @@ -252,41 +253,39 @@ static int omap_mbox_startup(struct omap_mbox *mbox) ... + if (!mbox-use_count++) { + ret = request_irq(mbox-irq, mbox_interrupt, IRQF_SHARED, + mbox-name, mbox);

Re: [PATCH 5/7] omap:mailbox-resolve multiple receiver problem

2010-10-28 Thread Omar Ramirez Luna
On 10/14/2010 9:13 PM, Kanigeri, Hari wrote: OMAP4 shares one interrupt line for all the mailbox instances. The ISR is handling only the mailbox instance that was registered last. This shouldn't be needed, request_irq is being called with IRQF_SHARED flag and different device ids, so if a

Re: [PATCH v2 0/4] tidspbridge: SCM layer violation fixes

2010-11-02 Thread Omar Ramirez Luna
On 10/26/2010 11:15 AM, Ramirez Luna, Omar wrote: This is the patch series shared by Paul, for a short term fix to a compile break due SCM layer layer violations from tidspbridge driver, where the latter is used to write directly into registers and use SCM layer macros, among other layer

[PATCH v2 7/7] omap: mailbox: remove unreachable return

2010-11-05 Thread Omar Ramirez Luna
Remove unreachable return statement. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/mailbox.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index 5e9ea0f..335eb2b 100644

[PATCH v2 5/7] omap: mailbox: add omap_device latency information

2010-11-05 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com So that we can enable the main clock. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 18 -- arch/arm/mach-omap2

[PATCH v2 6/7] omap: mailbox: fix detection for previously supported chips

2010-11-05 Thread Omar Ramirez Luna
Fix the mailbox detection for OMAP3630 and 2430, also minor cleanup on conditional ifdef's that could affect it. Given that 2430 has an iva too include it, as the same steps for omap3 apply. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/mailbox.c | 16

[PATCH v2 0/7] omap: mailbox: hwmod support and dependent cleanup patches

2010-11-05 Thread Omar Ramirez Luna
hwmod support omap: mailbox: add omap_device latency information Omar Ramirez Luna (3): OMAP2: hwmod data: add mailbox data omap: mailbox: fix detection for previously supported chips omap: mailbox: remove unreachable return arch/arm/mach-omap2/devices.c | 104

[PATCH v2 1/7] OMAP2: hwmod data: add mailbox data

2010-11-05 Thread Omar Ramirez Luna
hwmod data for omap2430 and 2420. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 67 arch/arm/mach-omap2/omap_hwmod_2430_data.c | 66 +++ 2 files changed, 133 insertions(+), 0

[PATCH v2 2/7] OMAP3: hwmod data: add mailbox data

2010-11-05 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com hwmod data for omap3 mailbox. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 66 1 files changed, 66

[PATCH v2 4/7] omap: mailbox: initial hwmod support

2010-11-05 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com hwmod support for omap mailbox module. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 100 ++-- 1 files

[PATCH v2 3/7] OMAP4: hwmod data: add mailbox data

2010-11-05 Thread Omar Ramirez Luna
From: Benoit Cousson b-cous...@ti.com hwmod data for omap4 mailbox. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 63 1 files changed, 63 insertions(+), 0

[PATCH 3/6] OMAP4: hwmod data: add mmu hwmod for ducati and tesla

2010-11-05 Thread Omar Ramirez Luna
Add mmu hwmod data for ducati and tesla. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 105 1 files changed, 105 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch

[PATCH 2/6] OMAP3: hwmod data: Add mmu for iva2 and isp

2010-11-05 Thread Omar Ramirez Luna
Add mmu hwmod data for iva2 and isp. Plus a define for the iva2 base register. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 103 arch/arm/plat-omap/include/plat/iommu.h|8 ++ arch/arm/plat-omap

[PATCH 1/6] omap: iommu: remove redundant clock usage

2010-11-05 Thread Omar Ramirez Luna
as the driver using its interface should also be handling the same clock. iommu should only enable/disable the clock on mmu request/free from the driver wanting to use it. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/iommu.c | 38 +- 1

[PATCH 4/6] omap: iommu: intial hwmod support

2010-11-05 Thread Omar Ramirez Luna
Use the defined hwmod data according to the devices present on omap3 and omap4. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap-iommu.c| 77 --- arch/arm/plat-omap/include/plat/iommu.h |2 +- arch/arm/plat-omap/iommu.c

[PATCH 5/6] omap: iommu: hwmod device enable/disable routines

2010-11-05 Thread Omar Ramirez Luna
Use omap device enable/disable routines. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap-iommu.c| 16 +++- arch/arm/plat-omap/include/plat/iommu.h |7 +-- arch/arm/plat-omap/iommu.c | 24 +++- 3

[PATCH 0/6] omap: iommu: hwmod support and code reorganization

2010-11-05 Thread Omar Ramirez Luna
and causing the same issue. Omar Ramirez Luna (6): omap: iommu: remove redundant clock usage OMAP3: hwmod data: Add mmu for iva2 and isp OMAP4: hwmod data: add mmu hwmod for ducati and tesla omap: iommu: intial hwmod support omap: iommu: hwmod device enable/disable routines omap: iommu: code

[PATCH 6/6] omap: iommu: code reorganization and cleanup

2010-11-05 Thread Omar Ramirez Luna
Since omap-iommu is now using hwmod, there are structures and arrays that can be cleaned up to increase the readability of the code. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap-iommu.c| 95 +++ arch/arm/plat-omap/include

[PATCH 01/02] omap: dsp: remove shm from normal memory

2010-11-10 Thread Omar Ramirez Luna
: 'MEMBLOCK_REAL_LIMIT' undeclared (first use in this function) Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/devices.c |4 +++- 1 files changed, 3 insertions(+), 1

[PATCH 00/02] staging: tidspbridge: 2.6.37-rcX fixes

2010-11-10 Thread Omar Ramirez Luna
Hi Greg, Please consider the following patch set for tidspbridge driver in staging tree, the following has been tested on an omap3430 based board + gst-dsp environment. Many thanks to Felipe Contreras for piling this up, as I'm just propagating his patches. First two patches: 1. omap: dsp:

[PATCH 02/02] staging: tidspbridge: hardcode SCM macros while fix is upstreamed

2010-11-10 Thread Omar Ramirez Luna
, but needed until omap_ctrl_set_dsp_boot*() are provided. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/core/tiomap3430.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git

[PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP

2010-11-23 Thread Omar Ramirez Luna
disable the camera, because it was previously configured as a camera clock. Signed-off-by: Yanick Saugy yanick.sa...@heig-vd.ch Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- I'm not sure if this patch was forgotten, hence resending. Without

[PATCH] staging: tidspbridge: remove file handling functions for loader

2010-12-06 Thread Omar Ramirez Luna
$FIRMWARE /sys/$DEVPATH/data; \ echo 0 /sys/$DEVPATH/loading' Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- .../tidspbridge/include/dspbridge/dbldefs.h| 10 -- .../staging/tidspbridge/include/dspbridge/dbll.h |7 ++ .../tidspbridge/include

[PATCH] staging: tidspbridge: use the right type for list_is_last

2010-12-08 Thread Omar Ramirez Luna
:170: note: expected 'const struct list_head *' but argument is of type 'struct rmm_ovly_sect *' Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/staging/tidspbridge/rmgr/rmm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging

[PATCH 1/6] OMAP: device: make rt_va easily avaialable to drivers

2010-12-08 Thread Omar Ramirez Luna
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/plat/omap_device.h |3 +-- arch/arm/plat-omap/omap_device.c |8 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/omap_device.h b/arch/arm

[PATCH] OMAP: device: make rt_va easily avaialable to drivers

2010-12-08 Thread Omar Ramirez Luna
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/plat/omap_device.h |3 +-- arch/arm/plat-omap/omap_device.c |8 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/omap_device.h b/arch/arm

[PATCH v3 2/5] OMAP3: hwmod data: add mailbox data

2010-12-10 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com Mailbox hwmod data for omap3. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 71 1 files changed, 71

[PATCH v3 1/5] OMAP2: hwmod data: add mailbox data

2010-12-10 Thread Omar Ramirez Luna
Mailbox hwmod data for omap2430 and 2420. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 73 arch/arm/mach-omap2/omap_hwmod_2430_data.c | 72 +++ 2 files changed, 145 insertions(+), 0

[PATCH v3 0/5] omap: mailbox: hwmod support

2010-12-10 Thread Omar Ramirez Luna
Tested on 3430, based of pm-core branch. It may require rebase once the mailbox git pull is made. http://www.mail-archive.com/linux-omap@vger.kernel.org/msg39719.html ** v3 ** - Taken mailbox hwmod as is from Benoit original branch. - Put back numbers for irq, addresses instead of considering

[PATCH v3 3/5] OMAP4: hwmod data: add mailbox data

2010-12-10 Thread Omar Ramirez Luna
From: Benoit Cousson b-cous...@ti.com Mailbox hwmod data for omap4. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 68 1 files changed, 68 insertions(+), 0

[PATCH v3 5/5] OMAP: mailbox: add omap_device latency information

2010-12-10 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com So that we can enable the main clock. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 10 +- arch/arm/mach-omap2/mailbox.c | 18

[PATCH v3 4/5] OMAP: mailbox: build device using omap_device/omap_hwmod

2010-12-10 Thread Omar Ramirez Luna
Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 100 ++-- 1 files changed, 15 insertions(+), 85 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index b5cafd3..3bb7724 100644

[PATCH v4 5/5] OMAP: mailbox: use runtime pm for clk and sysc handling

2010-12-15 Thread Omar Ramirez Luna
Use runtime pm APIs to enable/disable mailbox clocks and to configure SYSC register. Based on the patch sent by Felipe Contreras: https://patchwork.kernel.org/patch/101662/ Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/mailbox.c | 27

[PATCH v4 4/5] OMAP: mailbox: build device using omap_device/omap_hwmod

2010-12-15 Thread Omar Ramirez Luna
be enabled and sysconfig is configured. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 102 - 1 files changed, 20 insertions(+), 82 deletions(-) diff --git

[PATCH v4 2/5] OMAP3: hwmod data: add mailbox data

2010-12-15 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com Mailbox hwmod data for omap3. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 71 1 files changed, 71

[PATCH v4 1/5] OMAP2: hwmod data: add mailbox data

2010-12-15 Thread Omar Ramirez Luna
From: omar ramirez omar.rami...@ti.com Mailbox hwmod data for omap2430 and 2420. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 73 arch/arm/mach-omap2/omap_hwmod_2430_data.c | 72

[PATCH v4 3/5] OMAP4: hwmod data: add mailbox data

2010-12-15 Thread Omar Ramirez Luna
From: Benoit Cousson b-cous...@ti.com Mailbox hwmod data for omap4. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 67 1 files changed, 67 insertions(+), 0

[PATCH v4 0/5] omap: mailbox: hwmod support

2010-12-15 Thread Omar Ramirez Luna
: mailbox: build device using omap_device/omap_hwmod Omar Ramirez Luna (1): OMAP: mailbox: use runtime pm for clk and sysc handling omar ramirez (1): OMAP2: hwmod data: add mailbox data arch/arm/mach-omap2/devices.c | 102 ++-- arch/arm/mach-omap2/mailbox.c

[PATCH] OMAP: RM-680: fix omap2_init_common_hw compile break

2010-12-16 Thread Omar Ramirez Luna
Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/board-am3517crane.c |3 ++- arch/arm/mach-omap2/board-rm680.c |3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c index 8ba4047

[PATCH v5 3/5] OMAP4: hwmod data: add mailbox data

2011-02-02 Thread Omar Ramirez Luna
From: Benoit Cousson b-cous...@ti.com Mailbox hwmod data for omap4. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 67 1 files changed, 67 insertions(+), 0

[PATCH v5 4/5] OMAP: mailbox: build device using omap_device/omap_hwmod

2011-02-02 Thread Omar Ramirez Luna
be enabled and sysconfig is configured. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/devices.c | 98 +++-- 1 files changed, 16 insertions(+), 82 deletions(-) diff --git

[PATCH v5 0/5] omap: mailbox: hwmod support

2011-02-02 Thread Omar Ramirez Luna
data Felipe Contreras (2): OMAP3: hwmod data: add mailbox data OMAP: mailbox: build device using omap_device/omap_hwmod Omar Ramirez Luna (1): OMAP: mailbox: use runtime pm for clk and sysc handling omar ramirez (1): OMAP2: hwmod data: add mailbox data arch/arm/mach-omap2/devices.c

[PATCH v5 1/5] OMAP2: hwmod data: add mailbox data

2011-02-02 Thread Omar Ramirez Luna
From: omar ramirez omar.rami...@ti.com Mailbox hwmod data for omap2430 and 2420. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 74 arch/arm/mach-omap2/omap_hwmod_2430_data.c | 73

[PATCH v5 5/5] OMAP: mailbox: use runtime pm for clk and sysc handling

2011-02-02 Thread Omar Ramirez Luna
Use runtime pm APIs to enable/disable mailbox clocks and to configure SYSC register. Based on the patch sent by Felipe Contreras: https://patchwork.kernel.org/patch/101662/ Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/mailbox.c | 67

[PATCH v5 2/5] OMAP3: hwmod data: add mailbox data

2011-02-02 Thread Omar Ramirez Luna
From: Felipe Contreras felipe.contre...@gmail.com Mailbox hwmod data for omap3. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 72 1 files changed, 72

[PATCH 0/8] misc patches

2010-01-07 Thread Omar Ramirez Luna
). Fernando Guzman Lugo (1): DSPBRIDGE: change to cpufreq_register_notifier for OPP changes Hari Kanigeri (1): DSPBRIDGE: Increased DMM size to 256MB Omar Ramirez Luna (6): DSPBRIDGE: Cleanup SSI handling - remove IO_ADDRESS DSPBRIDGE: sysfs entry for global driver state DSPBRIDGE: Remove unused

[PATCH 1/8] DSPBRIDGE: Cleanup SSI handling - remove IO_ADDRESS

2010-01-07 Thread Omar Ramirez Luna
This patch cleans SSI clock preparation and also removes the dependency on IO_ADDRESS variants for easier maintenance. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/drv.h |7 ++ drivers/dsp/bridge/services/clk.c | 30

[PATCH 2/8] DSPBRIDGE: sysfs entry for global driver state

2010-01-07 Thread Omar Ramirez Luna
This patch creates a new sysfs entry to query the driver state without making any bridge direct call, this is useful to monitor driver state without creating any handle to bridge driver. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c | 87

[PATCH 3/8] DSPBRIDGE: Increased DMM size to 256MB

2010-01-07 Thread Omar Ramirez Luna
From: Hari Kanigeri h-kanige...@ti.com This patch increases the DMM from 64MB to 256MB. Signed-off-by: Hari Kanigeri h-kanige...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com Signed-off-by: Leed Aguilar leed.agui...@ti.com --- arch/arm/plat-omap/include/dspbridge/dmm.h |2

[PATCH 4/8] DSPBRIDGE: Remove unused hDrvObject in bridge_[open|release]

2010-01-07 Thread Omar Ramirez Luna
This patch removes an unused variable in bridge_open and bridge_release functions, which reduces indentation. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c | 25 + 1 files changed, 5 insertions(+), 20 deletions(-) diff

[PATCH 5/8] DSPBRIDGE: change to cpufreq_register_notifier for OPP changes

2010-01-07 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo x0095...@ti.com This patch changes clk_notifier_unregister with cpufreq_unregister_notifier, which is used for OPP change notifications Signed-off-by: Fernando Guzman Lugo x0095...@ti.com --- drivers/dsp/bridge/Kconfig |2 +-

[PATCH 6/8] DSPBRIDGE: Use dspbridge to initialize platform data

2010-01-07 Thread Omar Ramirez Luna
Include dspbridge compilation whenever bridge driver is selected to be compiled, either as a module or part of the kernel. This will initialize platform data specific PM functions. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/Makefile |4 +++- 1 files changed

[PATCH 7/8] DSPBRIDGE: Fix header locations mach to plat

2010-01-07 Thread Omar Ramirez Luna
Fix header locations, replaced mach to plat Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/mach-omap2/dspbridge.c|2 +- arch/arm/plat-omap/include/dspbridge/host_os.h |2 +- drivers/dsp/bridge/wmd/tiomap3430.c|2 +- 3 files changed, 3

[PATCH 8/8] DSPBRIDGE: Use _IOxx macro to define ioctls

2010-01-07 Thread Omar Ramirez Luna
and not implemented ioctls, this can be done when all the ioctls are accessed through a switch instead of a pointer to function. *** NOTE: An update in api ioctl definitions is required. *** Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 144

[PATCH] driver version 0.1

2010-01-11 Thread Omar Ramirez Luna
/heads/dspbridge Special thanks to: - Felipe Contreras: for his comments and time during this sync up. - Hiroshi Doyu and Ameya Palande for their time reviewing patches. - And all who also have provided their comments. Omar Ramirez Luna (1): DSPBRIDGE: driver version 0.1 drivers/dsp/bridge/rmgr

[PATCH] DSPBRIDGE: driver version 0.1

2010-01-11 Thread Omar Ramirez Luna
This is the official 0.1 dspbridge version. CC: Felipe Contreras felipe.contre...@nokia.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Nishant Menon n...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/rmgr

[PATCH 3/6] DSPBRIDGE: Mark unused ioctls as deprecated

2010-01-11 Thread Omar Ramirez Luna
Mark unused ioctls as deprecated for future removal. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishant Menon n...@ti.com CC: Felipe Contreras felipe.contre...@gmail.com --- arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 11 -- drivers/dsp/bridge/pmgr/wcd.c

[PATCH 5/6] DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl

2010-01-11 Thread Omar Ramirez Luna
Trivial cleanup, rename pResult to result for WCD_CallDevIOCtl Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishant Menon n...@ti.com --- drivers/dsp/bridge/pmgr/wcd.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers

[PATCH 4/6] DSPBRIDGE: remove ioctl runtime check

2010-01-11 Thread Omar Ramirez Luna
This patch removes the runtime check of device ioctl array. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishant Menon n...@ti.com CC: Felipe Contreras felipe.contre...@gmail.com --- drivers/dsp/bridge/pmgr/wcd.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff

[PATCH v2 0/6] misc patches

2010-01-11 Thread Omar Ramirez Luna
Ramirez Luna (6): DSPBRIDGE: replace IO_ADDRESS with ioremap DSPBRIDGE: Replace magic numbers in SSI configuration DSPBRIDGE: Mark unused ioctls as deprecated DSPBRIDGE: remove ioctl runtime check DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl DSPBRIDGE: Use _IOxx macro to define

[PATCH 1/6] DSPBRIDGE: replace IO_ADDRESS with ioremap

2010-01-11 Thread Omar Ramirez Luna
Use ioremap() instead of using IO_ADDRESS macro to make it generic. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishant Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras felipe.contre...@gmail.com --- drivers/dsp

[PATCH 2/6] DSPBRIDGE: Replace magic numbers in SSI configuration

2010-01-11 Thread Omar Ramirez Luna
Rename ssi_sysconfig variable and replace the usage of magic numbers while updating SSI configuration. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishant Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras

[PATCH 6/6] DSPBRIDGE: Use _IOxx macro to define ioctls

2010-01-11 Thread Omar Ramirez Luna
clients (not using libbridge) need to update their ioctl numbers manually. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishant Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras felipe.contre...@gmail.com --- arch

[PATCH v3 4/7] DSPBRIDGE: remove ioctl runtime check

2010-01-11 Thread Omar Ramirez Luna
This patch removes the runtime check of device ioctl array. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras felipe.contre...@gmail.com --- drivers/dsp/bridge

[PATCH v3 3/7] DSPBRIDGE: Mark unused ioctls as deprecated

2010-01-11 Thread Omar Ramirez Luna
Mark unused ioctls as deprecated for future removal and print an error message whenever they are used. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras

[PATCH v3 1/7] DSPBRIDGE: replace IO_ADDRESS with ioremap

2010-01-11 Thread Omar Ramirez Luna
Use ioremap() instead of using IO_ADDRESS macro to make it generic. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Tony Lindgren t...@atomide.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras

[PATCH v3 6/7] DSPBRIDGE: Use _IOxx macro to define ioctls

2010-01-11 Thread Omar Ramirez Luna
clients (not using libbridge) need to update their ioctl numbers manually. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras felipe.contre...@gmail.com --- arch

[PATCH v3 7/7] DSPBRIDGE: remove WCD_Cmd structure

2010-01-11 Thread Omar Ramirez Luna
Remove WCD_Cmd structure given that only one member is being used (fxn call), this structure is replaced for a definition of an array of function pointers for each dspbridge ioctl module. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu

[PATCH v3 5/7] DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl

2010-01-11 Thread Omar Ramirez Luna
Trivial cleanup, rename pResult to result for WCD_CallDevIOCtl Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras felipe.contre...@gmail.com --- drivers/dsp

[PATCH v3 2/7] DSPBRIDGE: Replace magic numbers in SSI configuration

2010-01-11 Thread Omar Ramirez Luna
Rename ssi_sysconfig variable and replace the usage of magic numbers while updating SSI configuration. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com CC: Felipe Contreras

[PATCH 1/3] DSPBRIDGE: Interface tightening to check for invalid input parameters

2010-01-13 Thread Omar Ramirez Luna
From: Ernesto Ramos erne...@ti.com Add more error checking and range to address usecases accessing kernel APIs directly. Signed-off-by: Ernesto Ramos erne...@ti.com CC: Nishanth Menon n...@ti.com CC: Hiroshi Doyu hiroshi.d...@nokia.com CC: Ameya Palande ameya.pala...@nokia.com ---

  1   2   3   4   5   6   7   >