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
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
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
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 ++---
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
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
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
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
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
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
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
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
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
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
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
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
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/
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/
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
-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
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
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
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
;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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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);
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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,
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
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
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
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
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
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
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
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
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
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|
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 ++--
.
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
201 - 300 of 730 matches
Mail list logo