1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* Copyright 2013-2015 Freescale Semiconductor Inc. 3 */ 4#ifndef __FSL_DPMNG_H 5#define __FSL_DPMNG_H 6 7/* Management Complex General API 8 * Contains general API for the Management Complex firmware 9 */ 10 11struct fsl_mc_io; 12 13/** 14 * Management Complex firmware version information 15 */ 16#define MC_VER_MAJOR 9 17#define MC_VER_MINOR 0 18 19/** 20 * struct mc_versoin 21 * @major: Major version number: incremented on API compatibility changes 22 * @minor: Minor version number: incremented on API additions (that are 23 * backward compatible); reset when major version is incremented 24 * @revision: Internal revision number: incremented on implementation changes 25 * and/or bug fixes that have no impact on API 26 */ 27struct mc_version { 28 uint32_t major; 29 uint32_t minor; 30 uint32_t revision; 31}; 32 33int mc_get_version(struct fsl_mc_io *mc_io, uint32_t cmd_flags, struct mc_version *mc_ver_info); 34 35#endif /* __FSL_DPMNG_H */ 36