Blame view

include/imx_m4_mu.h 487 Bytes
b5c9636a9   Ye Li   MLK-20886-1 misc:...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  // SPDX-License-Identifier: GPL-2.0
  /*
   * Copyright 2019 NXP
   *
   */
  
  #ifndef __IMX_M4_MU_H__
  #define __IMX_M4_MU_H__
  
  enum imx_m4_msg_type {
  	MU_MSG_REQ		= 0x1, /* request message sent from A side */
  	MU_MSG_RESP		= 0x2, /* response message from B side for request */
  	MU_MSG_READY_A	= 0x3, /* A side notifies ready */
  	MU_MSG_READY_B	= 0x4, /* B side notifies ready */
  };
  
  union imx_m4_msg {
  	struct {
  		u32 seq;
  		u32 type;
  		u32 buffer;
  		u32 size;
  	} format;
  	u32 data[4];
  };
  #endif