alsa-utils/topology
Ranjani Sridharan 4bc386bb71 topology: pre-process-dai: add support for hwcfg objects
Add supprt for hwcfg objects:
For ex:
Object.Base.hw_config."SSP0 hw_config 0" {
		id		0
		mclk_freq	24000000
		bclk_freq	4800000
		tdm_slot_width	25
	}

would get converted to:

SectionHWConfig {
        'SSP0 hw_config 0' {
                id 0
                format I2S
                bclk codec_consumer
                bclk_freq 4800000
                fsync codec_consumer
                fsync_freq 48000
                mclk codec_mclk_in
                mclk_freq 24000000
                tdm_slots 2
                tdm_slot_width 25
                tx_slots 3
                rx_slots 3
        }
}

and the corresponding SectionBE will be updated with the hwcfgs reference as:

	hw_configs [
		'SSP0 hw_config 0'
        ]

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-25 18:26:51 +02:00
..
alsatplg.rst alsatplg: add decode command 2020-02-09 20:52:30 +01:00
Makefile.am topology: pre-process-dai: add support for hwcfg objects 2021-05-25 18:26:51 +02:00
pre-process-class.c topology: pre-process-class: add function to convert valid attribute values to integer tuple values 2021-05-25 18:26:51 +02:00
pre-process-dai.c topology: pre-process-dai: add support for hwcfg objects 2021-05-25 18:26:51 +02:00
pre-process-dapm.c topology: pre-process-dapm: add support for route objects 2021-05-25 18:26:51 +02:00
pre-process-object.c topology: pre-process-dai: add support for hwcfg objects 2021-05-25 18:26:51 +02:00
pre-processor.c topology: pre-process-object: Add support for pre-processing Objects 2021-05-25 18:26:51 +02:00
pre-processor.h topology: pre-process-dai: add support for hwcfg objects 2021-05-25 18:26:51 +02:00
topology.c topology: Add support for pre-processing Topology2.0 syntax 2021-05-25 18:26:51 +02:00
topology.h topology: Add support for pre-processing Topology2.0 syntax 2021-05-25 18:26:51 +02:00