mbox series

[0/3] mailbox: imx: support i.MX95 ELE/V2X MU

Message ID 20240122-imx-mailbox-v1-0-81413f655210@nxp.com (mailing list archive)
Headers show
Series mailbox: imx: support i.MX95 ELE/V2X MU | expand

Message

Peng Fan (OSS) Jan. 22, 2024, 2:06 a.m. UTC
- Add dt-bindings
- i.MX95 ELE/V2X use same register layout as i.MX8ULP S4 MU, but
  the TR/RR num is different. To make code reusable and not add too much
  macros, add runtime detect number of TR and RR by reading PAR_OFF
  registers.
- Add i.MX95 ELE/V2X MU entry in driver

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (3):
      dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible
      mailbox: imx: get RR/TR registers num from Parameter register
      mailbox: imx: support i.MX95 ELE/V2X MU

 .../devicetree/bindings/mailbox/fsl,mu.yaml        |  8 +++-
 drivers/mailbox/imx-mailbox.c                      | 48 +++++++++++++++++-----
 2 files changed, 43 insertions(+), 13 deletions(-)
---
base-commit: ad5c60d66016e544c51ed98635a74073f761f45d
change-id: 20240122-imx-mailbox-243021d12030

Best regards,

Comments

Peng Fan Jan. 22, 2024, 2:34 a.m. UTC | #1
Sorry, please ignore this patchset, button pushed early.

Thanks,
Peng.

> Subject: [PATCH 0/3] mailbox: imx: support i.MX95 ELE/V2X MU
> 
> - Add dt-bindings
> - i.MX95 ELE/V2X use same register layout as i.MX8ULP S4 MU, but
>   the TR/RR num is different. To make code reusable and not add too much
>   macros, add runtime detect number of TR and RR by reading PAR_OFF
>   registers.
> - Add i.MX95 ELE/V2X MU entry in driver
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> Peng Fan (3):
>       dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible
>       mailbox: imx: get RR/TR registers num from Parameter register
>       mailbox: imx: support i.MX95 ELE/V2X MU
> 
>  .../devicetree/bindings/mailbox/fsl,mu.yaml        |  8 +++-
>  drivers/mailbox/imx-mailbox.c                      | 48 +++++++++++++++++-----
>  2 files changed, 43 insertions(+), 13 deletions(-)
> ---
> base-commit: ad5c60d66016e544c51ed98635a74073f761f45d
> change-id: 20240122-imx-mailbox-243021d12030
> 
> Best regards,
> --
> Peng Fan <peng.fan@nxp.com>