[PATCH v2 11/13] mailbox/omap: check iomem resource before dereferencing it

2013-02-11 Thread Suman Anna
Add a NULL check for iomem resource in mailbox probe functions. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap1.c | 3 +++ drivers/mailbox/mailbox-omap2.c | 5 + 2 files changed, 8 insertions(+) diff --git

[PATCH v2 01/13] ARM: OMAP2+: mbox: remove dependencies with soc.h

2013-02-11 Thread Suman Anna
driver. This data is now represented in a concise format and moved to the respective omap_hwmod data files and published to the driver through the platform data. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/devices.c | 13 +- arch/arm/mach-omap2/mailbox.c

[PATCH v2 12/13] mailbox: check for NULL nb in mailbox_put

2013-02-11 Thread Suman Anna
The mailbox_put function must check the notifier block for NULL before trying to unregister it. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2 05/13] mailbox: create opened message type

2013-02-11 Thread Suman Anna
and tidspbridge drivers. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Omar Ramirez Luna omar.rami...@copitl.com Signed-off-by: Suman Anna s-a...@ti.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/Kconfig | 9 drivers/mailbox

[PATCH v2 03/13] mailbox: split internal header from API header

2013-02-11 Thread Suman Anna
From: Omar Ramirez Luna omar.l...@linaro.org Now internal structures can remain hidden to the user and just API related functions and defines are made available. Signed-off-by: Omar Ramirez Luna omar.l...@linaro.org Signed-off-by: Linus Walleij linus.wall...@linaro.org ---

[PATCH v2 04/13] mailbox: rename omap_mbox in mailbox

2013-02-11 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com In order to create a generic mailbox framework, functions and structures should be renamed in mailbox. Taking care of remoteproc and tidspbridge while at it. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Omar Ramirez Luna

[PATCH v2 08/13] mailbox: add IRQF_NO_SUSPEND flag

2013-02-11 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com Coprocessor must be accessible during suspend transitions. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v2 00/13] drivers: mailbox: framework creation

2013-02-11 Thread Suman Anna
header from API header Suman Anna (4): ARM: OMAP2+: mbox: remove dependencies with soc.h mailbox/omap: check iomem resource before dereferencing it mailbox: check for NULL nb in mailbox_put mailbox: call request_irq after mbox queues are allocated arch/arm/configs/omap1_defconfig

[PATCH v2 13/13] mailbox: call request_irq after mbox queues are allocated

2013-02-11 Thread Suman Anna
-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c index c38241a..5fea5c2 100644

[PATCH v2 09/13] mailbox: add no_irq send message

2013-02-11 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com For debug purpose, mailbox must be available when interrupts are disabled to collect dump information. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/mailbox.c | 66

[PATCH v2 10/13] mailbox: create dbx500 mailbox driver

2013-02-11 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com Add STEriccson DBX500 PRCM mailbox support. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/Kconfig | 7 + drivers/mailbox/Makefile |

[PATCH v2 06/13] mailbox: change protection mechanisms

2013-02-11 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com TX: replace spin by mutex to release CPU during wait on mailbox resource. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/mailbox.c | 5 +++--

[PATCH v2 07/13] mailbox: add shared memory mailbox type

2013-02-11 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com Some mailboxes are made up of cross interrupts and associated shared memory. Shared memory mapping is fixed and cross interrupt/shared memory relation make impossible the use of virtio. Mailbox framework must be enough opened to support any kind of

[PATCHv3 01/14] mailbox: rename pl320-ipc specific mailbox.h

2013-03-12 Thread Suman Anna
The patch 30058677 ARM / highbank: add support for pl320 IPC added a pl320 IPC specific header file as a generic mailbox.h. This file has been renamed appropriately to allow the introduction of the generic mailbox API framework. Signed-off-by: Suman Anna s-a...@ti.com Cc: Mark Langsdorf

[PATCHv3 06/14] mailbox: create opened message type

2013-03-12 Thread Suman Anna
and tidspbridge drivers. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Omar Ramirez Luna omar.rami...@copitl.com Signed-off-by: Suman Anna s-a...@ti.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/Kconfig | 9 drivers/mailbox

[PATCHv3 13/14] mailbox: check for NULL nb in mailbox_put

2013-03-12 Thread Suman Anna
The mailbox_put function must check the notifier block for NULL before trying to unregister it. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCHv3 11/14] mailbox: create dbx500 mailbox driver

