1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 5 */ 6 #ifndef _IPA_VERSION_H_ 7 #define _IPA_VERSION_H_ 8 9 #include <linux/types.h> 10 11 /** 12 * enum ipa_version 13 * @IPA_VERSION_3_0: IPA version 3.0/GSI version 1.0 14 * @IPA_VERSION_3_1: IPA version 3.1/GSI version 1.0 15 * @IPA_VERSION_3_5: IPA version 3.5/GSI version 1.2 16 * @IPA_VERSION_3_5_1: IPA version 3.5.1/GSI version 1.3 17 * @IPA_VERSION_4_0: IPA version 4.0/GSI version 2.0 18 * @IPA_VERSION_4_1: IPA version 4.1/GSI version 2.0 19 * @IPA_VERSION_4_2: IPA version 4.2/GSI version 2.2 20 * @IPA_VERSION_4_5: IPA version 4.5/GSI version 2.5 21 * @IPA_VERSION_4_7: IPA version 4.7/GSI version 2.7 22 * @IPA_VERSION_4_9: IPA version 4.9/GSI version 2.9 23 * @IPA_VERSION_4_11: IPA version 4.11/GSI version 2.11 (2.1.1) 24 * @IPA_VERSION_5_0: IPA version 5.0/GSI version 3.0 25 * @IPA_VERSION_5_1: IPA version 5.1/GSI version 3.0 26 * @IPA_VERSION_5_5: IPA version 5.5/GSI version 5.5 27 * @IPA_VERSION_COUNT: Number of defined IPA versions 28 * 29 * Defines the version of IPA (and GSI) hardware present on the platform. 30 * Please update ipa_version_string() whenever a new version is added. 31 */ 32 enum ipa_version { 33 IPA_VERSION_3_0, 34 IPA_VERSION_3_1, 35 IPA_VERSION_3_5, 36 IPA_VERSION_3_5_1, 37 IPA_VERSION_4_0, 38 IPA_VERSION_4_1, 39 IPA_VERSION_4_2, 40 IPA_VERSION_4_5, 41 IPA_VERSION_4_7, 42 IPA_VERSION_4_9, 43 IPA_VERSION_4_11, 44 IPA_VERSION_5_0, 45 IPA_VERSION_5_1, 46 IPA_VERSION_5_5, 47 IPA_VERSION_COUNT, /* Last; not a version */ 48 }; 49 50 /* Execution environment IDs */ 51 enum gsi_ee_id { 52 GSI_EE_AP = 0x0, 53 GSI_EE_MODEM = 0x1, 54 GSI_EE_UC = 0x2, 55 GSI_EE_TZ = 0x3, 56 }; 57 58 #endif /* _IPA_VERSION_H_ */ 59