2023-09-17 14:01:03

by Peng Fan (OSS)

[permalink] [raw]
Subject: [PATCH 0/2] mailbox: imx: support new tx doorbell

The new added channel type is for i.MX95 SCMI mailbox usage.

i.MX95 using TX doorbell and RX doorbell for the SCMI mailbox transport.
For TX doorbell, we relies on software reply from the other side in
SCMI driver side using mbox_client_txdone to drive the tx tick.

But the current MU tx doorbell using tasklet to emulate hardware ACK
from mailbox driver side, so add a new doorbell type to support i.MX95
SCMI mailbox transport.

Signed-off-by: Peng Fan <[email protected]>
---
Peng Fan (2):
dt-bindings: mailbox: fsl,mu: add new tx doorbell channel
mailbox: imx: support channel type tx doorbell v2

.../devicetree/bindings/mailbox/fsl,mu.yaml | 5 ++--
drivers/mailbox/imx-mailbox.c | 32 ++++++++++++++++++++--
2 files changed, 32 insertions(+), 5 deletions(-)
---
base-commit: e143016b56ecb0fcda5bb6026b0a25fe55274f56
change-id: 20230916-imx95-mbox-88437c51ce54

Best regards,
--
Peng Fan <[email protected]>


2023-10-11 23:32:26

by Peng Fan

[permalink] [raw]
Subject: RE: [PATCH 0/2] mailbox: imx: support new tx doorbell

Hi Jassi,

> Subject: [PATCH 0/2] mailbox: imx: support new tx doorbell

Would you pick up this patchset? Or any comments?

Thanks,
Peng.

>
> The new added channel type is for i.MX95 SCMI mailbox usage.
>
> i.MX95 using TX doorbell and RX doorbell for the SCMI mailbox transport.
> For TX doorbell, we relies on software reply from the other side in SCMI driver
> side using mbox_client_txdone to drive the tx tick.
>
> But the current MU tx doorbell using tasklet to emulate hardware ACK from
> mailbox driver side, so add a new doorbell type to support i.MX95 SCMI
> mailbox transport.
>
> Signed-off-by: Peng Fan <[email protected]>
> ---
> Peng Fan (2):
> dt-bindings: mailbox: fsl,mu: add new tx doorbell channel
> mailbox: imx: support channel type tx doorbell v2
>
> .../devicetree/bindings/mailbox/fsl,mu.yaml | 5 ++--
> drivers/mailbox/imx-mailbox.c | 32 ++++++++++++++++++++--
> 2 files changed, 32 insertions(+), 5 deletions(-)
> ---
> base-commit: e143016b56ecb0fcda5bb6026b0a25fe55274f56
> change-id: 20230916-imx95-mbox-88437c51ce54
>
> Best regards,
> --
> Peng Fan <[email protected]>

2023-10-12 12:27:05

by Daniel Baluta

[permalink] [raw]
Subject: Re: [PATCH 0/2] mailbox: imx: support new tx doorbell

On Sun, Sep 17, 2023 at 7:55 PM Peng Fan (OSS) <[email protected]> wrote:
>
> The new added channel type is for i.MX95 SCMI mailbox usage.
>
> i.MX95 using TX doorbell and RX doorbell for the SCMI mailbox transport.
> For TX doorbell, we relies on software reply from the other side in
> SCMI driver side using mbox_client_txdone to drive the tx tick.
>
> But the current MU tx doorbell using tasklet to emulate hardware ACK
> from mailbox driver side, so add a new doorbell type to support i.MX95
> SCMI mailbox transport.
>
> Signed-off-by: Peng Fan <[email protected]>

Reviewed-by: Daniel Baluta <[email protected]>


> ---
> Peng Fan (2):
> dt-bindings: mailbox: fsl,mu: add new tx doorbell channel
> mailbox: imx: support channel type tx doorbell v2
>
> .../devicetree/bindings/mailbox/fsl,mu.yaml | 5 ++--
> drivers/mailbox/imx-mailbox.c | 32 ++++++++++++++++++++--
> 2 files changed, 32 insertions(+), 5 deletions(-)
> ---
> base-commit: e143016b56ecb0fcda5bb6026b0a25fe55274f56
> change-id: 20230916-imx95-mbox-88437c51ce54
>
> Best regards,
> --
> Peng Fan <[email protected]>
>