2013-03-12 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com Add STEriccson DBX500 PRCM mailbox support. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- .../devicetree/bindings/mailbox/dbx500-mailbox.txt | 27 + drivers/mailbox/Kconfig

[PATCHv3 05/14] mailbox: rename omap_mbox in mailbox

2013-03-12 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com In order to create a generic mailbox framework, functions and structures should be renamed in mailbox. Taking care of remoteproc and tidspbridge while at it. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Omar Ramirez Luna

[PATCHv3 12/14] mailbox/omap: check iomem resource before dereferencing it

2013-03-12 Thread Suman Anna
Add a NULL check for iomem resource in mailbox probe functions. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap1.c | 3 +++ drivers/mailbox/mailbox-omap2.c | 5 + 2 files changed, 8 insertions(+) diff --git

[PATCHv3 10/14] mailbox: add no_irq send message

2013-03-12 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com For debug purpose, mailbox must be available when interrupts are disabled to collect dump information. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/mailbox.c | 66

[PATCHv3 14/14] mailbox: call request_irq after mbox queues are allocated

2013-03-12 Thread Suman Anna
-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c index c38241a..5fea5c2 100644

[PATCHv3 09/14] mailbox: add IRQF_NO_SUSPEND flag

2013-03-12 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com Coprocessor must be accessible during suspend transitions. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCHv3 04/14] mailbox: split internal header from API header

2013-03-12 Thread Suman Anna
From: Omar Ramirez Luna omar.l...@linaro.org Now internal structures can remain hidden to the user and just API related functions and defines are made available. Signed-off-by: Omar Ramirez Luna omar.l...@linaro.org Signed-off-by: Linus Walleij linus.wall...@linaro.org ---

[PATCHv3 00/14] drivers: mailbox: framework creation

2013-03-12 Thread Suman Anna
mechanisms mailbox: add shared memory mailbox type mailbox: add IRQF_NO_SUSPEND flag mailbox: add no_irq send message mailbox: create dbx500 mailbox driver Omar Ramirez Luna (2): mailbox: OMAP: introduce mailbox framework mailbox: split internal header from API header Suman Anna (5): mailbox

[PATCHv3 02/14] ARM: OMAP2+: mbox: remove dependencies with soc.h

2013-03-12 Thread Suman Anna
driver. This data is now represented in a concise format and moved to the respective omap_hwmod data files and published to the driver through the platform data. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/devices.c | 9 +- arch/arm/mach-omap2/mailbox.c

[PATCHv3 07/14] mailbox: change protection mechanisms

2013-03-12 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com TX: replace spin by mutex to release CPU during wait on mailbox resource. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mailbox/mailbox.c | 5 +++--

[PATCHv3 08/14] mailbox: add shared memory mailbox type

2013-03-12 Thread Suman Anna
From: Loic Pallardy loic.palla...@st.com Some mailboxes are made up of cross interrupts and associated shared memory. Shared memory mapping is fixed and cross interrupt/shared memory relation make impossible the use of virtio. Mailbox framework must be enough opened to support any kind of

[PATCH] ARM: dts: OMAP4+: remove multimedia carveouts

2013-04-17 Thread Suman Anna
The carveouts that have been reserved for multimedia usecases are not being used currently by any driver and so have been cleaned up. Memory will be allocated runtime through CMA for enabling the multimedia usecases. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 8

[PATCH] ARM: OMAP2+: control: add OMAP5 support for dsp boot programming

2013-04-17 Thread Suman Anna
Support for OMAP5 is added to the omap_dsp_ctrl_write_boot_addr() to enable the DSP boot. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/control.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index 2adb268

[PATCH 0/2] OMAP gptimer capability changes

2013-04-17 Thread Suman Anna
/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v3.10/dt Suman Anna (2): ARM: dts: OMAP5: add PWM capability to timer nodes missing it ARM: OMAP4+: Add a timer attribute for timers that can interrupt IPU Documentation/devicetree/bindings/arm/omap/timer.txt | 3 +++ arch/arm/boot

[PATCH 1/2] ARM: dts: OMAP5: add PWM capability to timer nodes missing it

2013-04-17 Thread Suman Anna
OMAP5 has 6 timers (GPTimers 5, 6, 8 to 11) that are capable of PWM. The PWM capability property is missing from the node definitions of couple of timers, and this has been fixed. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 3 +++ 1 file changed, 3 insertions

