summaryrefslogtreecommitdiff
path: root/ipa_reg-v3.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipa_reg-v3.0.c')
-rw-r--r--ipa_reg-v3.0.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/ipa_reg-v3.0.c b/ipa_reg-v3.0.c
new file mode 100644
index 0000000..523a85a
--- /dev/null
+++ b/ipa_reg-v3.0.c
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include "linux.h"
+#include "ipa_reg_new.h"
+
+static const u32 ipa_reg_comp_cfg_field[] = {
+ [COMP_CFG_ENABLE] = BIT(0),
+ [COMP_CFG_GSI_SNOC_BYPASS_DIS] = BIT(1),
+ [COMP_CFG_GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2),
+ [COMP_CFG_GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3),
+ [COMP_CFG_IPA_DCMP_FAST_CLK_EN] = BIT(4),
+ /* Bits 5-31 reserved */
+};
+IPA_REG_FIELDS(COMP_CFG, comp_cfg, 0x0000003c);
+
+static const struct ipa_reg *ipa_reg[] = {
+ [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
+};
+
+const struct ipa_regs ipa_regs_v3_0 = {
+ .reg_count = ARRAY_SIZE(ipa_reg),
+ .reg = ipa_reg,
+};