Commit Graph

2415 Commits

Author SHA1 Message Date
Keyon Jie 677fc76612 ssp: cleanup ssp status
We are using 6 states, 2 of them are substates:
init, idle, running, paused,
draining(sub state when transferring from running to idle)
pausing(substate when transferring from running to paused).

Don't response new command when in substates, only stay in
substates for limited timeout. e.g. 2ms for draing and 1ms
for pausing.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2016-10-24 10:53:15 +01:00
Keyon Jie 991ea7b034 dai: cleanup dai component status
Only use 4 states for dai component:
init, prepare, runing, paused.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2016-10-24 10:53:05 +01:00
Keyon Jie fec488d446 dai: add macros for dai tracing
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2016-10-24 10:52:51 +01:00
Liam Girdwood 446fe1af42 ipc: dma: Correct typo for DMA timeout time and units.
100 usecs not 1 msec

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-20 16:05:12 +01:00
Liam Girdwood 5b33175b11 platform: cht: Add support for CHT DMACs and SSP ports
Make sure we initialise the extra SSPs and DMACs for CHT.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-20 15:51:22 +01:00
Liam Girdwood e00e51697a cht: Add M/N dividers for 19.2MHz
Add some M/N divider entries for 19.2M source clock.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-20 15:51:22 +01:00
Liam Girdwood eb042a4241 dma: Add DMAC2 for CHT
CHT has 3 DMACs compared to the 2 DMACs on BYT

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-20 15:51:22 +01:00
Liam Girdwood 32ebf0f866 dai: add support for CHT SSP ports
CHT has 6 SSP ports compared to 3 on BYT

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-20 15:10:12 +01:00
Liam Girdwood c55a11cdd6 clk: base frequencies for BYT and CHT are different.
Create a table for each platform with the correct frequencies.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-19 15:31:41 +01:00
Liam Girdwood 8855ce5b4a build: fix configure naming to use newlib header directory.
The tool-dir naming was a bit ambiguous so rename and fix build-all.sh
to use new name too.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-18 17:18:16 +01:00
Liam Girdwood 419b086240 configure: use the sof mailing list address
Replace the test email addres with sof mailing list in configure.ac

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-17 16:10:42 +01:00
Liam Girdwood b45d98cee1 dma: set mask on local DSP memory regions.
The DMA controller needs to differentiate between host and DSP memory
regions. This can be done with a mask that is ORed with local DSP memory
locations.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-17 16:10:31 +01:00
Liam Girdwood 0fe9e33143 host: cleanup formatting.
Some lines > 80 chars.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-17 16:10:20 +01:00
Liam Girdwood 04a535d508 rimage: Initial import of rimage firmware tool.
rimage converts ELF binaries to the firmware image file format understood
by the kernel audio drivers.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-07 10:48:49 +01:00
Liam Girdwood c0dfb4e62a core: initial import of open source DSP firmware
This project provides an open source audio firmware infrastructure for audio
DSPs found on many modern devices. The intention is to allow developers to
create their own codecs, audio processing algorithms and pipelines using
the infrastructure and audio components provided by this project.

The project currently supports the Intel Baytrail and Cherrytrail audio DSP
platforms which use the Xtensa architecture.

The firmware source code is released under the BSD 3 clause licence.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-09-22 16:02:43 +01:00