summaryrefslogtreecommitdiff
path: root/sound/soc/sprd/dai/Kconfig
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /sound/soc/sprd/dai/Kconfig
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'sound/soc/sprd/dai/Kconfig')
-rw-r--r--sound/soc/sprd/dai/Kconfig35
1 files changed, 35 insertions, 0 deletions
diff --git a/sound/soc/sprd/dai/Kconfig b/sound/soc/sprd/dai/Kconfig
new file mode 100644
index 00000000..eb68a154
--- /dev/null
+++ b/sound/soc/sprd/dai/Kconfig
@@ -0,0 +1,35 @@
+menu "SPRD AUDIO DMA"
+config SND_SOC_SPRD_AUDIO_DMA
+ tristate
+
+config SND_SOC_SPRD_AUDIO_DMA_ENGINE
+ bool "Use DMA driver based on dmaengine"
+ depends on DMA_SPRD
+ default y if DMA_SPRD
+ help
+ Say Y if you want to use dma driver based on linux dmaengine.
+
+config SND_SOC_SPRD_AUDIO_BUFFER_USE_IRAM
+ bool "Use IRAM when sound playback"
+ help
+ Say Y if you want use IRAM replacment RAM when playback.
+ sometimes, use IRAM maybe reduce power consumption.
+ but, it will cause system more busy, becuase the buffer smaller.
+
+config SND_SOC_SPRD_IRAM_BACKUP
+ bool "Backup IRAM when sound playback"
+ depends on SND_SOC_SPRD_AUDIO_BUFFER_USE_IRAM
+ help
+ Say Y if you want backup IRAM when playback. sometimes,
+ IRAM maybe shared with other modules,
+ then you need to open this.
+
+config SND_SOC_SPRD_AUDIO_USE_AON_DMA
+ bool "Use AON DMA when sound playback"
+ depends on SND_SOC_SPRD_AUDIO_BUFFER_USE_IRAM && DMA_SPRD && SND_SOC_SPRD_AUDIO_DMA_ENGINE
+ help
+ Say Y if you want to use AON DMA when playback, sometimes,
+ AON DMA maybe reduce power consumption. But AON DMA can only
+ access IRAM, so we must depend on IRAM switch.
+
+endmenu