mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
5b6cd69e89
Update "ipa_reg.h" so that register definitions support IPA hardware version 4.5, in addition to versions 3.5.1 through v4.2. Most of the register definitions are the same, but in some cases fields are added, changed, or eliminated. Updates for a few IPA v4.5 registers are more complex, and adding those definition will be deferred to separate patches. This patch only updates the register offset and field definitions, and adds informational comments. The only code change avoids accessing the backward compatibility register for IPA version 4.5 in ipa_hardware_config(). Other IPA v4.5-specific code changes will come later. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
25 lines
665 B
C
25 lines
665 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
|
|
* Copyright (C) 2019-2020 Linaro Ltd.
|
|
*/
|
|
#ifndef _IPA_VERSION_H_
|
|
#define _IPA_VERSION_H_
|
|
|
|
/**
|
|
* enum ipa_version
|
|
*
|
|
* Defines the version of IPA (and GSI) hardware present on the platform.
|
|
* It seems this might be better defined elsewhere, but having it here gets
|
|
* it where it's needed.
|
|
*/
|
|
enum ipa_version {
|
|
IPA_VERSION_3_5_1, /* GSI version 1.3.0 */
|
|
IPA_VERSION_4_0, /* GSI version 2.0 */
|
|
IPA_VERSION_4_1, /* GSI version 2.1 */
|
|
IPA_VERSION_4_2, /* GSI version 2.2 */
|
|
IPA_VERSION_4_5, /* GSI version 2.5 */
|
|
};
|
|
|
|
#endif /* _IPA_VERSION_H_ */
|