summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | ASoC: wm_adsp: Add initialisation function for ADSP1Mark Brown2013-01-161-0/+8
| | | | | | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: wm_adsp: Add basic firmware selection supportMark Brown2013-01-121-2/+73
| | | | | | | | | | | | | | | | There are many firmwares available for ADSP devices. Add basic support for selecting between them, including a couple of feature sets in the set of available firmware to start off with. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: wm_adsp: Implement support for algorithm-specific coefficient blocksMark Brown2013-01-081-4/+110
| | | | | | | | | | | | | | | | | | WMDR coefficient files can specify coefficients in terms of algorithm specific data regions. Record the start addresses of these regions while parsing the algorithms and then use them to handle coefficients with these formats. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: wm_asdp: Validate sanity of algorithm countMark Brown2013-01-081-2/+15
| | | | | | | | | | | | | | If we run into I/O problems the algorithm count may be crazy, validate it before we proceed and dump the read data for diagnostic purposes. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: wm_adsp: Factor out calculation of memory base addressesMark Brown2013-01-081-5/+25
| | | | | | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: wm_adsp: Add support for parsing algorithmsMark Brown2013-01-081-0/+143
|/ | | | | | | | ADSP devices report information on the algorithms loaded on them. Parse this data and use it to allow coefficients to be configured for specific algorithms. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* Merge remote-tracking branch 'asoc/topic/arizona' into asoc-nextMark Brown2012-12-101-0/+33
|\
| * ASoC: adsp: Set DSP clock rate to SYSCLK rateMark Brown2012-12-031-0/+22
| | | | | | | | | | | | For simplicity always run the DSP at the SYSCLK rate. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * ASoC: adsp: Keep ADSP2 memory powered off when not in useMark Brown2012-12-031-0/+11
| | | | | | | | | | | | | | Turn off the ADSP memory when we aren't using it, saving a small amount of power. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: arizona: Add parenthesesMark Brown2012-11-291-1/+1
| | | | | | | | | | | | | | Some compiler versions complain. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: wm_adsp: Set the core enable as well as start bit for ADSP2Mark Brown2012-11-281-3/+5
|/ | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: wm_adsp: Enable DVFS for ADSP2Mark Brown2012-11-281-2/+95
| | | | | | | | Some ADSP devices can make use of DVFS to optimise power consumption depending on the operating frequency of the DSP core. Implement support for this in the generic ADSP code. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: adsp: Add ADSP base supportMark Brown2012-10-281-0/+571
Many current Wolfson devices feature DSPs based around an architecture known as ADSP. Since there is a lot of commonality in the system integration of these devices a common library will be used to provide support for them. This version provides equivalent support for ADSP1 to that currently included in the WM2200 driver. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
OpenPOWER on IntegriCloud