blob: 6c16c895d84296733730857cdea39564939e31a4 [file] [log] [blame]
Alex Eldercdf2e942020-03-05 22:28:17 -06001/* SPDX-License-Identifier: GPL-2.0 */
2
3/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
5 */
6#ifndef _IPA_VERSION_H_
7#define _IPA_VERSION_H_
8
9/**
10 * enum ipa_version
Alex Eldereb094572021-03-24 08:15:24 -050011 * @IPA_VERSION_3_0: IPA version 3.0/GSI version 1.0
12 * @IPA_VERSION_3_1: IPA version 3.1/GSI version 1.1
13 * @IPA_VERSION_3_5: IPA version 3.5/GSI version 1.2
14 * @IPA_VERSION_3_5_1: IPA version 3.5.1/GSI version 1.3
15 * @IPA_VERSION_4_0: IPA version 4.0/GSI version 2.0
16 * @IPA_VERSION_4_1: IPA version 4.1/GSI version 2.0
17 * @IPA_VERSION_4_2: IPA version 4.2/GSI version 2.2
18 * @IPA_VERSION_4_5: IPA version 4.5/GSI version 2.5
19 * @IPA_VERSION_4_7: IPA version 4.7/GSI version 2.7
20 * @IPA_VERSION_4_9: IPA version 4.9/GSI version 2.9
21 * @IPA_VERSION_4_11: IPA version 4.11/GSI version 2.11 (2.1.1)
Alex Eldercdf2e942020-03-05 22:28:17 -060022 *
23 * Defines the version of IPA (and GSI) hardware present on the platform.
Alex Elder2e3cf97f2021-06-11 15:39:40 -050024 * Please update ipa_version_valid() and ipa_version_string() whenever a
25 * new version is added.
Alex Eldercdf2e942020-03-05 22:28:17 -060026 */
27enum ipa_version {
Alex Eldereb094572021-03-24 08:15:24 -050028 IPA_VERSION_3_0,
29 IPA_VERSION_3_1,
30 IPA_VERSION_3_5,
31 IPA_VERSION_3_5_1,
32 IPA_VERSION_4_0,
33 IPA_VERSION_4_1,
34 IPA_VERSION_4_2,
35 IPA_VERSION_4_5,
36 IPA_VERSION_4_7,
37 IPA_VERSION_4_9,
38 IPA_VERSION_4_11,
Alex Eldercdf2e942020-03-05 22:28:17 -060039};
40
41#endif /* _IPA_VERSION_H_ */