[PATCH 2/2] ARM: OMAP4+: Add a timer attribute for timers that can interrupt IPU

2013-04-17 Thread Suman Anna
devices : not applicable OMAP4/5 devices : DMTIMERs 3,4,9 11 Signed-off-by: Suman Anna s-a...@ti.com --- Documentation/devicetree/bindings/arm/omap/timer.txt | 3 +++ arch/arm/boot/dts/omap4.dtsi | 4 arch/arm/boot/dts/omap5.dtsi | 4

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-05-02 Thread Suman Anna
Hi Arnd, On 04/28/2013 11:07 PM, Jassi Brar wrote: Hello Arnd, On 9 April 2013 16:25, Arnd Bergmann a...@arndb.de wrote: On Thursday 04 April 2013, Anna, Suman wrote: OMAP and ST-Ericsson platforms are both using mailbox to communicate with some coprocessors. This series creates a

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-05-03 Thread Suman Anna
On 05/02/2013 09:37 PM, Jassi Brar wrote: On 3 May 2013 03:39, Suman Anna s-a...@ti.com wrote: Hi Arnd, On 04/28/2013 11:07 PM, Jassi Brar wrote: Not to mean only talk and no do, I prepared another proposal that addressed all the concerns shared so far in the RFC http://www.spinics.net

[PATCH 2/7] omap: mailbox: check for NULL nb in mailbox_put

2013-06-07 Thread Suman Anna
The mailbox_put function must check the notifier block for NULL before trying to unregister it. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/plat-omap/mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 3/7] omap: mailbox: call request_irq after mbox queues are allocated

2013-06-07 Thread Suman Anna
. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/plat-omap/mailbox.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index 5fb4027..e1bd333

[PATCH 7/7] mailbox/omap: move the OMAP mailbox framework to drivers

2013-06-07 Thread Suman Anna
is changed as mailbox_omap1.ko for OMAP1 mailbox_omap2.ko for OMAP2+ Cc: Tony Lindgren t...@atomide.com Signed-off-by: Omar Ramirez Luna omar.rami...@copitl.com Signed-off-by: Suman Anna s-a...@ti.com This is similar to Omar's earlier patches for moving the code, but is revised to prepare

[PATCH 0/7] move omap mailbox to drivers minor fixes

2013-06-07 Thread Suman Anna
this series on Panda 4 and Beagle-XM. I will post the remaining preparatory patches for DT conversion and new mailbox framework on Monday. Suman Anna (7): omap: mailbox: check iomem resource before dereferencing it omap: mailbox: check for NULL nb in mailbox_put omap: mailbox: call request_irq after

[PATCH 6/7] ARM: OMAP2+: add user and fifo info to mailbox platform data

2013-06-07 Thread Suman Anna
registers, and so has been added to the platform data. This data together with the interrupt-type configuration can be used in properly figuring out the number of registers to save and restore in the OMAP mailbox driver code. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Suman Anna s-a...@ti.com

[PATCH 1/7] omap: mailbox: check iomem resource before dereferencing it

2013-06-07 Thread Suman Anna
Add a NULL check for iomem resource in mailbox probe functions. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap1/mailbox.c | 3 +++ arch/arm/mach-omap2/mailbox.c | 3 +++ 2 files changed, 6 insertions(+) diff --git

[PATCH 4/7] omap: mailbox: correct the argument type for irq ops

2013-06-07 Thread Suman Anna
The argument type used in the actual individual omap_mbox_ops for irqs should be omap_mbox_irq_t instead of omap_mbox_type_t. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap1/mailbox.c | 6 +++--- arch/arm/mach-omap2/mailbox.c | 15 --- 2 files changed, 7 insertions

[PATCH 5/7] ARM: OMAP2+: mbox: remove dependencies with soc.h

2013-06-07 Thread Suman Anna
driver. This data is now represented in a concise format and moved to the respective omap_hwmod data files and published to the driver through the platform data. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/devices.c | 9 +- arch/arm

Re: [PATCH 5/7] ARM: OMAP2+: mbox: remove dependencies with soc.h

2013-06-10 Thread Suman Anna
Russ, On 06/08/2013 02:16 PM, Russ Dill wrote: On Fri, Jun 7, 2013 at 6:58 PM, Suman Anna s-a...@ti.com wrote: The OMAP mailbox platform driver code has been cleaned up to remove the dependencies with soc.h in preparation for moving the mailbox code to drivers folder. The code relied

