1 /* Copyright 2013-2015 Freescale Semiconductor Inc.
2  *
3  * SPDX-License-Identifier:	GPL-2.0+
4  */
5 #ifndef __FSL_DPMNG_CMD_H
6 #define __FSL_DPMNG_CMD_H
7 
8 /* Command IDs */
9 #define DPMNG_CMDID_GET_VERSION			0x831
10 
11 /*                cmd, param, offset, width, type, arg_name */
12 #define DPMNG_RSP_GET_VERSION(cmd, mc_ver_info) \
13 do { \
14 	MC_RSP_OP(cmd, 0, 0,  32, uint32_t, mc_ver_info->revision); \
15 	MC_RSP_OP(cmd, 0, 32, 32, uint32_t, mc_ver_info->major); \
16 	MC_RSP_OP(cmd, 1, 0,  32, uint32_t, mc_ver_info->minor); \
17 } while (0)
18 
19 #endif /* __FSL_DPMNG_CMD_H */
20