1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
3 * Copyright 2013-2016 Freescale Semiconductor Inc.
8 #ifndef __FSL_DPMNG_CMD_H
9 #define __FSL_DPMNG_CMD_H
11 /* Command versioning */
12 #define DPMNG_CMD_BASE_VERSION 1
13 #define DPMNG_CMD_ID_OFFSET 4
15 #define DPMNG_CMD(id) ((id << DPMNG_CMD_ID_OFFSET) | DPMNG_CMD_BASE_VERSION)
18 #define DPMNG_CMDID_GET_VERSION DPMNG_CMD(0x831)
19 #define DPMNG_CMDID_GET_SOC_VERSION DPMNG_CMD(0x832)
22 struct dpmng_rsp_get_version {
24 uint32_t version_major;
25 uint32_t version_minor;
28 struct dpmng_rsp_get_soc_version {
35 #endif /* __FSL_DPMNG_CMD_H */