Commit Graph

399 Commits

Author SHA1 Message Date
Curtis Malainey f18a895aec Update sof-byt-rt5651
Correct graph

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:09:50 -08:00
Curtis Malainey adf6db4d85 Update sof-byt-rt5645 graph
update graph to represent code

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:09:40 -08:00
Curtis Malainey 141493604a Update sof-byt-rt5640 graph
correct graph

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:05:38 -08:00
Curtis Malainey d5ac458f56 Update sof-byt-nocodec
Make it clearer that there is no codec as well as update the media graph

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey 9f210ad755 Update sof-byt-da7213
Update graph to represent code

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey 888260a768 Update comments for sof-bdw-rt286
Update header to reflect code

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey 5452897dc9 update sof-apl-tdf8532
consolidate graph styles

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey af9d2d4e57 Fix sof-apl-pcm512x
Fix graph to reflect file

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey 79252d6c46 Fix sof-apl-nocodec comments
Follow graph convention in other files as well as fix typos and comments

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey 42e9bd979d Fix sof-apl-eq-pcm512x comments
Fix copy paste errors

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey b65fe8e021 Fix sof-apl-eq-dmic comments
Fix copy paste comment errors

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey f704d361e1 Fix pipe-eq-capture comments
Fix copy paste comment errors

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:23 -08:00
Curtis Malainey cbf60f2bb2 Correct sof-bdw-rt5640
Correct comments to reflect code

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 18:54:14 -08:00
Curtis Malainey 2e319edcb6 Ignore built binaries
Git is seeing build artifacts

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-15 17:54:37 -08:00
Liam Girdwood 8cc1daddfc
Merge pull request #130 from bkokoszx/fix-kw-issues
logger: kw: fix logger klockwork issues
2018-11-15 15:48:34 +00:00
Liam Girdwood 79d5140565
Merge pull request #129 from xiulipan/pr/cnltest
Add test topology for CNL
2018-11-15 15:46:20 +00:00
Bartosz Kokoszko 22354d61e1 logger: kw: fix logger klockwork issues
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-15 10:39:01 +01:00
Pan Xiuli ee6f54b843 ci: travis: add test topology
Build tests for travis CI

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-15 14:52:26 +08:00
Pan Xiuli 7f3b59b888 test: topology: add test topology for CNL
CNL nocodec use SSP0, add SSP0 test for CNL

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-15 14:44:26 +08:00
Liam Girdwood 5894ed4cc5
Merge pull request #126 from bkokoszx/logger-verbose-warnings
logger: added Werror and Wall and removed warnings
2018-11-13 14:36:45 +00:00
Bartosz Kokoszko d6bb7043b7 logger: added Werr and Wall and removed warnings
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-13 10:12:56 +01:00
Liam Girdwood 2cd668ccfa
Merge pull request #125 from bkokoszx/logger-string-overflow
logger: string overflow warning fix
2018-11-09 14:30:58 +00:00
Bartosz Kokoszko b141daee34 logger: string overflow warning fix
fixes #124

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-09 15:07:19 +01:00
Liam Girdwood 73c8a136cb
Merge pull request #118 from bkokoszx/logger-fw-verification
logger: add firmware verification capability
2018-11-09 09:59:00 +00:00
Bartosz Kokoszko 105b9b51ab logger: logging topology number for component
I've added printing component topology number
(i.e. pipeline_id.component_id). If id's are not
defined logger will not print any values.
e.g.:
CORE  LEVEL      COMP_ID                TIMESTAMP ...
   0      2         HOST            487048.229167 ...  (not defined id's)
   0      2         PIPE 1.3        591235.052083 ...  (defined id's)

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-08 10:05:25 +01:00
Bartosz Kokoszko a73c4f63ca logger: add firmware verification capability
I've added two logger flags for firmware version verification:
-e		- enables checking fw version with default file
-v ver_file	- enables checking fw version with ver_file file

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-02 14:35:59 +01:00
Liam Girdwood 937032fb5f
Merge pull request #119 from ranj063/glk_dmic
topology: glk: fix channel count for dmic stereo recording
2018-11-01 10:07:21 +00:00
Ranjani Sridharan 22fba69dfb topology: glk: fix channel count for dmic stereo recording
Fix the channel count to 2 for stereo dmic recording.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-10-31 22:35:00 -07:00
Liam Girdwood 4ac9248f58
Merge pull request #117 from singalsu/eq_add_mic_calibration_import
EQ Tool: Add calibration data import
2018-10-29 12:16:10 +00:00
Seppo Ingalsuo fa0735572b EQ Tool: Add calibration data import
This patch adds capability to apply for capture microphone calibration
data (ASCII text lines with Hz, dB values). The calibration data file
name needs to be edited into configuration file mls_rec_config.txt. Such
calibration data is provided by several inexpensive USB measurement
microphones manufacturers.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-29 11:51:00 +02:00
Liam Girdwood b5eb15516c
Merge pull request #116 from bkokoszx/logger-rejecting-trace-address
logger: refinement handling invalid trace address
2018-10-26 11:35:57 +01:00
Bartosz Kokoszko b8dfacba88 logger: refinement handling invalid trace address
In case of getting invalid trace address file descriptor
now moves forward only one dword, not whole struct dma_log
as it was earlier.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-26 10:06:14 +02:00
Liam Girdwood c9a4c87d7a
Merge pull request #114 from plbossart/fix/ipc-alignment
topology: renumber SSP tokens - ABI CHANGE
2018-10-24 14:03:04 +01:00
Liam Girdwood b315f9bfd4
Merge pull request #113 from singalsu/fix_src_host_testbench_paths
Test: Audio: Fix paths in SRC host version testbench
2018-10-24 11:51:47 +01:00
Liam Girdwood 5d7c535a21
Merge pull request #112 from singalsu/add_dmic_2ch_4ch_topologies
Topology: Add 2ch and 4ch raw DMIC capture topologies for APL
2018-10-24 10:18:42 +01:00
Pierre-Louis Bossart 8d0f1783a6 topology: renumber SSP tokens - ABI CHANGE
Initial _ACTIVE fields are replaced by a single clock control
This change can lead to regressions, it needs to be aligned with the same
change at the kernel level.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-10-23 12:28:47 -05:00
Seppo Ingalsuo 092db5e225 Test: Audio: Fix paths in SRC host version testbench
The directories were restructured lately and this patch fixes the
changed paths issue.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-23 14:52:08 +03:00
Seppo Ingalsuo 8d4b10c539 Topology: Add 2ch and 4ch raw DMIC capture topologies for APL
This patch adds two minimal capture topologies to enable doing tests
those require raw audio capture with unmodified S32_LE samples, e.g.
channels order preserve test where the mic # origin can be checked
from side information in LSB bits.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-23 11:27:25 +03:00
Liam Girdwood a1dfcb7f4b
Merge pull request #110 from xiulipan/pr/daidir
Add direction for dai widget in topology
2018-10-18 16:58:20 +01:00
Liam Girdwood 64c0e8d6ec
Merge pull request #109 from xiulipan/pr/pplfmt
topology: duplicate dai formart for pcm add
2018-10-18 16:57:18 +01:00
Pan Xiuli 25dcef9219 topolgy: m4: add direction for widget dai
Add direction for widget dai, 0 for playback and 1 for capture.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:59:24 +08:00
Pan Xiuli 489832137c topology: m4: add SOF_TKN_DAI_DIRECTION for DAI
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:59:18 +08:00
Pan Xiuli b6016cd5e5 topology: duplicate dai formart for pcm add
In PIPELINE_PCM_ADD, DAI_FORMAT is not set but are used later.
Need to set this value to avoid protenial issues.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:43:37 +08:00
Liam Girdwood b3764048e9
Merge pull request #90 from singalsu/fix_nocodec_dmic_pcm
Topology: DMIC: Reduce PCM capabilities to DMIC configuration
2018-10-18 11:20:44 +01:00
Seppo Ingalsuo 53f90d9c6a Topology: DMIC: Reduce PCM capabilities to DMIC configuration
This patch impacts topologies sof-apl-nocodec, sof-apl-da7219, and
sof-glk-da7219 those use the pipe-passthrough-capture macro for DMIC.

The PCM saple rate is limited to 48 kHz (was 8 - 192 kHz). The capture
channels count can be only PIPELINE_CHANNELS (was 1 - PIPELINE_CHANNELS).
This prevents corrupted audio capture that happens when DMIC topology
parameters and capture parameters differ. It happens because DMIC FIFOs
drop samples or add unwanted samples when the configuration does not match.

In sof-apl-nocodec topology the PIPELINE_CHANNELS is set to 2 that
matches the configuration.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-18 12:42:38 +03:00
Liam Girdwood 5b51dc0d4b
Merge pull request #108 from singalsu/eqctl_check_calloc_and_return_zero
eqctl: Add check for calloc() success and return 0 in exit
2018-10-15 20:38:52 +01:00
Seppo Ingalsuo 7a8ed190e8 eqctl: Add check for calloc() success and return 0 in exit
This patch adds the missed details into the code.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-15 19:20:26 +03:00
Liam Girdwood b37b8ef00c
Merge pull request #104 from bkokoszx/readme_update
readme: upgrade readme with logger instruction
2018-10-15 16:31:59 +01:00
Liam Girdwood 0e1680532d
Merge pull request #105 from bkokoszx/sof-logger
rmbox: change binary names of logger and rmbox
2018-10-15 16:31:37 +01:00
Bartosz Kokoszko c8f671b746 rmbox: change bins name to sof-logger sof-rmbox
Change binary names:
from logger to sof-logger and
from rmbox to sof-rmbox

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 15:18:34 +02:00