2019-10-16 15:20:46

by Fabien DESSENNE

[permalink] [raw]
Subject: [PATCH 0/2] mailbox: stm32-ipcc: rework wakeup

Remove the dedicated wakeup IRQ as wakeup can be handled by the RX IRQ.

Fabien Dessenne (2):
dt-bindings: mailbox: stm32-ipcc: Updates for wakeup management
mailbox: stm32-ipcc: Update wakeup management

.../devicetree/bindings/mailbox/stm32-ipcc.txt | 4 +--
drivers/mailbox/stm32-ipcc.c | 36 +++++-----------------
2 files changed, 9 insertions(+), 31 deletions(-)

--
2.7.4


2019-10-16 15:22:13

by Fabien DESSENNE

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: mailbox: stm32-ipcc: Updates for wakeup management

The wakeup specific IRQ management is no more needed to wake up the stm32
plaform.

Signed-off-by: Alexandre Torgue <[email protected]>
Signed-off-by: Fabien Dessenne <[email protected]>
---
Documentation/devicetree/bindings/mailbox/stm32-ipcc.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mailbox/stm32-ipcc.txt b/Documentation/devicetree/bindings/mailbox/stm32-ipcc.txt
index 1d2b7fe..139c06a 100644
--- a/Documentation/devicetree/bindings/mailbox/stm32-ipcc.txt
+++ b/Documentation/devicetree/bindings/mailbox/stm32-ipcc.txt
@@ -14,9 +14,9 @@ Required properties:
property. Must contain the following entries:
- "rx"
- "tx"
- - "wakeup"
- interrupts: Interrupt specifiers for "rx channel occupied", "tx channel
- free" and "system wakeup".
+ free". If "wakeup-source" is set the rx interrupt is the
+ one used to wake up the system.
- #mbox-cells: Number of cells required for the mailbox specifier. Must be 1.
The data contained in the mbox specifier of the "mboxes"
property in the client node is the mailbox channel index.
--
2.7.4

2019-10-29 07:21:43

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: mailbox: stm32-ipcc: Updates for wakeup management

On Wed, Oct 16, 2019 at 02:13:48PM +0200, Fabien Dessenne wrote:
> The wakeup specific IRQ management is no more needed to wake up the stm32
> plaform.

typo

>
> Signed-off-by: Alexandre Torgue <[email protected]>
> Signed-off-by: Fabien Dessenne <[email protected]>
> ---
> Documentation/devicetree/bindings/mailbox/stm32-ipcc.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

With that fixed,

Acked-by: Rob Herring <[email protected]>