Blame view
include/linux/imx_rpmsg.h
1001 Bytes
f16cb6945 MLK-11286-1 ARM: ... |
1 2 |
/* * Copyright (C) 2015 Freescale Semiconductor, Inc. |
baa8b64ae MLK-13733-3 regul... |
3 |
* Copyright (C) 2017 NXP. |
f16cb6945 MLK-11286-1 ARM: ... |
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
*/ /* * The code contained herein is licensed under the GNU Lesser General * Public License. You may obtain a copy of the GNU Lesser General * Public License Version 2.1 or later at the following locations: * * http://www.opensource.org/licenses/lgpl-license.html * http://www.gnu.org/copyleft/lgpl.html */ /* * @file linux/imx_rpmsg.h * * @brief Global header file for imx RPMSG * * @ingroup RPMSG */ #ifndef __LINUX_IMX_RPMSG_H__ #define __LINUX_IMX_RPMSG_H__ |
baa8b64ae MLK-13733-3 regul... |
24 25 26 27 |
/* Category define */ #define IMX_RMPSG_LIFECYCLE 1 #define IMX_RPMSG_PMIC 2 #define IMX_RPMSG_AUDIO 3 |
f8c447594 MLK-14619 input: ... |
28 |
#define IMX_RPMSG_KEY 4 |
1fe434548 MLK-16564-01 gpio... |
29 |
#define IMX_RPMSG_GPIO 5 |
f45596950 MLK-17293-1 rtc: ... |
30 |
#define IMX_RPMSG_RTC 6 |
c27af7205 MLK-17837-01 inpu... |
31 |
#define IMX_RPMSG_SENSOR 7 |
baa8b64ae MLK-13733-3 regul... |
32 33 34 35 36 37 38 39 40 41 42 43 |
/* rpmsg version */ #define IMX_RMPSG_MAJOR 1 #define IMX_RMPSG_MINOR 0 struct imx_rpmsg_head { u8 cate; u8 major; u8 minor; u8 type; u8 cmd; u8 reserved[5]; } __attribute__ ((packed)); |
f16cb6945 MLK-11286-1 ARM: ... |
44 |
#endif /* __LINUX_IMX_RPMSG_H__ */ |