diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-05-09 13:56:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-17 15:49:38 +0900 |
commit | b73e93e183089176beed8a3f80e5f618a52e02fc (patch) | |
tree | 82ad82d691dad6eb93d0644f4970e0a3253d6d8e /sound/soc/qcom/qdsp6/q6core.h | |
parent | 3439a083a13981f0da276cb2aeae84bd4e437b2e (diff) | |
download | linux-b73e93e183089176beed8a3f80e5f618a52e02fc.tar.gz linux-b73e93e183089176beed8a3f80e5f618a52e02fc.tar.bz2 linux-b73e93e183089176beed8a3f80e5f618a52e02fc.zip |
ASoC: qdsp6: q6core: Add q6core driver
This patch adds support to core apr service, which is used to query
status of other static and dynamic services on the dsp.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-and-tested-by: Rohit kumar <rohitkr@codeaurora.org>
Acked-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/qdsp6/q6core.h')
-rw-r--r-- | sound/soc/qcom/qdsp6/q6core.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sound/soc/qcom/qdsp6/q6core.h b/sound/soc/qcom/qdsp6/q6core.h new file mode 100644 index 000000000000..4105b1d730be --- /dev/null +++ b/sound/soc/qcom/qdsp6/q6core.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __Q6CORE_H__ +#define __Q6CORE_H__ + +struct q6core_svc_api_info { + uint32_t service_id; + uint32_t api_version; + uint32_t api_branch_version; +}; + +bool q6core_is_adsp_ready(void); +int q6core_get_svc_api_info(int svc_id, struct q6core_svc_api_info *ainfo); + +#endif /* __Q6CORE_H__ */ |