diff options
author | Alex Elder <elder@linaro.org> | 2022-07-14 18:41:53 -0500 |
---|---|---|
committer | Alex Elder <elder@linaro.org> | 2022-07-14 18:41:53 -0500 |
commit | 582825eec2f178046071541ab83b763185de8094 (patch) | |
tree | 59770aa0e5d018248e397deca3c023ce5c72e337 | |
parent | 8b0f737b8f9c658d4715c8028badb050daa530ee (diff) |
regs: define the IPA_REG_IRQ_SUSPEND* registers
Define the IPA_REG_IRQ_SUSPEND* register offsets each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
-rw-r--r-- | ipa_reg-v3.0.c | 3 | ||||
-rw-r--r-- | ipa_reg-v3.1.c | 9 | ||||
-rw-r--r-- | ipa_reg-v3.5.1.c | 9 | ||||
-rw-r--r-- | ipa_reg-v3.5.c | 9 | ||||
-rw-r--r-- | ipa_reg-v4.0.c | 9 | ||||
-rw-r--r-- | ipa_reg-v4.1.c | 9 | ||||
-rw-r--r-- | ipa_reg-v4.11.c | 9 | ||||
-rw-r--r-- | ipa_reg-v4.2.c | 9 | ||||
-rw-r--r-- | ipa_reg-v4.5.c | 9 | ||||
-rw-r--r-- | ipa_reg-v4.7.c | 9 | ||||
-rw-r--r-- | ipa_reg-v4.9.c | 9 | ||||
-rw-r--r-- | ipa_reg_new.h | 3 |
12 files changed, 96 insertions, 0 deletions
diff --git a/ipa_reg-v3.0.c b/ipa_reg-v3.0.c index 07aa1e8..2b2a5cf 100644 --- a/ipa_reg-v3.0.c +++ b/ipa_reg-v3.0.c @@ -372,6 +372,8 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003098 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -423,6 +425,7 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, }; const struct ipa_regs ipa_regs_v3_0 = { diff --git a/ipa_reg-v3.1.c b/ipa_reg-v3.1.c index d5e1dea..4d21661 100644 --- a/ipa_reg-v3.1.c +++ b/ipa_reg-v3.1.c @@ -372,6 +372,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -423,6 +429,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v3_1 = { diff --git a/ipa_reg-v3.5.1.c b/ipa_reg-v3.5.1.c index 42d1fdb..c9e3395 100644 --- a/ipa_reg-v3.5.1.c +++ b/ipa_reg-v3.5.1.c @@ -408,6 +408,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -462,6 +468,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v3_5_1 = { diff --git a/ipa_reg-v3.5.c b/ipa_reg-v3.5.c index d373373..ae3d5ea 100644 --- a/ipa_reg-v3.5.c +++ b/ipa_reg-v3.5.c @@ -407,6 +407,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -462,6 +468,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v3_5 = { diff --git a/ipa_reg-v4.0.c b/ipa_reg-v4.0.c index a620529..84da39a 100644 --- a/ipa_reg-v4.0.c +++ b/ipa_reg-v4.0.c @@ -434,6 +434,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -488,6 +494,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v4_0 = { diff --git a/ipa_reg-v4.1.c b/ipa_reg-v4.1.c index 5d0c8e4..5c34c82 100644 --- a/ipa_reg-v4.1.c +++ b/ipa_reg-v4.1.c @@ -434,6 +434,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -488,6 +494,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v4_1 = { diff --git a/ipa_reg-v4.11.c b/ipa_reg-v4.11.c index 8e630c6..87763aa 100644 --- a/ipa_reg-v4.11.c +++ b/ipa_reg-v4.11.c @@ -457,6 +457,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000401c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00004030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00004034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00004038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -513,6 +519,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v4_11 = { diff --git a/ipa_reg-v4.2.c b/ipa_reg-v4.2.c index f5f12ac..dd2f56b 100644 --- a/ipa_reg-v4.2.c +++ b/ipa_reg-v4.2.c @@ -437,6 +437,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -492,6 +498,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v4_2 = { diff --git a/ipa_reg-v4.5.c b/ipa_reg-v4.5.c index f1733ac..daf11bc 100644 --- a/ipa_reg-v4.5.c +++ b/ipa_reg-v4.5.c @@ -451,6 +451,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -507,6 +513,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v4_5 = { diff --git a/ipa_reg-v4.7.c b/ipa_reg-v4.7.c index edb655e..234a24b 100644 --- a/ipa_reg-v4.7.c +++ b/ipa_reg-v4.7.c @@ -452,6 +452,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000301c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00003030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00003034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00003038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -508,6 +514,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v4_7 = { diff --git a/ipa_reg-v4.9.c b/ipa_reg-v4.9.c index a422814..a1b20c4 100644 --- a/ipa_reg-v4.9.c +++ b/ipa_reg-v4.9.c @@ -457,6 +457,12 @@ static const u32 ipa_reg_irq_uc_field[] = { }; IPA_REG_FIELDS(IRQ_UC, irq_uc, 0x0000401c + 0x1000 * GSI_EE_AP); +IPA_REG(IRQ_SUSPEND_INFO, irq_suspend_info, 0x00004030 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_EN, irq_suspend_en, 0x00004034 + 0x1000 * GSI_EE_AP); + +IPA_REG(IRQ_SUSPEND_CLR, irq_suspend_clr, 0x00004038 + 0x1000 * GSI_EE_AP); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -513,6 +519,9 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_IRQ_EN] = &ipa_reg_irq_en, [IPA_REG_IRQ_CLR] = &ipa_reg_irq_clr, [IPA_REG_IRQ_UC] = &ipa_reg_irq_uc, + [IPA_REG_IRQ_SUSPEND_INFO] = &ipa_reg_irq_suspend_info, + [IPA_REG_IRQ_SUSPEND_EN] = &ipa_reg_irq_suspend_en, + [IPA_REG_IRQ_SUSPEND_CLR] = &ipa_reg_irq_suspend_clr, }; const struct ipa_regs ipa_regs_v4_9 = { diff --git a/ipa_reg_new.h b/ipa_reg_new.h index 1775214..2f8d7a6 100644 --- a/ipa_reg_new.h +++ b/ipa_reg_new.h @@ -66,6 +66,9 @@ enum ipa_reg_name { IPA_REG_IRQ_EN, /* GSI_EE_AP only */ IPA_REG_IRQ_CLR, /* GSI_EE_AP only */ IPA_REG_IRQ_UC, /* GSI_EE_AP only */ + IPA_REG_IRQ_SUSPEND_INFO, /* GSI_EE_AP only */ + IPA_REG_IRQ_SUSPEND_EN, /* GSI_EE_AP only, IPA v3.1+ */ + IPA_REG_IRQ_SUSPEND_CLR, /* GSI_EE_AP only, IPA v3.1+ */ }; #define IPA_REG(__NAME, __name, __offset) \ |