diff options
| author | Nadine Toledano <nadinet@codeaurora.org> | 2016-03-07 14:40:51 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-25 16:03:11 -0700 |
| commit | f875ef9dcb2f6900f9a50672b31b694c728b42d1 (patch) | |
| tree | 1546d7684a1dde77c35a7afc84f24aa7197b0f50 /include/linux | |
| parent | 740ec9babf9e73c2edeeaf106be2aa9b443e476b (diff) | |
msm: ipa3: Add the ability to set dynamically HPS/DPS seq type
HPS/DPS sequencer type is configured statically for PROD EPs
according to ipa3_ep_mapping table. This change adds the ability
to set a different HPS/DPS sequencer configuration for PRODs,
which mainly be used in testing
CRs-Fixed: 986167
Change-Id: I47dec10e757694596385f5118486603c702fe302
Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ipa.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/ipa.h b/include/linux/ipa.h index 28fe30e430c7..fe99c620b85b 100644 --- a/include/linux/ipa.h +++ b/include/linux/ipa.h @@ -372,6 +372,17 @@ struct ipa_ep_cfg_metadata { }; /** + * struct ipa_ep_cfg_seq - HPS/DPS sequencer type configuration in IPA end-point + * @set_dynamic: 0 - HPS/DPS seq type is configured statically, + * 1 - HPS/DPS seq type is set to seq_type + * @seq_type: HPS/DPS sequencer type configuration + */ +struct ipa_ep_cfg_seq { + bool set_dynamic; + int seq_type; +}; + +/** * struct ipa_ep_cfg - configuration of IPA end-point * @nat: NAT parmeters * @hdr: Header parameters @@ -383,6 +394,7 @@ struct ipa_ep_cfg_metadata { * @cfg: Configuration register data * @metadata_mask: Hdr metadata mask * @meta: Meta Data + * @seq: HPS/DPS sequencers configuration */ struct ipa_ep_cfg { struct ipa_ep_cfg_nat nat; @@ -395,6 +407,7 @@ struct ipa_ep_cfg { struct ipa_ep_cfg_cfg cfg; struct ipa_ep_cfg_metadata_mask metadata_mask; struct ipa_ep_cfg_metadata meta; + struct ipa_ep_cfg_seq seq; }; /** |
