#include <dt-bindings/firmware/imx/rsrc.h>
#include <linux/firmware/imx/sci.h>
#include <linux/slab.h>
#include <linux/sys_soc.h>
#include <linux/platform_device.h>
#include <linux/of.h>
static struct imx_sc_ipc *imx_sc_soc_ipc_handle;
struct imx_sc_msg_misc_get_soc_id { … } __packed __aligned(…);
struct imx_sc_msg_misc_get_soc_uid { … } __packed;
static int imx_scu_soc_uid(u64 *soc_uid)
{ … }
static int imx_scu_soc_id(void)
{ … }
static const char *imx_scu_soc_name(u32 id)
{ … }
int imx_scu_soc_init(struct device *dev)
{ … }