summaryrefslogtreecommitdiff
path: root/drivers/firmware/imx/seco_mu.c
AgeCommit message (Collapse)Author
2022-05-18MLK-25649-10 firmware: seco_mu: Add support for identifying SCU wakeup ↵Ranjani Vaidyanathan
source from sysfs Consolidate SCU wakeup defines in the header file. Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com> (cherry picked from commit 215433a807576abc8cafbbb1b64715650ed98224) (cherry picked from commit 7ca430575e9ae034a2c28798fa8dd7b931f0733c)
2021-07-13MLK-25468: seco_mu: hook v2x reset eventFrank Li
after get v2x reset event, return error at read v2x reset after system enter ks1. Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-05-30HSM-292 firmware: imx: seco_mu: Increase MAX_DATA_SIZE_PER_USERHugo Dupras
For AES CMAC, the max supported message length is (2^16)-1. In order to support this type of message the MAX_DATA_SIZE_PER_USER must be increased to bigger value, in order to contains the message header and the entire message data Signed-off-by: Hugo Dupras <hugo.dupras@nxp.com> Reviewed-by: Stéphane Dion <stephane.dion_1@nxp.com>
2020-04-24HSM-267-1: fw: imx: seco_mu: Handle error code in mailbox rx callbackFranck LENORMAND
It is possible the mailbox framework returns an error code if there was an issue when receiving a message. This patch adds the handling of such exception. Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2020-04-23MLK-23635: fw: imx: seco_mu: Fix messages at bootFranck LENORMAND
At boot, the driver can print error messages because it has been deferred so they should not be printed. The driver also prints the version of the SECO which is not useful. This patch fixes the print of messages due to defer and remove the print of the SECO version. Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2020-04-22MLK-23674-3 fw: imx: seco_mu: get message header tags from dtStéphane Dion
In order for a message sent to a V2X MU, the value indication the type of the message chagne for each MU addressed. This patch adds the read of the values from the device tree or uses the default values which works with SECO MU. Signed-off-by: Stéphane Dion <stephane.dion_1@nxp.com>
2020-03-12MLK-23421: fw: imx: seco_mu: Use fast IPCFranck LENORMAND
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2020-02-21LF-824: fw: imx: seco_mu: Add driver for SECOSilvano di Ninno
This patch adds the driver to interact with the different APIs exposed by the SECO using a shared Messaging Unit. The driver exposes some char devices in user space allowing a user to send message to the SECO and read its response. The driver uses the mailbox framework instead of directly configuring the MU. Signed-off-by: Stephane Dion <stephane.dion_1@nxp.com> Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> (cherry picked from commit 4985109d60164c842ee5d189621455db349b5212) (cherry picked from commit eb721810fdc309b6a32a7a64c7686eaa6052cdc7) (cherry picked from commit 4956bbf43349ab40a6a60765752a904d11bfcd18)