alsa-utils/topology/nhlt/intel/ssp
Jaska Uimonen 1ad140f641 topology: plugins: nhlt: add ssp aux controls
Intel ssp blob can have auxiliary controls catenated as tlv array at the
end of its "normal" data blob. These are needed in some platforms for
example to enable hardware clocks earlier than streaming starts.

In topology the auxiliary data classes are embedded into hw_config and
can be instantiated like:

Object.Base.hw_config."SSP0_0" {
	id              0
	mclk_freq       38400000
	bclk_freq       256000
	tdm_slot_width  16
	format          "DSP_A"
	bclk            "codec_provider"
	fsync           "codec_provider"
	fsync_freq      16000

	Object.Base.mn_config."MN_0" {
		m_div   100
		n_div   200
	}

	Object.Base.clk_config."CLK_0" {
		clock_warm_up          1
		mclk                   2
		warm_up_ovr            3
		clock_stop_delay       4
		keep_running           5
		clock_stop_ovr         6
	}
}

Fixes: https://github.com/alsa-project/alsa-utils/pull/184
Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-01-24 09:42:40 +01:00
..
ssp-debug.c topology: plugins: nhlt: add ssp aux controls 2023-01-24 09:42:40 +01:00
ssp-debug.h topology: plugins - add Intel nhlt encoder plugin 2022-05-03 13:24:03 +02:00
ssp-intel.h topology: plugins: nhlt: add ssp aux controls 2023-01-24 09:42:40 +01:00
ssp-internal.h topology: plugins: nhlt: add ssp aux controls 2023-01-24 09:42:40 +01:00
ssp-process.c topology: plugins: nhlt: add ssp aux controls 2023-01-24 09:42:40 +01:00
ssp-process.h topology: plugins: nhlt: add ssp aux controls 2023-01-24 09:42:40 +01:00