summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Romberger <bromberg@codeaurora.org>2016-09-13 17:32:50 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-26 14:49:54 -0700
commitd8d534980fe9e1fd437db5164b4f1fc6ac0efaa0 (patch)
tree470522d20cee679b6282dc477ae868b50a0a4982
parent626caf4e54864d90e8d104277f9a1446e487c7e1 (diff)
drivers: soc: Add Kconfigs for Audio Notifier, PDR, and SSR
Add separate Kconfigs for the audio SSR, audio PDR, and audio notifier drivers. Allows precise control of different audio recovery mechanisms. Change-Id: I2ab027d4a6e2cb98df5358e24f6bebacd9aecca7 CRs-Fixed: 1054000 Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
-rw-r--r--drivers/soc/qcom/Kconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 9c27344165be..c279e3d81a53 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -571,6 +571,39 @@ config MSM_QDSP6_APRV3_GLINK
QDSP6. APR is used by audio driver to
configure QDSP6v2's ASM, ADM and AFE.
+config MSM_QDSP6_SSR
+ bool "Audio QDSP6 SSR support"
+ depends on MSM_QDSP6_APRV2 || MSM_QDSP6_APRV3 || \
+ MSM_QDSP6_APRV2_GLINK || MSM_QDSP6_APRV3_GLINK
+ help
+ Enable Subsystem Restart. Reset audio
+ clients when the ADSP subsystem is
+ restarted. Subsystem Restart for audio
+ is only used for processes on the ADSP
+ and signals audio drivers through APR.
+
+
+config MSM_QDSP6_PDR
+ bool "Audio QDSP6 PDR support"
+ depends on MSM_QDSP6_APRV2 || MSM_QDSP6_APRV3 || \
+ MSM_QDSP6_APRV2_GLINK || MSM_QDSP6_APRV3_GLINK
+ help
+ Enable Protection Domain Restart. Reset
+ audio clients when a process on the ADSP
+ is restarted. PDR for audio is only used
+ for processes on the ADSP and signals
+ audio drivers through APR.
+
+config MSM_QDSP6_NOTIFIER
+ bool "Audio QDSP6 PDR support"
+ depends on MSM_QDSP6_SSR || MSM_QDSP6_PDR
+ help
+ Enable notifier which decides whether
+ to use SSR or PDR and notifies all
+ audio clients of the event. Both SSR
+ and PDR are recovery methods when
+ there is a crash on ADSP. Audio drivers
+ are contacted by ADSP through APR.
config MSM_ADSP_LOADER
tristate "ADSP loader support"