Skip to content

Commit

Permalink
topology: pre-processor: add NHLT blob generation
Browse files Browse the repository at this point in the history
Add a mechanism to generate Intel specific nhlt blob from topology2 dai
definitions. This is done by by using pre-preprocessor's auto attribute
mechanism.

With every dai parsed an internal vendor blob is created. Internal blobs
are kept in pre-processor's private data field. Currently only DMIC and
SSP dais are implemented. When topology parsing has finished a NHLT acpi
table with endpoints is created and added to the manifest.

NHTL and vendor specific DMIC and SSP processing files are added under
intel subdir in topology.

Signed-off-by: Jaska Uimonen <[email protected]>
  • Loading branch information
Jaska Uimonen committed Sep 21, 2021
1 parent 90763f9 commit a804d05
Show file tree
Hide file tree
Showing 26 changed files with 6,563 additions and 5 deletions.
20 changes: 17 additions & 3 deletions topology/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,23 @@ endif
rst2man $< > $@

alsatplg_SOURCES = topology.c pre-processor.c pre-process-class.c pre-process-object.c \
pre-process-dapm.c pre-process-dai.c

noinst_HEADERS = topology.h pre-processor.h
pre-process-dapm.c pre-process-dai.c intel/nhlt.c intel/dmic/dmic-nhlt.c \
intel/ssp/ssp-nhlt.c

noinst_HEADERS = topology.h pre-processor.h \
intel/nhlt.h intel/nhlt-internal.h \
intel/dmic/dmic-nhlt.h intel/dmic/format.h \
intel/dmic/pdm_decim_fir.h intel/dmic/pdm_decim_table.h \
intel/dmic/pdm_decim_int32_02_4375_5100_010_095.h \
intel/dmic/pdm_decim_int32_08_4156_5301_010_090.h \
intel/dmic/pdm_decim_int32_03_4375_5100_010_095.h \
intel/dmic/pdm_decim_int32_10_4156_5345_010_090.h \
intel/dmic/pdm_decim_int32_04_4318_5100_010_095.h \
intel/dmic/pdm_decim_int32_12_4156_5345_010_090.h \
intel/dmic/pdm_decim_int32_05_4325_5100_010_095.h \
intel/dmic/pdm_decim_int32_02_4323_5100_010_095.h \
intel/dmic/pdm_decim_int32_06_4172_5100_010_095.h \
intel/ssp/ssp-nhlt.h

AM_CPPFLAGS = \
-Wall -I$(top_srcdir)/include
Expand Down
Loading

0 comments on commit a804d05

Please sign in to comment.