Re: [PATCH 2/7] omap: mailbox: check for NULL nb in mailbox_put

2013-06-10 Thread Suman Anna
Russ, On 06/08/2013 01:46 PM, Russ Dill wrote: On Fri, Jun 7, 2013 at 6:57 PM, Suman Anna s-a...@ti.com wrote: The mailbox_put function must check the notifier block for NULL before trying to unregister it. I'm going to nack this one. Why must it check for NULL? None of the callers pass

Re: [PATCH 3/7] omap: mailbox: call request_irq after mbox queues are allocated

2013-06-10 Thread Suman Anna
Russ, On 06/08/2013 01:53 PM, Russ Dill wrote: On Fri, Jun 7, 2013 at 6:57 PM, Suman Anna s-a...@ti.com wrote: The OMAP mailbox startup code is enabling the interrupt even before any of the associated mailbox queues are allocated. Any pending received mailbox message could cause a kernel

[PATCH v2 1/6] omap: mailbox: check iomem resource before dereferencing it

2013-06-11 Thread Suman Anna
Add a NULL check for iomem resource in mailbox probe functions. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap1/mailbox.c | 3 +++ arch/arm/mach-omap2/mailbox.c | 3 +++ 2 files changed, 6 insertions(+) diff --git

[PATCH v2 0/6] move omap mailbox to drivers minor fixes

2013-06-11 Thread Suman Anna
, and the move enables the driver to be built again and be functional. These also serve as the base preparatory patches for adapting the OMAP mailbox code to the upcoming mailbox framework, and for device-tree conversion. http://marc.info/?l=linux-omapm=137065697924665w=2 Suman Anna (6): omap: mailbox

[PATCH v2 5/6] ARM: OMAP2+: add user and fifo info to mailbox platform data

2013-06-11 Thread Suman Anna
registers, and so has been added to the platform data. This data together with the interrupt-type configuration can be used in properly figuring out the number of registers to save and restore in the OMAP mailbox driver code. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Suman Anna s-a...@ti.com

[PATCH v2 6/6] mailbox/omap: move the OMAP mailbox framework to drivers

2013-06-11 Thread Suman Anna
is changed as mailbox_omap1.ko for OMAP1 mailbox_omap2.ko for OMAP2+ Cc: Tony Lindgren t...@atomide.com [gre...@linuxfoundation.org: ack for staging part] Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Omar Ramirez Luna omar.rami...@copitl.com Signed-off-by: Suman Anna s

[PATCH v2 3/6] omap: mailbox: correct the argument type for irq ops

2013-06-11 Thread Suman Anna
The argument type used in the actual individual omap_mbox_ops for irqs should be omap_mbox_irq_t instead of omap_mbox_type_t. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap1/mailbox.c | 6 +++--- arch/arm/mach-omap2/mailbox.c | 15 --- 2 files changed, 7 insertions

[PATCH v2 2/6] omap: mailbox: call request_irq after mbox queues are allocated

2013-06-11 Thread Suman Anna
The OMAP mailbox startup code is enabling the interrupt before any of the associated mailbox queues are allocated. Move this code so that the interrupt configuration for a mailbox is together. Signed-off-by: Fernando Guzman Lugo lugo.ferna...@gmail.com Signed-off-by: Suman Anna s-a...@ti.com

[PATCH v2 4/6] ARM: OMAP2+: mbox: remove dependencies with soc.h

2013-06-11 Thread Suman Anna
driver. This data is now represented in a concise format and moved to the respective omap_hwmod data files and published to the driver through the platform data. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/devices.c | 9 +- arch/arm

[GIT PULL] move omap mailbox to drivers for v3.11

2013-06-12 Thread Suman Anna
device data through platform data/hwmod attrs - move the omap mailbox code out of plat-omap/mach-omapX to drivers/mailbox folder. Suman Anna (6): omap: mailbox: check iomem resource before dereferencing it omap: mailbox

Re: [GIT PULL] move omap mailbox to drivers for v3.11

