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

2011-02-02 Thread Omar Ramirez Luna
configured. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/devices.c | 98 +++-- 1 files changed, 16 insertions(+), 82 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index

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

2011-02-02 Thread Omar Ramirez Luna
From: Benoit Cousson Mailbox hwmod data for omap4. Signed-off-by: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 67 1 files changed, 67 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

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

2010-12-16 Thread Omar Ramirez Luna
Signed-off-by: Omar Ramirez Luna --- 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 8ba

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

2010-12-15 Thread Omar Ramirez Luna
3: 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 | 102 ++---

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

2010-12-15 Thread Omar Ramirez Luna
From: omar ramirez Mailbox hwmod data for omap2430 and 2420. Signed-off-by: Omar Ramirez Luna --- 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

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

2010-12-15 Thread Omar Ramirez Luna
From: Benoit Cousson Mailbox hwmod data for omap4. Signed-off-by: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 67 1 files changed, 67 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

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

2010-12-15 Thread Omar Ramirez Luna
From: Felipe Contreras Mailbox hwmod data for omap3. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 71 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

[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 --- arch/arm/mach-omap2/mailbox.c | 27 +-- 1 files changed, 5

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

2010-12-15 Thread Omar Ramirez Luna
configured. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/devices.c | 102 - 1 files changed, 20 insertions(+), 82 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index

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

2010-12-10 Thread Omar Ramirez Luna
From: Benoit Cousson Mailbox hwmod data for omap4. Signed-off-by: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 68 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

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

2010-12-10 Thread Omar Ramirez Luna
From: Felipe Contreras So that we can enable the main clock. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/devices.c | 10 +- arch/arm/mach-omap2/mailbox.c | 18 ++ 2 files changed, 15 insertions(+), 13 deletions(-) diff

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

2010-12-10 Thread Omar Ramirez Luna
From: Felipe Contreras Remove static platform_device and resource data within omap mailbox driver; use the one defined in the hwmod database along with omap_device framework for device build and registration. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach

[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 --- 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 deletions(-) diff

[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 the

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

2010-12-10 Thread Omar Ramirez Luna
From: Felipe Contreras Mailbox hwmod data for omap3. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 71 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH] OMAP: omap_device: use pdev as parameter to get rt_va

2010-12-10 Thread Omar Ramirez Luna
Make the parameter received by omap_device_get_mpu_rt_va consistent with the functions meant to be called by drivers. Also move its header declaration to appear in the set of functions to be used by drivers, as per the comment there. Signed-off-by: Omar Ramirez Luna Acked-by: Kevin Hilman

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

2010-12-08 Thread Omar Ramirez Luna
27808467703366&w=2 Signed-off-by: Omar Ramirez Luna --- 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/

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

2010-12-08 Thread Omar Ramirez Luna
27808467703366&w=2 Signed-off-by: Omar Ramirez Luna --- 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/

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

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

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

2010-12-06 Thread Omar Ramirez Luna
-c 'echo 1 > /sys/$DEVPATH/loading; \ cat $FIRMWARE > /sys/$DEVPATH/data; \ echo 0 > /sys/$DEVPATH/loading'" Signed-off-by: Omar Ramirez Luna --- .../tidspbridge/include/dspbridge/dbldefs.h| 10 -- .../staging/tidspbridge/in

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

2010-11-23 Thread Omar Ramirez Luna
amera, because it was previously configured as a camera clock. Signed-off-by: Yanick Saugy Acked-by: Tony Lindgren Signed-off-by: Omar Ramirez Luna --- I'm not sure if this patch was forgotten, hence resending. Without it, a blanks screen is seen on zoom2 board. Original p

[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: remove

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

2010-11-10 Thread Omar Ramirez Luna
omap_ctrl_set_dsp_boot*() are provided. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- drivers/staging/tidspbridge/core/tiomap3430.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c b/drivers/staging

[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 Acked-by: Tony Lindgren Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/devices.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/devices.c b/arc

[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 --- arch/arm/mach-omap2/omap-iommu.c| 77 --- arch/arm/plat-omap/include/plat/iommu.h |2 +- arch/arm/plat-omap/iommu.c |2

[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 --- 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 files changed, 31

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

2010-11-05 Thread Omar Ramirez Luna
wmod 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 oma

[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 --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 103 arch/arm/plat-omap/include/plat/iommu.h|8 ++ arch/arm/plat-omap/include/plat/omap34xx.h

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

2010-11-05 Thread Omar Ramirez Luna
s 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 --- arch/arm/plat-omap/iommu.c | 38 +- 1 files chang

[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 --- arch/arm/mach-omap2/omap-iommu.c| 95 +++ arch/arm/plat-omap/include/plat/iommu.h

[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 --- 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/arm/mach-omap2

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

2010-11-05 Thread Omar Ramirez Luna
From: Benoit Cousson hwmod data for omap4 mailbox. Signed-off-by: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 63 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

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

2010-11-05 Thread Omar Ramirez Luna
From: Felipe Contreras hwmod support for omap mailbox module. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/devices.c | 100 ++-- 1 files changed, 15 insertions(+), 85 deletions(-) diff --git a/arch/arm/mach

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

2010-11-05 Thread Omar Ramirez Luna
ox data omap: mailbox: initial 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/device

[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 --- 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 deletions(-) diff --git a

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

2010-11-05 Thread Omar Ramirez Luna
From: Felipe Contreras hwmod data for omap3 mailbox. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 66 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

[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 --- 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 --- a/arch/arm/mach-omap2

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

2010-11-05 Thread Omar Ramirez Luna
From: Felipe Contreras So that we can enable the main clock. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/devices.c | 18 -- arch/arm/mach-omap2/mailbox.c | 21 + arch/arm/plat-omap

[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 --- arch/arm/mach-omap2/mailbox.c | 16 ++-- 1

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 bypassin

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 mess

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 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 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 same i

[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 --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 55 arch/arm/mach-omap2/omap_hwmod_2430_data.c | 54 +++ 2 files changed, 109 insertions(+), 0

[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 --- 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 --- a/arch/arm/mach-omap2

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

2010-10-26 Thread Omar Ramirez Luna
From: Felipe Contreras So that we can enable the main clock. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/devices.c | 19 +-- arch/arm/mach-omap2/mailbox.c | 21 + arch/arm/plat-omap

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

2010-10-26 Thread Omar Ramirez Luna
nel&m=128534253231481&w=2 Felipe Contreras (2): omap: mailbox: initial hwmod support for omap3 omap: mailbox: add omap_device latency information Omar Ramirez Luna (4): omap: mailbox: initial hwmod support for omap2 omap: mailbox: fix detection for previously supported chips

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

2010-10-26 Thread Omar Ramirez Luna
From: Felipe Contreras HWMOD support for omap3. Signed-off-by: Felipe Contreras Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/devices.c | 100 --- arch/arm/mach-omap2/mailbox.c |1 + arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

[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 --- arch/arm/mach-omap2/mailbox.c | 16 ++-- 1

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 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 those defines is pm34x

[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 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 through struct platfo

[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 bo

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

2010-10-26 Thread Omar Ramirez Luna
From: Paul Walmsley 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 two in-tree us

[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 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 initializing t

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

2010-10-26 Thread Omar Ramirez Luna
From: Paul Walmsley Use the new functions from SCM layer instead of handling registers directly with __raw_writel, as explained in: http://marc.info/?l=linux-omap&m=128779652429922&w=2 Signed-off-by: Paul Walmsley Signed-off-by: Omar Ramirez Luna --- drivers/staging/tidspbri

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 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 - remove req_add

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 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 tiomap3430.c chan

[PATCH] omap: mailbox: remove unreachable return

2010-10-25 Thread Omar Ramirez Luna
Remove unreachable return statement. Signed-off-by: Omar Ramirez Luna --- 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 --- a/arch/arm/mach-omap2

[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 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 through struct platfo

[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 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 initializing t

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

2010-10-22 Thread Omar Ramirez Luna
From: Paul Walmsley 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 two in-tree us

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 n

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: [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 Luna 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. The only thing that

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 Luna 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 is used

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-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 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, T

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

2010-10-06 Thread Omar Ramirez Luna
ionale applies for the menuconfig option. Signed-off-by: Omar Ramirez Luna --- 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 ++ 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, Omar 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 dma_alloc_coherent with

[PATCH 1/2] OMAP: features: export symbol omap3_features

2010-09-23 Thread Omar Ramirez Luna
mp;m=128528822902211&w=2 Signed-off-by: Kevin Hilman Signed-off-by: Omar Ramirez Luna CC: Tony Lindgren CC: Russell King CC: Nishanth Menon CC: Paul Walmsley CC: Sanjeev Premi CC: linux-omap@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org --- arch/arm/mach-omap2/id.c |1 + 1 files ch

[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 CC: Tony Lindgren CC: Russell King CC: Hiroshi DOYU CC: Felipe Contreras CC: Suman Anna CC: Kevin Hilman CC: linux-omap

[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 --- - 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 adaptation hopefully

[PATCH v2 0/6] staging: tidspbridge: header cleanup series

2010-07-22 Thread Omar Ramirez Luna
Rebased version of the patches that couldn't be applied. Original set: [1] http://marc.info/?l=linux-kernel&m=127897548706686&w=2 [2] http://marc.info/?l=linux-kernel&m=127982129204138&w=2 Fixed unexpected change while replacing IN modifier [3] http://marc.info/?l=linux-kernel&m=127972475532227&w

[PATCH 2/6] staging: tidspbridge: replace CONST with c standard const

2010-07-22 Thread Omar Ramirez Luna
From: Menon, Nishanth Signed-off-by: Nishanth Menon --- drivers/staging/tidspbridge/core/chnl_sm.c |4 ++-- drivers/staging/tidspbridge/core/io_sm.c |2 +- drivers/staging/tidspbridge/core/msg_sm.c |2 +- drivers/staging/tidspbridge/core/tiomap3430.c

[PATCH 6/6] staging: tidspbridge: remove dbdefs.h

2010-07-22 Thread Omar Ramirez Luna
From: Menon, Nishanth Remove yet another custom definition header Signed-off-by: Nishanth Menon --- .../staging/tidspbridge/include/dspbridge/dbdefs.h |1 - .../staging/tidspbridge/include/dspbridge/dbtype.h | 69 .../tidspbridge/include/dspbridge/host_os.h|

[PATCH 4/6] staging: tidspbridge: remove OPTIONAL

2010-07-22 Thread Omar Ramirez Luna
From: Menon, Nishanth OPTIONAL modifier makes no sense in linux kernel Signed-off-by: Nishanth Menon --- drivers/staging/tidspbridge/core/chnl_sm.c |2 +- .../staging/tidspbridge/include/dspbridge/cod.h|2 +- .../tidspbridge/include/dspbridge/dspchnl.h|4 ++-- .

[PATCH 1/6] staging: tidspbridge: remove GlobalTypes.h

2010-07-22 Thread Omar Ramirez Luna
From: Menon, Nishanth Remove custom globaltypes.h header Signed-off-by: Nishanth Menon --- drivers/staging/tidspbridge/hw/GlobalTypes.h | 291 -- drivers/staging/tidspbridge/hw/MMURegAcM.h |1 - drivers/staging/tidspbridge/hw/hw_defs.h |2 - drivers/stagi

Re: [PATCH 00/15] ti dspbridge: Remove CamelCase, reagroup variables

2010-07-16 Thread Omar Ramirez Luna
On 7/9/2010 9:23 PM, Sapiens, Rene wrote: The intention of this serie of patches is to rename the remaining variables with camel case. Words will be renamed avoiding CamelCase and Hungarian notation. Also the variables in the prototypes will be renamed to make them match with the ones in the fun

Re: [PATCH 11/11] staging: ti dspbridge: enable driver building

2010-07-06 Thread Omar Ramirez Luna
On 7/4/2010 5:53 AM, Felipe Contreras wrote: On Thu, Jun 24, 2010 at 1:41 AM, Greg KH wrote: The default is always 'n' so you don't need this. Also, this enables the driver to be built on x86, which fails horribly, and I don't think is what you really want to have happen :) So I need some mor

[PATCH] DSPBRIDGE: driver version 0.3

2010-06-14 Thread Omar Ramirez Luna
driver version 0.3 Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index cdc7f1b..f0f089b 100644 --- a

[PATCH 2/2] DSPBRIDGE: reorganize gpt8 overflow handling

2010-06-10 Thread Omar Ramirez Luna
after jiffes macro. Signed-off-by: Omar Ramirez Luna Signed-off-by: Ernesto Ramos Falcon --- arch/arm/plat-omap/include/dspbridge/clk.h |2 + drivers/dsp/bridge/core/dsp-clock.c| 38 ++ drivers/dsp/bridge/core/ue_deh.c | 59 ++- 3

[PATCH 1/2] DSPBRIDGE: fix a wrong clk index for gpt8

2010-06-10 Thread Omar Ramirez Luna
Mismatch between index for gpt clocks will result in writting out of bounds into dsp clock timer array when requesting gpt8, for the other gpt the bogus code is being masked as it falls within the array's range. Discovered-by: Ernesto Ramos Falcon Signed-off-by: Omar Ramirez Luna --- dr

[PATCH 2/2] DSPBRIDGE: reorganize probe function

2010-06-08 Thread Omar Ramirez Luna
Renaming and deleting unused variables, few enhancement on error path. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c | 28 +++- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b

[PATCH 1/2] DSPRBIDGE: split probe from bridge initializations

2010-06-08 Thread Omar Ramirez Luna
. Reported-by: Ameya Palande Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c | 178 ++- 1 files changed, 105 insertions(+), 73 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c

[PATCH 0/2] dspbridge: reorganize initialization and probe

2010-06-08 Thread Omar Ramirez Luna
Split the functions to have cleaner error handling paths, this will aslo cover a case where bridge initialization has failed but device entry is still available which leads to unknown behavior. Omar Ramirez Luna (2): DSPRBIDGE: split probe from bridge initializations DSPBRIDGE: reorganize

[PATCH 00/40] dspbridge: trivial error code cleanup

2010-06-02 Thread Omar Ramirez Luna
the error is not descriptive enough, and it also lists a common scenario where the error might be seen. Finally, the last patch replaces a custom typedef (dsp_status) with an int type as now those errors can have a negative value. Omar Ramirez Luna (40): DSPBRIDGE: Remove success codes DSPBRIDGE

[PATCH 13/40] DSPBRIDGE: err code replace CHNL_E_NOIOC with EREMOTEIO

2010-06-02 Thread Omar Ramirez Luna
Replace CHNL_E_NOIOC with EREMOTEIO Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +- drivers/dsp/bridge/core/chnl_sm.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge

[PATCH 02/40] DSPBRIDGE: change DSP_SENUMCOMPLETE for ENODATA

2010-06-02 Thread Omar Ramirez Luna
This is not an error code, however the way it is coded it doesn't expects a success (zero) either, return a positive number on this case given that this is not an error code. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbdcd.h |2 +- drivers/dsp/bridge

[PATCH 05/40] DSPBRIDGE: err code replace CHNL_E_BUFSIZE with EINVAL

2010-06-02 Thread Omar Ramirez Luna
Replace CHNL_E_BUFSIZE with EINVAL Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +- drivers/dsp/bridge/core/chnl_sm.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge

[PATCH 08/40] DSPBRIDGE: err code replace CHNL_E_MGREXISTS with EEXIST

2010-06-02 Thread Omar Ramirez Luna
Replace CHNL_E_MGREXISTS with EEXIST Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/chnl.h |2 +- drivers/dsp/bridge/pmgr/chnl.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/chnl.h b

[PATCH 09/40] DSPBRIDGE: err code replace CHNL_E_NOMEMMAP with EFAULT

2010-06-02 Thread Omar Ramirez Luna
Replace CHNL_E_NOMEMMAP with EFAULT Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dspdefs.h |2 +- drivers/dsp/bridge/core/io_sm.c| 22 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/plat-omap

[PATCH 19/40] DSPBRIDGE: err code replace COD_E_NOSYMBOLSLOADED with ESPIPE

2010-06-02 Thread Omar Ramirez Luna
Replace COD_E_NOSYMBOLSLOADED with ESPIPE Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/cod.h |6 +++--- arch/arm/plat-omap/include/dspbridge/dev.h |2 +- drivers/dsp/bridge/pmgr/cod.c |6 +++--- 3 files changed, 7 insertions(+), 7 deletions

[PATCH 21/40] DSPBRIDGE: err code replace DSP_EDYNLOAD with EILSEQ

2010-06-02 Thread Omar Ramirez Luna
Replace DSP_EDYNLOAD with EILSEQ Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dblldefs.h |2 +- arch/arm/plat-omap/include/dspbridge/nldrdefs.h |2 +- drivers/dsp/bridge/pmgr/dbll.c |8 drivers/dsp/bridge/rmgr/nldr.c

[PATCH 18/40] DSPBRIDGE: err code replace COD_E_SYMBOLNOTFOUND with ESPIPE

2010-06-02 Thread Omar Ramirez Luna
Replace COD_E_SYMBOLNOTFOUND with ESPIPE Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/cod.h |4 ++-- arch/arm/plat-omap/include/dspbridge/dev.h |2 +- drivers/dsp/bridge/pmgr/cod.c |2 +- drivers/dsp/bridge/rmgr/node.c |2

[PATCH 22/40] DSPBRIDGE: err code replace DSP_EBADSEGID with EBADR

2010-06-02 Thread Omar Ramirez Luna
Replace DSP_EBADSEGID with EBADR Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/node.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/node.c b/drivers/dsp/bridge/rmgr/node.c index 159ea2b..1c7742a 100644 --- a/drivers/dsp/bridge

[PATCH 20/40] DSPBRIDGE: err code replace DSP_EDPMSUSPEND with EPERM

2010-06-02 Thread Omar Ramirez Luna
Replace DSP_EDPMSUSPEND with EPERM Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index e7eff24..08ad56d

[PATCH 31/40] DSPBRIDGE: err code replace DSP_EDCDREADSECT with EACCES

2010-06-02 Thread Omar Ramirez Luna
Replace DSP_EDCDREADSECT with EACCES Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbdcd.h | 12 ++-- drivers/dsp/bridge/rmgr/dbdcd.c |4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/plat-omap/include

[PATCH 30/40] DSPBRIDGE: err code replace DSP_EDCDPARSESECT with EACCES

2010-06-02 Thread Omar Ramirez Luna
Replace DSP_EDCDPARSESECT with EACCES Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbdcd.h |2 +- drivers/dsp/bridge/rmgr/dbdcd.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/dbdcd.h

[PATCH 27/40] DSPBRIDGE: err code replace DSP_EDCDNOAUTOREGISTER with EACCES

2010-06-02 Thread Omar Ramirez Luna
Replace DSP_EDCDNOAUTOREGISTER with EACCES Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbdcd.h |6 +++--- drivers/dsp/bridge/rmgr/dbdcd.c |2 +- drivers/dsp/bridge/rmgr/proc.c |4 ++-- 3 files changed, 6 insertions(+), 6

<    1   2   3   4   5   6   7   8   >