Wu Zhigang
2cc3ad2a92
topology: 8-channel should be supported
...
8 channels should be supported.
Signed-off-by: Wu Zhigang <zhigang.wu@linux.intel.com>
Suggested-by: Keyon Jie <yang.jie@linux.intel.com>
2018-06-11 12:11:16 +01:00
Ranjani Sridharan
a913f77e65
topology: add DMIC tokens
...
This patch introduces the DMIC specific config parameter tokens
in topology.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-05-31 21:21:38 +01:00
Ranjani Sridharan
ed3f3aa94a
topology: tone pipeline should be DAI driver and not timer driven
...
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-05-31 08:48:28 +01:00
Ranjani Sridharan
04691ffbe5
topology: add ssp tokens defined in kernel UAPI header
...
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-05-22 08:30:20 +01:00
Keyon Jie
73a454544c
topology: append pipeline id to PGA and control mixer
...
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2018-03-28 14:35:38 +01:00
Pan Xiuli
b799e3fa3b
topology: modify passthrough pipelien PCM capabilities
...
For passthrough PCM, we can only support the SSP DAI format as
PCM capabilities.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-03-22 12:35:03 +00:00
Pan Xiuli
105c88febf
topology: Remove duplicate W_DAI_IN/OUT and W_PIPELINE
...
We call PIPELINE_PCM_DAI_ADD and DAI_ADD that will duplicate call
W_DAI_IN/OUT and W_PIPELINE.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-03-21 13:36:58 +00:00
Liam Girdwood
dbd15bb847
topology: media: fix incorrect pipeline ID for media PCM
...
Missing include for pcm.m4
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-03-17 20:33:07 +00:00
Liam Girdwood
cc91c73aa3
topology: pcm: Fix PCM ID for topologies > 1 PCM
...
PCM number was not being preserved and was always zero. This would
overwrite previous PCMs and cause the FW to return invalid PCM error
messages.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-03-16 17:18:20 +00:00
Liam Girdwood
8d9b8d51f9
topology: Add stream name to DAI widgets for binding to DAI links
...
DAI Widgets need bound to a DAI link to complete the DAPM graph. This is
only working atm as we are only using one DAI. Add stream name to DAI
widgets to be used by topology binder.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-03-13 20:35:42 +00:00
Pan Xiuli
5b5bbe31e6
topology: Remove volume mute in volume pipeline
...
Volume mute will cause a regression. Delete it now.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-03-07 11:01:34 +00:00
Ranjani Sridharan
c95433636f
topology: break up topology builder m4 files into per component macros
...
This patch break up the local.m4 and build.m4 topology builder includes
into per component m4 files
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:25:26 +00:00
Ranjani Sridharan
a99283da77
topology: create m4 wrapper for Data section in pipeline definition
...
This patch adds a m4 wrapper for data section in pipeline definitions
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:13:19 +00:00
Ranjani Sridharan
c529b32eae
topology: create m4 wrapper for VendorTuples section in pipeline definition
...
This patch adds a m4 wrpper for Vendor Tuples sections
in pipeline definition
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:13:19 +00:00
Ranjani Sridharan
9d846ac85a
topology: create m4 wrapper SectionPCMCapabilities
...
This patch adds a m4 wrpper for PCM Capabilities sections
in pipeline definition
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:13:19 +00:00
Ranjani Sridharan
625f2e1cc0
topology: create m4 wrapper for Graph section
...
This patch adds a m4 wrpper for Graph sections in pipeline definition
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:13:19 +00:00
Ranjani Sridharan
ee8afc8064
topology: create m4 wrapper for mixer control section
...
This patch adds m4 wrapper for mixercontrol section in
pipeline definition
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:13:19 +00:00
Ranjani Sridharan
29dd4df5d1
topology: add kcontrol for tone component
...
This patch adds the changes to add kcontrols to the tone component
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:13:19 +00:00
Ranjani Sridharan
da6d3eabb7
topology: make list loop more generic with formatting argument
...
This patch adds changes to make list loop more generic with format argument
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-06 11:13:19 +00:00
Liam Girdwood
e02f6910d1
topology: Add support for memory capabilities
...
Add support in topology to define different memory capabilities that can
be included by standard pipeline definitions to set platform specific
capabilities for buffers.
This patch allows memory capabilities to be defined for each platform and
included by all pipeline definitions.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-03-05 13:38:12 +00:00
Ranjani Sridharan
09325e91fc
topology: Allow multiple kcontrols for volume widget
...
This patch adds support for multiple kcontrols for the volume
widget and adds a mute switch kcontrol to the volume playback
pipeline.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-02-12 15:47:31 +00:00
Ranjani Sridharan
f0b21aee38
topology: fix typos in capture pipelines
...
This patch fixes typos in the capture pipelines to avoid confusion.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-02-12 15:45:39 +00:00
Pan Xiuli
b8ba5f65f2
topology: test: fix buffer size for volume
...
We may have different buffer size around volume.
Change the size due to the endpoint setting.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-01-27 16:54:51 +00:00
Liam Girdwood
1f23137df9
rimage: build: Fix make dist and version.
...
make dist will now include the topology files.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-11 11:08:34 +00:00
Pan Xiuli
49d1ca9a13
topology: sof: Fix a typo for pipe src capture
...
Should be src capture here in capture pipe.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2017-12-20 10:10:59 +00:00
Liam Girdwood
c20762ecac
topology: test: Add simple component test generator.
...
Move testing pipelines into a test directory and reuse test scaffolding
so that they can be used to test multiple components on multiple target
with multiples configs.
Test topology scafolding are now pre-processed using a script to generate
the ALSA conf format with the various changes for each test case.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-13 21:08:57 +00:00
Liam Girdwood
e76aeeb7e9
topology: modify passthrough volume playback for duplex operation
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-11 22:03:50 +00:00
Liam Girdwood
e094d38e95
topology: Add passthrough volume capture pipe
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-11 22:03:24 +00:00
Liam Girdwood
83b1704555
topology: Modify passthrough playback pipe for duplex operation
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-11 22:00:51 +00:00
Liam Girdwood
475fbdc01e
topology: Add passthrough capture pipe
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-11 22:00:18 +00:00
Pierre-Louis Bossart
31c4918ad5
topology: remove stream_name for all DAI definitions
...
stream_name is not used by any machine drivers, there is no point in
providing the information to topology layers
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2017-12-07 10:59:46 +00:00
Liam Girdwood
d774609c90
topology: Allows playback and capture pipelines to share same PCM
...
Add support so that different playback and capture pipelines can share
the same host PCM device.
Modify board configs to use PCM0 for playback and capture.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-10-02 15:28:24 +01:00
Liam Girdwood
81b02a796f
topology: SRC testing passthrough pipeline.
...
The testing pipline for 24 bit SRC 48kHz output.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-11 16:38:14 +01:00
Liam Girdwood
30d3d92928
topology: pipeline: Add flag to selcect either timer or IRQ scheduling
...
Add a flag to specify whether the pipeline processing work can be
scheduled via a timer or an IRQ source. IRQ scheduling will primarily be
used by pipelines that include a DAI.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-11 16:03:57 +01:00
Liam Girdwood
19606eb2fc
topology: Add support for 32bit data to playback and capture PCMs
...
Add S32_LE data support to the PCMs
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-08 12:51:25 +01:00
Liam Girdwood
08ccf3380b
topology: SRC: Use 4ms for topology scheduling and increase buffers
...
SRC should be scheduled on at least 4ms tick. Increase buffers to
deal with 2 times output rate.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-07 14:25:18 +01:00
Liam Girdwood
6cb0fd2806
topology: src: fix src config data by adding ""
...
SRC config data was missing "". Fixed.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-03 22:15:59 +01:00
Liam Girdwood
ea3ff83bdc
topology: media: fix media min period size to align with 1ms granularity
...
Make sure media buffers can align min period size on 1ms granularity.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-03 22:15:59 +01:00
Liam Girdwood
12b1907499
topology: src: fix W_SRC widget argument list order
...
Put format and data in correct order.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-03 22:15:58 +01:00
Liam Girdwood
1bed6ee95d
topology: bind kcontrols to PGA widgets.
...
Add an parameter to bind TLV volume kcontrol to volume widget.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-31 23:51:20 +01:00
Liam Girdwood
c69a7516ef
topology: Add simple playback passthrough pipeline with volume.
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-21 20:29:01 +01:00
Liam Girdwood
08adb55f0b
topology: Include DAI format in pipeline definitions
...
Make sure we allow different DAI formats in pipelines.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-21 20:29:01 +01:00
Liam Girdwood
3d8e7478a4
topology: Add sample bits to DAI_CONFIG
...
Add a token for number of bits in a sample for DAI configs
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-21 20:29:01 +01:00
Liam Girdwood
0a08a62e05
topology: pipelines: give more headroom for buffer size refinement
...
Give the ALSA HW refinement code more headroom for buffer calculations
to provide more buffering options.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-16 20:34:01 +01:00
Liam Girdwood
c78d832441
topology: pipeline: Update pipelines to use new tokens
...
Update the pipelines to use the new buffer and scheduling tokens.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-09 15:01:41 +01:00
Liam Girdwood
e50cccdae3
topology: Add token support for PCMs and components buffers.
...
Add topology tokens for PCM and buffer configuration.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-09 15:01:41 +01:00
Liam Girdwood
b8c9db4f6b
topology: Add initial SOF topology pipeline definitions
...
Add pipeline and token definitions to allow creation of SOF topology
files. The files define standard pipelines and tokens that can be reused
to build machine specific topology files.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-07-06 16:39:29 +01:00