2013-06-13 Thread Suman Anna
On 06/12/2013 08:37 PM, Felipe Balbi wrote: Hi, On Wed, Jun 12, 2013 at 04:58:26PM -0500, Suman Anna wrote: The following changes since commit 317ddd256b9c24b0d78fa8018f80f1e495481a10: Linux 3.10-rc5 (2013-06-08 17:41:04 -0700) are available in the git repository at: g

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-06-13 Thread Suman Anna
Linus Walleij wrote: On Fri, May 3, 2013 at 3:25 PM, Arnd Bergmann a...@arndb.de mailto:a...@arndb.de wrote: On Thursday 02 May 2013 17:09:07 Suman Anna wrote: I do not know how much of an impact it is for the ST driver as the series adds the driver, and would have to wait until the RFC

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-06-16 Thread Suman Anna
driver needs. regards Suman On Thu, Jun 13, 2013 at 11:59 PM, Suman Anna s-a...@ti.com mailto:s-a...@ti.com wrote: Tan, On 06/13/2013 06:01 AM, LF.Tan wrote: Hi I would like to add a new mailbox driver with this mailbox framework. May I know this mailbox

[PATCH 2/3] mailbox/omap: add support for parsing dt devices

2013-06-18 Thread Suman Anna
configuration information. Signed-off-by: Suman Anna s-a...@ti.com --- .../devicetree/bindings/mailbox/omap-mailbox.txt | 46 +++ drivers/mailbox/mailbox-omap2.c| 141 ++--- 2 files changed, 172 insertions(+), 15 deletions(-) create mode 100644 Documentation

[PATCH 0/3] omap mailbox dt support

2013-06-18 Thread Suman Anna
/linux-omap-dt.git/log/?h=for_3.11/dts Suman Anna (3): mailbox/omap: add a parent structure common to all mboxes mailbox/omap: add support for parsing dt devices ARM: dts: OMAP2+: Add mailbox nodes .../devicetree/bindings/mailbox/omap-mailbox.txt | 46 + arch/arm/boot/dts/omap2420

[PATCH 1/3] mailbox/omap: add a parent structure common to all mboxes

2013-06-18 Thread Suman Anna
of single global configuration variables for all h/w instances. Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap1.c | 27 +--- drivers/mailbox/mailbox-omap2.c | 95 + drivers/mailbox/omap-mailbox.c | 32 ++ drivers

[PATCH 3/3] ARM: dts: OMAP2+: Add mailbox nodes

2013-06-18 Thread Suman Anna
The mailbox DT node data has been added for OMAP2420, OMAP2430, OMAP3430/OMAP3630, OMAP44xx devices. Data for OMAP5 is skipped for now since the corresponding hwmod entry is not present. The mailbox static device initialization logic is also adjusted for a DT boot. Signed-off-by: Suman Anna s

Re: [PATCH 2/3] mailbox/omap: add support for parsing dt devices

2013-06-20 Thread Suman Anna
Hi Benoit, On 06/20/2013 04:45 PM, Cousson, Benoit wrote: Hi Suman, On 6/18/2013 5:34 PM, Suman Anna wrote: Logic has been added to the OMAP2+ mailbox code to parse the mailbox dt nodes and construct the different mailboxes associated with the instance. The design is based on gathering

Re: [PATCH 3/3] ARM: dts: OMAP2+: Add mailbox nodes

2013-06-20 Thread Suman Anna
Hi Benoit, On 06/20/2013 04:57 PM, Cousson, Benoit wrote: On 6/18/2013 5:35 PM, Suman Anna wrote: The mailbox DT node data has been added for OMAP2420, OMAP2430, OMAP3430/OMAP3630, OMAP44xx devices. Data for OMAP5 is skipped for now since the corresponding hwmod entry is not present

Re: find real users and drivers of rpmsg

