Commit 393a53cb authored by Daniel Mack's avatar Daniel Mack Committed by Mark Brown

ASoC: enable 192KHz support for McASP

Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent ddffeb8c
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "davinci-pcm.h" #include "davinci-pcm.h"
#define DAVINCI_MCASP_RATES SNDRV_PCM_RATE_8000_96000 #define DAVINCI_MCASP_RATES SNDRV_PCM_RATE_8000_192000
#define DAVINCI_MCASP_I2S_DAI 0 #define DAVINCI_MCASP_I2S_DAI 0
#define DAVINCI_MCASP_DIT_DAI 1 #define DAVINCI_MCASP_DIT_DAI 1
......
...@@ -67,13 +67,9 @@ static struct snd_pcm_hardware pcm_hardware_playback = { ...@@ -67,13 +67,9 @@ static struct snd_pcm_hardware pcm_hardware_playback = {
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME| SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME|
SNDRV_PCM_INFO_BATCH), SNDRV_PCM_INFO_BATCH),
.formats = DAVINCI_PCM_FMTBITS, .formats = DAVINCI_PCM_FMTBITS,
.rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | .rates = SNDRV_PCM_RATE_8000_192000 | SNDRV_PCM_RATE_KNOT,
SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |
SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |
SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 |
SNDRV_PCM_RATE_KNOT),
.rate_min = 8000, .rate_min = 8000,
.rate_max = 96000, .rate_max = 192000,
.channels_min = 2, .channels_min = 2,
.channels_max = 384, .channels_max = 384,
.buffer_bytes_max = 128 * 1024, .buffer_bytes_max = 128 * 1024,
...@@ -90,13 +86,9 @@ static struct snd_pcm_hardware pcm_hardware_capture = { ...@@ -90,13 +86,9 @@ static struct snd_pcm_hardware pcm_hardware_capture = {
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_PAUSE |
SNDRV_PCM_INFO_BATCH), SNDRV_PCM_INFO_BATCH),
.formats = DAVINCI_PCM_FMTBITS, .formats = DAVINCI_PCM_FMTBITS,
.rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | .rates = SNDRV_PCM_RATE_8000_192000 | SNDRV_PCM_RATE_KNOT,
SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |
SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |
SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 |
SNDRV_PCM_RATE_KNOT),
.rate_min = 8000, .rate_min = 8000,
.rate_max = 96000, .rate_max = 192000,
.channels_min = 2, .channels_min = 2,
.channels_max = 384, .channels_max = 384,
.buffer_bytes_max = 128 * 1024, .buffer_bytes_max = 128 * 1024,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment