blob: 33f84f39bb94cc788b261c2c2956861560def85d [file] [log] [blame]
Prabhakar Kushwahaa2a55e52015-03-19 09:20:45 -07001/* Copyright 2013-2015 Freescale Semiconductor Inc.
J. German Rivera7b3bd9a2015-01-06 13:19:02 -08002 *
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
J. German Rivera7b3bd9a2015-01-06 13:19:02 -080010
11/* cmd, param, offset, width, type, arg_name */
12#define DPMNG_RSP_GET_VERSION(cmd, mc_ver_info) \
13do { \
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
J. German Rivera7b3bd9a2015-01-06 13:19:02 -080019#endif /* __FSL_DPMNG_CMD_H */