2013-07-09 Thread Suman Anna
Barry, On Mon, Jul 8, 2013 at 10:31 AM, Barry Song 21cn...@gmail.com wrote: hi Ohad/all, i am trying to find some real users of rpmsg, here i only get samples/rpmsg/rpmsg_client_sample.c, does it mean other real drivers are out of mainline? Yes where could i get them? TI maintains

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-11 Thread Suman Anna
On 07/11/2013 04:59 AM, Grygorii Strashko wrote: Hi, On 07/11/2013 09:32 AM, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [130710 09:18]: On Wed, Jul 10, 2013 at 07:07:04PM +0300, Felipe Balbi wrote: how about something like below ? It makes omap_device/hwmod and pm_runtime agree on

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-15 Thread Suman Anna
On 07/15/2013 05:01 AM, Rajendra Nayak wrote: On Monday 15 July 2013 12:14 PM, Rajendra Nayak wrote: On Friday 12 July 2013 06:10 AM, Suman Anna wrote: On 07/11/2013 04:59 AM, Grygorii Strashko wrote: Hi, On 07/11/2013 09:32 AM, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [130710 09:18

[PATCHv2 3/5] ARM: dts: OMAP2+: Add mailbox nodes

2013-07-22 Thread Suman Anna
The mailbox DT node data has been added for OMAP2420, OMAP2430, OMAP3430/OMAP3630, OMAP44xx devices. Data for OMAP5 and other SoCs will be added separately. The mailbox static device initialization logic is also adjusted for a DT boot. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot

[PATCHv2 0/5] omap mailbox dt support

2013-07-22 Thread Suman Anna
data - Includes 2 new patches that adds the data for OMAP5. v1: http://marc.info/?l=linux-omapm=137159523405468w=2 Suman Anna (5): mailbox/omap: add a parent structure common to all mboxes mailbox/omap: add support for parsing dt devices ARM: dts: OMAP2+: Add mailbox nodes ARM: OMAP5: hwmod

[PATCHv2 4/5] ARM: OMAP5: hwmod data: Add mailbox data

2013-07-22 Thread Suman Anna
Add the hwmod data for the mailbox IP in OMAP5 SoC. This is needed to be able to enable the OMAP mailbox support for OMAP5. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 42 ++ 1 file changed, 42 insertions(+) diff --git

[PATCHv2 1/5] mailbox/omap: add a parent structure common to all mboxes

2013-07-22 Thread Suman Anna
of single global configuration variables for all h/w instances. Reviewed-by: Russ Dill russ.d...@ti.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap1.c | 27 +--- drivers/mailbox/mailbox-omap2.c | 95 + drivers/mailbox/omap

[PATCHv2 2/5] mailbox/omap: add support for parsing dt devices

2013-07-22 Thread Suman Anna
configuration information. Signed-off-by: Suman Anna s-a...@ti.com --- .../devicetree/bindings/mailbox/omap-mailbox.txt | 43 +++ drivers/mailbox/mailbox-omap2.c| 130 ++--- 2 files changed, 158 insertions(+), 15 deletions(-) create mode 100644 Documentation

[PATCHv2 5/5] ARM: dts: OMAP5: Add mailbox dt node

2013-07-22 Thread Suman Anna
Add the mailbox device DT node for OMAP5 SoC. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index e643620..a08f1ca 100644 --- a/arch/arm/boot

[PATCHv3 0/8] omap mailbox dt

2013-08-06 Thread Suman Anna
://marc.info/?l=linux-omapm=137452880325361w=2 v1: http://marc.info/?l=linux-omapm=137159523405468w=2 [1] http://marc.info/?l=linux-omapm=137581142013093w=2 Suman Anna (8): mailbox/omap: add a parent structure common to all mboxes mailbox/omap: add support for parsing dt devices ARM: dts: OMAP2+: Add

[PATCHv3 2/8] mailbox/omap: add support for parsing dt devices

2013-08-06 Thread Suman Anna
configuration information. Signed-off-by: Suman Anna s-a...@ti.com --- .../devicetree/bindings/mailbox/omap-mailbox.txt | 43 +++ drivers/mailbox/mailbox-omap2.c| 130 ++--- 2 files changed, 158 insertions(+), 15 deletions(-) create mode 100644 Documentation

[PATCHv3 1/8] mailbox/omap: add a parent structure common to all mboxes

2013-08-06 Thread Suman Anna
of single global configuration variables for all h/w instances. Reviewed-by: Russ Dill russ.d...@ti.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap1.c | 27 +--- drivers/mailbox/mailbox-omap2.c | 95 + drivers/mailbox/omap

[PATCHv3 4/8] ARM: OMAP5: hwmod data: Add mailbox data

2013-08-06 Thread Suman Anna
Add the hwmod data for the mailbox IP in OMAP5 SoC. This is needed to be able to enable the OMAP mailbox support for OMAP5. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 42 ++ 1 file changed, 42 insertions(+) diff --git

[PATCHv3 3/8] ARM: dts: OMAP2+: Add mailbox nodes

2013-08-06 Thread Suman Anna
The mailbox DT node data has been added for OMAP2420, OMAP2430, OMAP3430/OMAP3630, OMAP44xx devices. Data for OMAP5 and other SoCs will be added separately. The mailbox static device initialization logic is also adjusted for a DT boot. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot

[PATCHv3 6/8] mailbox/omap: remove omap_mbox_type_t from mailbox ops

2013-08-06 Thread Suman Anna
The type definition omap_mbox_type_t used for distinguishing OMAP1 from OMAP2+ mailboxes does not really belong to the ops, and has been cleaned up. Signed-off-by: Loic Pallardy loic.palla...@st.com Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap1.c | 27

[PATCHv3 7/8] mailbox/omap: add code to support the wkupm3 operations

2013-08-06 Thread Suman Anna
spurious interrupts to the M3. Signed-off-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap2.c | 87 - 1 file changed, 86 insertions(+), 1 deletion(-) diff --git a/drivers/mailbox/mailbox-omap2.c b/drivers/mailbox/mailbox-omap2.c index fef18f4

[PATCHv3 8/8] ARM: dts: AM33xx: Add mailbox node

2013-08-06 Thread Suman Anna
the code. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 38b446b..413dfa56 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot

[PATCHv3 5/8] ARM: dts: OMAP5: Add mailbox dt node

2013-08-06 Thread Suman Anna
Add the mailbox device DT node for OMAP5 SoC. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index e643620..a08f1ca 100644 --- a/arch/arm/boot

Re: [PATCHv3 2/8] mailbox/omap: add support for parsing dt devices

2013-08-07 Thread Suman Anna
type configuration information. Signed-off-by: Suman Anna s-a...@ti.com --- .../devicetree/bindings/mailbox/omap-mailbox.txt | 43 +++ drivers/mailbox/mailbox-omap2.c| 130 ++--- 2 files changed, 158 insertions(+), 15 deletions(-) create mode 100644

Re: [PATCHv3 2/8] mailbox/omap: add support for parsing dt devices

2013-08-07 Thread Suman Anna
On 08/07/2013 12:41 PM, Kumar Gala wrote: On Aug 7, 2013, at 11:59 AM, Suman Anna wrote: Kumar, Logic has been added to the OMAP2+ mailbox code to parse the mailbox dt nodes and construct the different mailboxes associated with the instance. The design is based on gathering the same

Re: [PATCHv3 2/8] mailbox/omap: add support for parsing dt devices

2013-08-08 Thread Suman Anna
On 08/08/2013 09:34 AM, Kumar Gala wrote: On Aug 7, 2013, at 3:08 PM, Suman Anna wrote: On 08/07/2013 12:41 PM, Kumar Gala wrote: On Aug 7, 2013, at 11:59 AM, Suman Anna wrote: Kumar, Logic has been added to the OMAP2+ mailbox code to parse the mailbox dt nodes and construct

Re: [PATCHv3 2/9] ARM: OMAP2+: AM33XX: control: Add some control module registers and APIs

2013-08-14 Thread Suman Anna
Kevin, Santosh, Dave, Russ, On 08/13/2013 02:11 PM, Kevin Hilman wrote: Russ Dill russ.d...@gmail.com writes: ARM world is also moving towards that by standardizing some of these through (read PSCI) and thats the way to go in general. Agreed, but I'm not sure (yet) about enforcing PSCI on

Re: [PATCHv3 2/9] ARM: OMAP2+: AM33XX: control: Add some control module registers and APIs

2013-08-21 Thread Suman Anna
Paul, On 08/20/2013 06:39 PM, Paul Walmsley wrote: Hi a few comments On Wed, 14 Aug 2013, Suman Anna wrote: The remoteproc infrastructure is currently tied closely with the virtio/rpmsg framework, and the boot requires that there are virtio devices present in the resource table from

Re: [PATCH] mailbox: remove unnecessary platform_set_drvdata()

2013-08-23 Thread Suman Anna
. Signed-off-by: Jingoo Han jg1@samsung.com Acked-by: Suman Anna s-a...@ti.com --- drivers/mailbox/mailbox-omap2.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mailbox/mailbox-omap2.c b/drivers/mailbox/mailbox-omap2.c index eba380d..42d2b89 100644 --- a/drivers/mailbox

Re: [PATCHv3 0/8] omap mailbox dt

2013-08-23 Thread Suman Anna
Tony, Benoit, This is an updated series for adding the device tree support to the OMAP mailbox driver. The series is based on 3.11-rc4 and now includes the support for AM335 WkupM3 mailbox. The support for WkupM3 mailbox is essential for achieving the PM Suspend on AM335 devices, and this

Re: [PATCHv3 7/8] mailbox/omap: add code to support the wkupm3 operations

2013-08-27 Thread Suman Anna
Kevin, On 08/26/2013 10:50 PM, Kevin Hilman wrote: Suman Anna s-a...@ti.com writes: The WkupM3 mailbox used for triggering PM operations such as suspend and resume on AM33x/AM43x is special in that the M3 processor cannot access the mailbox registers. However, an interrupt is needed

Re: [PATCHv3 7/8] mailbox/omap: add code to support the wkupm3 operations

2013-08-28 Thread Suman Anna
Kevin, On 08/27/2013 04:25 PM, Kevin Hilman wrote: Suman Anna s-a...@ti.com writes: Kevin, On 08/26/2013 10:50 PM, Kevin Hilman wrote: Suman Anna s-a...@ti.com writes: The WkupM3 mailbox used for triggering PM operations such as suspend and resume on AM33x/AM43x is special

[PATCH 0/2] omap hwspinlock dt support

2013-09-03 Thread Suman Anna
from the MSM HW Mutex driver support series in [1]). [1] https://lkml.org/lkml/2013/8/14/528 Suman Anna (2): hwspinlock/omap: add support for dt nodes ARM: dts: OMAP4: Add hwspinlock node .../devicetree/bindings/hwlock/omap-hwspinlock.txt | 28 ++ arch/arm/boot/dts/omap4.dtsi

