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