diff options
Diffstat (limited to 'include/soc/imx8/sc/scfw.h')
-rw-r--r-- | include/soc/imx8/sc/scfw.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/soc/imx8/sc/scfw.h b/include/soc/imx8/sc/scfw.h new file mode 100644 index 000000000000..3c77c69f7f89 --- /dev/null +++ b/include/soc/imx8/sc/scfw.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017 NXP + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _SC_SCFW_H +#define _SC_SCFW_H + +#include <linux/types.h> + +/*! + * This type is used to declare a handle for an IPC communication + * channel. Its meaning is specific to the IPC implementation. + */ +typedef uint32_t sc_ipc_t; + +/*! + * This type is used to declare an ID for an IPC communication + * channel. Its meaning is specific to the IPC implementation. + */ +typedef uint32_t sc_ipc_id_t; + +/*! + * This function returns the MU channel ID for this implementation + * + * @param[in] ipc pointer to Mu channel ID + * @return Returns an error code (SC_ERR_NONE = success, SC_ERR_IPC + * otherwise). + */ +int sc_ipc_getMuID(uint32_t *mu_id); + +#endif |