[PATCH 1/2] hwspinlock/omap: add support for dt nodes

2013-09-03 Thread Suman Anna
HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing with the traditional platform device instantiation. Signed-off-by: Suman Anna s-a...@ti.com --- .../devicetree

[PATCH 2/2] ARM: dts: OMAP4: Add hwspinlock node

2013-09-03 Thread Suman Anna
Add the hwspinlock device tree node for OMAP4 family of SoCs. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 22d9f2b..a8cc274 100644 --- a/arch

Re: [PATCH 1/2] hwspinlock/omap: add support for dt nodes

2013-09-03 Thread Suman Anna
Kumar, On 09/03/2013 01:50 PM, Kumar Gala wrote: On Sep 3, 2013, at 12:52 PM, Suman Anna wrote: HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing

Re: [PATCH 1/2] hwspinlock/omap: add support for dt nodes

2013-09-03 Thread Suman Anna
Kumar, On 09/03/2013 01:50 PM, Kumar Gala wrote: On Sep 3, 2013, at 12:52 PM, Suman Anna wrote: HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing

Re: [PATCH 1/2] hwspinlock/omap: add support for dt nodes

2013-09-04 Thread Suman Anna
Kumar, HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing with the traditional platform device instantiation. Signed-off-by: Suman Anna s-a...@ti.com

Re: [PATCH 1/2] hwspinlock/omap: add support for dt nodes

2013-09-04 Thread Suman Anna
On 09/04/2013 03:09 AM, Stanimir Varbanov wrote: Hi Suman, Thanks for the patch. On 09/03/2013 08:52 PM, Suman Anna wrote: HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes

Re: [PATCH 1/2] hwspinlock/omap: add support for dt nodes

2013-09-04 Thread Suman Anna
HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing with the traditional platform device instantiation. Signed-off-by: Suman Anna s-a...@ti.com

Re: [PATCH 1/2] hwspinlock/omap: add support for dt nodes

2013-09-04 Thread Suman Anna
On 09/04/2013 12:51 PM, Kumar Gala wrote: On Sep 4, 2013, at 12:03 PM, Suman Anna wrote: HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing

Re: [PATCHv3 7/8] mailbox/omap: add code to support the wkupm3 operations

2013-09-04 Thread Suman Anna
Kevin, Sorry, I couldn't get back earlier due to long weekend. On 08/29/2013 11:57 AM, Kevin Hilman wrote: Suman Anna s-a...@ti.com writes: [...] Yeah, the wkupm3 mbox usage is actually odd (an unfortunate result of the way the hardware is designed) heh, design is a generous term

Re: [PATCHv3 7/8] mailbox/omap: add code to support the wkupm3 operations

2013-09-05 Thread Suman Anna
Kevin, Sorry, I couldn't get back earlier due to long weekend. On 08/29/2013 11:57 AM, Kevin Hilman wrote: Suman Anna s-a...@ti.com writes: [...] Yeah, the wkupm3 mbox usage is actually odd (an unfortunate result of the way the hardware is designed) heh, design is a generous term

  1   2   3   4   5   6   7   >