[Sound-open-firmware] MIC record support on Apollo lake

Muhammed, Wasim Wasim_Muhammed at mentor.com
Fri Nov 16 10:25:10 CET 2018


Hi Pierre,

Thanks for yor quick response.
You are right the MIC connected is Analog.
Basically we have back ported the SOF Audio changes from kernel 4.14.69 to Linux version 4.14.48.
We had to modify the number of channels to 2 to make the stereo playback work on the dirana interface.
Please see the changes below 

BR
Wasim

Summary of changes.

Topology changes
***********************

Based on top of this commit ID
xse at ubuntu:~/sof/soft/topology$ git log 
commit a1dfcb7f4bb4e8979a41f65d78307576b75c7831 (HEAD -> master, origin/master, origin/HEAD)

 
xse at ubuntu:~/sof/soft$ git diff topology/sof-apl-tdf8532.m4
diff --git a/topology/sof-apl-tdf8532.m4 b/topology/sof-apl-tdf8532.m4
index c82c1f0..698506d 100644
--- a/topology/sof-apl-tdf8532.m4
+++ b/topology/sof-apl-tdf8532.m4
@@ -35,13 +35,13 @@ include(`platform/intel/bxt.m4')
# Low Latency playback pipeline 1 on PCM 0 using max 4 channels of s32le.
# Schedule 48 frames per 1000us deadline on core 0 with priority 0
PIPELINE_PCM_DAI_ADD(sof/pipe-volume-playback.m4,
-       1, 0, 4, s32le,
+       1, 0, 2, s32le,
        48, 1000, 0, 0, SSP, 4, s32le, 2)
 
 # Low Latency playback pipeline 2 on PCM 1 using max 8 channels of s32le.
# Schedule 48 frames per 1000us deadline on core 0 with priority 0
PIPELINE_PCM_DAI_ADD(sof/pipe-volume-playback.m4,
-       2, 1, 8, s32le,
+       2, 1, 2, s32le,
        48, 1000, 0, 0, SSP, 2, s32le, 2)
 
 # Low Latency capture pipeline 3 on PCM 1 using max 8 channels of s32le.
@@ -53,7 +53,7 @@ PIPELINE_PCM_DAI_ADD(sof/pipe-volume-capture.m4,
# Low Latency playback pipeline 4 on PCM 2 using max 2 channels of s16le.
# Schedule 48 frames per 1000us deadline on core 0 with priority 0
PIPELINE_PCM_DAI_ADD(sof/pipe-volume-playback.m4,
-       4, 2, 2, s16le,
+       4, 2, 2, s32le,
        48, 1000, 0, 0, SSP, 0, s16le, 2)
 
 # Low Latency capture pipeline 5 on PCM 2 using max 2 channels of s16le.
@@ -170,7 +170,7 @@ DAI_ADD(sof/pipe-dai-capture.m4,
# PCM Low Latency, id 0
PCM_DUPLEX_ADD(Port0, 2, PIPELINE_PCM_4, PIPELINE_PCM_5)
PCM_CAPTURE_ADD(Port1, 3, PIPELINE_PCM_6)
-PCM_DUPLEX_ADD(Port2, 1, PIPELINE_PCM_2, PIPELINE_PCM_3)
+PCM_DUPLEX_ADD(DiranaPb, 1, PIPELINE_PCM_2, PIPELINE_PCM_3)
PCM_DUPLEX_ADD(Port3, 4, PIPELINE_PCM_7, PIPELINE_PCM_8)
PCM_PLAYBACK_ADD(Port4, 0, PIPELINE_PCM_1)
PCM_DUPLEX_ADD(Port5, 5, PIPELINE_PCM_9, PIPELINE_PCM_10)
@@ -196,7 +196,7 @@ DAI_CONFIG(SSP, 2, 2, SSP2-Codec,
           SSP_CONFIG(DSP_B, SSP_CLOCK(mclk, 24576000, codec_mclk_in),
                      SSP_CLOCK(bclk, 12288000, codec_slave),
                      SSP_CLOCK(fsync, 48000, codec_slave),
-                     SSP_TDM(8, 32, 255, 255),
+                     SSP_TDM(2, 32, 255, 255),
                      SSP_CONFIG_DATA(SSP, 2, 32)))
 
 DAI_CONFIG(SSP, 3, 3, SSP3-Codec,


 SOF driver 
*********************

wasim at wasim-Celsius-W420$  git log --pretty=oneline ./sound/soc/sof/
88c4b97b165a34c06c8d0900992ed9744b3b9b85 ASoC: SOF: do not add virtual routes to route list
4b067003c76db0f0b1f83488bb5a08155090e9f7 ASoC: SOF: update dai config for all dai with same name
93398c9318e7e57cc274e98aabdd45d7fcd9a4a8 ASoC: SOF: do nothing if dsp suspend/resume callbacks are not set
7f9232988edd7bf4a41029908534ae62ec476551 ASoC: SOF: update dai config after parsing pdm tokens
0cd980e018d97b17903d5c955385f0bad94b7f97 ASoC: SOF: suspend/resume and runtime PM implementation
063baf97d38b19d9409fa79365845bc6b534a6bf ASoC: SOF: changes to pcm trigger to accomodate stream restore
c62fc6b3d31a16e5980e1f5d0456764745f42c87 ASoC: SOF: modify load_firmware() to indicate first boot
fd75ec7c7df72db5fe5bdb0253f9e09d5c334eed ASoC: SOF: allow runtime_pm for pci/acpi/spi device
1f85ebdffcbe7801b4c742ebeb4d8ea01e17cb20 ASoC: SOF: set kcontrol cmd for pga widget
da9997e7c49d57e6722ff86539db175d8c99fe23 ASoC: SOF: decrement device usage counter after booting firmware
4994cb9544282f6682d34ce3f86f02e1568756cc ASoC: SOF: make sof_complete_pipeline non static
748a246f86ac59c0610319ed6ca03ca45cbe0533 ASoC: SOF: move ipc for initializing trace into a separate function
524fa97e6255b480807854386b0c7a2f26a59264 ASoC: SOF: store ipc comp data as private data
f0efc0710ef300aba1bb27de69823923cb749986 ASoC: SOF: create route list in snd_sof_dev to store pipeline connections
d0d3a30363c92f22606ca03dfb428587e93b2699 ASoC: SOF: add suspend/resume callbacks for APL
d8c63750d46998928bc002b0304605706ae294b3 ASoC: SOF: fix Kconfig wording
f648e9624d15b6dec7e120413375697a9da3e91a ASoC: SOF: ipc: fix typos
4030ccb52a7b9d42374aec5b238d0de88a574bfe ASoC: SOF: ipc: add verbose IPC logs
def53e6369d2666d9610fc71fcfc0692d91dd623 ssp:support additional SSP register bits
6838bde72136e09aba4f20e7a2412e1350c9ed2e ASoC: SOF: pci: add GeminiLake PCI ID
801527a41b7f6049405e411e1e2f717597a0eda7 [SQUASHME]ASoC: SOF: fix return value for sof_link_load
61396da9237cd4207e43fa4a54e2a1fdcea695c7 ASoC: SOF: fix a ipc error on byt
26555f297c8cac93cd9d0730bd1551e73bd27240 Revert "ASoC: SOF: enable DEBUG by default"
a0b0f11281f87340a59bdab35c5109584001853b ASoC: SOF: fix a typo
b87ea5086b736c1d00361fc8ac1eef87d55f49f3 ASoC: SOF: Remove redundant code in irq function on cnl
813827925aa92ac246ef2dfcf3e48fca5e6c234a ASoC: SOF: topology : align dai type and index in topology parse
3c733d3f1a7d936da102171a5ab78a58a322b2fb ASoC: SOF: Intel: hda-dai: remove spurious lines
fcad0b6c6307da9aa9351ae635a4751e31f6dc98 ASoC: SOF: Intel: shim.h: harden macro parameters
080bbc66fa3dd062e74542ec00b3200ce8468e60 ASoC: SOF: intel: hda-pcm: harden macro parameters
4ab36c61eb9fb348e2eb3a0ff6e15ef0fc630939 ASoC: SOF: Intel: hda: harden macro parameters
090f8e1b53bd02c90725199164ae26d46d31dc48 ASoC: SOF: trace: fix linker error in i386 mode
45941710415d3481a0a98e1cf9c9e61dca70cf0d ASoC: SOF: kcontrol: fix warnings
2c33b5916074d00ffe22bc32645bd8d1e3567031 ASoC: SOF: fix range check for max channels
d8efba87f2fa7e68592dadbd922de2eb043537ae ASoC: sof: topology: fix memleak when errror happen
019e5f980fcdc85f9a4051e682bc4a3d9326ee3f ASoC: SOF: add Icelake support in SOF
75ecae8cae9ec7ed5ae101adb11298154800ea15 ASoC: SOF: refine write_block function
305a92fc7a2c7bea4e74415ea7a7ae258467c31e ASoC: SOF: Kconfig: cleanups for upstream
2117d5040635e17184e97ea57c8f81d0de8f7c28 ASoC: SOF: pcm: cleanups for upstream
4eebdd92301b2369ec71a9c6f6c927b1607c51f6 ASoC: SOF: core: cleanups for upstream
bef8c0ee3c3de422f8dcae701003d4d65d584e9e ASoC: SOF: utils: remove snd_sof_dai_drv
b62116dbbbc3879c7cfd940cbb2658d02901caf6 ASoC: SOF: nocodec: remove snd_sof_dai_drv
05e66fcd405f93b2ebb42675827bd2d91ab6bb72 ASoC: SOF: hsw: remove snd_sof_dai_drv
9005ab22fdfba271c97e3ca4ebf3d7d9adf2c539 ASoC: SOF: byt: remove snd_sof_dai_drv
e5bef275320d2fbb1fdd67569c8186d98985b2ea ASoC: SOF: bdw: remove snd_sof_dai_drv
f011fc9b3a6db1cbc93501335d3586044085906b ASoC: SOF: apl, cnl, skl: remove snd_sof_dai_drv
3cd2033863e16b60f4d66dd1ef36edb33b7f84a1 ASoC: SOF: core: remove snd_sof_dai_drv
68c9289b539346917522fb28b184a1d4a40e7f9e ASoC: SOF: topology: Add comments to help readability.
ce86d2ed67a62ee09bc78fa3bb10d7604f10f99b ASoC: SOF: trace: simplify trace IO and check for errors
845a4184ad54fbb48285926baed5a4bf28459ab0 ASoC: SOF: debug: Add comments and cleanup for upstream
d0f2bd986f8cde5bb87907123721ac0e0cb8c486 ASoC: SOF: control: complete binary kcontrol get/put handlers.
3a6ebf3734cb41dee5282381776b58f32d1914ee ASoC: SOF: default should not be module
2de0eeb3e6fd0342fba69b08bcf6a188bad71bb7 ASoC: SOF: remove unused SOF_PLATFORM from Makefile/Kconfig
26e90e97a1cda7260956123d4ac19d4fd3af412a ASoC: SOF: remove superfluous parent device pointers of snd_sof_pdata
18ee68d7d6e22f91b4a683ed5a9d4f400b5e37a7 ASoC: SOF: refine and unify sof_xxx_priv structs
dca20d2b2b6b29c60539742c9f0c203750378f36 ASoC: SOF: apply IPC changes to byt
0361551cc2bc692f491f7073c18aad505d6df91f ASoC: SOF: apply IPC changes to bdw
989a309a7e52fa5f7349ddc7fd8b34c3e9484057 ASoC: SOF: apply IPC changes to hsw
ac35721f8ab69b11e81676c48287c5b11a11975b ASoC: SOF: process SOF_IPC_DSP_REPLY case in cmd_done on CNL
6658b4546930439c6fd42cc0e3d51aa3f151b781 ASoC: SOF: process SOF_IPC_DSP_REPLY case in cmd_done on APL
81cc8f1174ebe0f382375ba8d1fb539e8b7831e2 ASoC: SOF: check is_dsp_ready when sending ipc msg
2080f5b4f816b1b68e167f4b97bf1da64e79d8e6 ASoC: SOF: Add direction param in cmd_done
177cef21d00425d19398c92ff7c10e486cab8386 ASoC: SOF: return status in snd_sof_ipc_reply
4a87889f445c9be56c0ed397dbf81c0b7e5ce1e8 ASoC: SOF: utils: fix memory leak of names during remove()
d1ccce28e51c703d742fe0e9d4b00bdef73ee808 ASoC: SOF: cleanup for pci probing.
46d7eabd3af69f68c126c24b03d366c1a19003f1 ASoC: SOF: hda: fix sparse warnings.
5df9bd4f9fb4487387e1d6227ec0707acfcb72eb ASoC: SOF: byt: fix sparse warnings.
b14bd506fac3a39857220638c868b5ed57c9c0ae ASoC: SOF: bdw: fix sparse warnings.
973d5f84d0ec2f8ca7cb008efd3053db985ba0c2 ASoC: SOF: hsw: fix sparse warnings.
357a1c7723b7efa0c99cdbd9a4809e9a257a2488 ASoC: SOF: pcm: fix sparse warnings.
f8e6d09f558ee14e6dceef83a7e3de5ad524c1fa ASoC: SOF: trace: fix sparse warnings.
facb6a958234fd784313f702aaabcb31ef9c8d23 ASoC: SOF: topology: fix sparse warnings.
f118b3f6f410cf00e90b398e82f175d134e9889f ASoC: SOF: ipc: fix sparse warnings.
baa7f197503810d2da5144ae817ba8b10f03b8ff ASoC: SOF: debug: fix sparse warnings.
49477fe3d60a0778b6223a3d834801831ce71d45 ASoC: SOF: core fix sparse warnings.
83730b3423afa23d4722cc246e250ba4421c2b56 ASoC: SOF: Kconfig: cleanup Kconfig debug options
dce26f8b3132915dc7b769741b7e00a047426f57 ASoC: sof: skl, cnl, apl: cleanup - add comments and reorder funcs
fb7b51dc0b92bb7f7f8f6e0194f013a4d2490386 ASoC: sof: ops: cleanup - add comments and reorder funcs
672f0ce55beecfe1416e8e479693f55f84260bd4 ASoC: sof: ipc: cleanup - add comments and reorder funcs
fa9b18136d06fbfaa83ccbaaef219b458aff7674 ASoC: sof: loader: cleanup - add comments and reorder funcs
fd53197e75b7209beecfb282967101a8e4c3e4de ASoC: sof: pcm: cleanup - add comments and reorder funcs
6bf61e3e59e8b03ad132a316f510619aaf671da2 ASoC: sof: core: cleanup - add comments and reorder funcs
c2196d3eeb07eb6c5e2fff9c126ac09bb317ee96 ASoC: SOF: ops: fix uninitialized use warning
cb7da58653418b64e21964246fb0d9fa3e1acdc7 ASoC: SOF: add mm.h
a3d66ff7bc0cb449f3bab7a7e443df664193dbdd ASoC: SOF: intel: fix a typo in hda-dai
887422412b293f4ae736045df86d1857336cbb49 ASoC: SOF: intel: skl: remove unused function
f992a9bfc305c10c9a073771769b145c69cc3742 ASoC: SOF: intel: hsw: make variables static
5f4063b0ace5d1058326e8ae6d5447198b11af38 ASoC: SOF: intel: hda-dai: add include file
84e1539806d93ef2065d4bb2e06828e37aac1ec3 ASoC: SOF: intel: byt: make variables static
e8d8cfff2bf3df5b96f56ed30c4d93e5f7ad487f ASoC: SOF: intel: bdw: make variables static
f81777597d7ef2a9340a6730eede29457ea98678 ASoC: SOF: enable msi for sof hda audio
a79a55c5d4945b1315a86a7ace88558158e54b1f ASoC: SOF: nocodec: create BE DAI links based on platform dai drivers
38e5e8124a8382a5ec2772f07c8aa76ae1759171 ASoC: SOF: Intel HSW platform DAIs
3ef050d7e91ee3be8a3ced3974e050230d3417fa ASoC: SOF: Intel BYT platform DAIs
bf8669b3b1cc47af23f4fa1b01cca132e1a063e2 ASoC: SOF: Intel BDW platform DAIs
e15ffaa60b12e538ecf3d4cee30b9e1b2423cdde ASoC: SOF: intel: SKL, CNL, APL platform DAIs
e7947d99cf20212f54bfc68835cc60d83d81a9c1 ASoC: SOF: nocodec: give DAI driver more meaningful name
ce97f488c40c574901bb3635c46026781f9c0e65 ASoC: SOF: pcm: remove DAI driver
147ff932300a1baebfc3f492b0eb8b17f480c314 ASoC: SOF: core: register DAIs from platform drivers.
fcf0d9fbd6fdbce43605c948cf3bcb3b21af962d ASoC: SOF: merge sample_bits tokens with the rest of the ssp_tokens
a18802804c047ac891eecdc1a68ee13ce3f4d638 ASoC: SOF: topology: add SSP_MCLK_ID to ssp_tokens to enable parsing the mclk id from topology
289c81afe827d693eba2b9c156c833e69e007b70 ASoC: SOF: Cleanup priv.h and add comments for upstreaming.
f9ab51851260ec906796e2edfbea712a64d1be75 ASoC: SOF: Move xtensa oops/stack dump out of SOF core
3fadd8430c4538c2102ebcf8a4a6451704a4df1c ASoC: SOF: topology: remove dmac id and dmac channel token parsing
b0064253c731e3be051e2ba9192c66c7ce63b8a4 ASoC: SOF: refinement for HDA DMA start/stop
a063b0a4ca6affa206cbcde529f557edb5fdf5c2 ASoC: SOF: topology: fix logic for parsing dmic pdm tokens
d17d52c1f25588a5b96b40dab8609cd12c11be5c ASoC: SOF: topology: fix dmic pdm token offsets
7566703cba18d68c3cd9821639c644911ed219c9 ASoC: SOF: fix warning about assigning __le to u16 type
412ffb166ff390c8ba3463cd9653ccf4c6522d2c ASoC: SOF: topology: free volume table while unloading pga widget
74b1e1b00a158f3a40fe4a51439373263b15a74c ASoC: SOF: enable DEBUG by default
5d36bde0cf76b0a833097d01648a9b4724f96c6a ASoC: SOF: start HDA DMA at hw_params() stage and remove stream_trigger()
327dd6ad755828e5fa0f5608c83dc7215b6c4e46 ASoC: SOF: support DMIC DAI type during link fixup
1889c4cfeaabe62e11cf523622804b1ec5b957a0 ASoC: SOF: Add support for parsing DMIC specific tokens from topology
b336b37884bb16dc127eef0845f1e7ccc5d025f3 ASoC: SOF: parse Xtensa exception causes
6a2c104b98bc4d8d7a58de9f04e47aa828abbbfd ASoC: SOF: refine dapm route loading in sof
027aacc3174e407c766ae7d63bfc6f471302a833 ASoC: SOF: Add Build support for SOF core and Intel drivers
6b2f02f74226660665292a44d001a09bc1f81861 ASoC: SOF: Add PCI device support
271da3586f5c44f3123ab889ff704876003c18ed ASoC: SOF: Add ACPI device support
7270269e538b1c0f2d5468074bc61f994caa8ca3 ASoC: SOF: Add SPI device support
81bdc7a21c53e42b048b81c0d1eee3a57f88a696 ASoC: SOF: Add VirtIO support
45d155a83eec1e4ea6011d6cf480be679ec243dd ASoC: SOF: Intel: Add platform differentiation for SKL, APL and CNL
095b2ce6178c4b59db46cc7480f1f2bf93419318 ASoC: SOF: Intel: Add Intel specific HDA trace operations
833b8c1b8a837833fbc3e2bf131d5b6b34582236 ASoC: SOF: Intel: Add Intel specific HDA stream operations
98238e88ccf873d6af6e79e34a13764c88958810 ASoC: SOF: Intel: Add Intel specific HDA PCM operations
d76a894cbb02d6917b480e183ba714f3ebac8730 ASoC: SOF: Intel: Add Intel specific HDA firmware loader
fcb16c4bf0f4068857c4ddbf9b38c5843a0b4d7e ASoC: SOF: Intel: Add Intel specific HDA IPC mechanisms.
83b6607db3dc04ac9276b907df4f2b8ed5faeac2 ASoC: SOF: Intel: Add Intel specific HDA DSP HW operations
d54566ce0bdd52934b4c2d90f5459d8c681cfc01 ASoC: SOF: Intel: Add HDA controller for Intel DSP
e73c26a043dea0670fa173a944f689580a2ec61b ASoC: SOF: Intel: Add APL/CNL HW DSP support
dc2773d6affb72fdd3f9853d892739077166bb60 ASoC: SOF: Intel: Add support for BDW HW DSP support
e44544e9a3e2cd997ff343d8c267452c7dbae1b9 ASoC: SOF: Intel: Add HSW HW DSP support
20dd090c00b8c373d72814f1cea62d1294af6575 ASoC: SOF: Intel: Add BYT, CHT and BSW DSP HW support.
2ab578b1d183eee8d6026289b3dc427437181e39 ASoC: SOF: Add Nocodec machine driver support
ebdf00b5236e94f28417b61e105d56e7e25e543e ASoC: SOF: Add PM support
e97ea6140b37be91f2e9c17300e9349014518754 ASoC: SOF: Add compressed PCM support
f9f1fc75df6efd9134474df692075e1f33fa0a17 ASoC: SOF: Add firmware loader support
26780556c9a794c4de6fe9fb19d186bec3906d6e ASoC: SOF: Add DSP HW abstraction operations
f5e31ffef490b71f8a18f282bae0ea472d65544e ASoC: SOF: Add DSP firmware trace event support
4c9acaba9dad7affd51af5c6efecf38e6283b411 ASoC: SOF: Add support for loading topologies
4c95b6d7fe56355eee66ae31de88013777be3566 ASoC: SOF: Add PCM operations support
d2ce4019d4702fe50916edbe35282798889c061d ASoC: SOF: Add support for IPC IO between DSP and Host
e7ad5e20febeb0eefeace8a242d43602154edbda ASoC: SOF: Add driver debug support.
2a565aa0fcbc57c211e62759031fd0b212e4c63f ASoC: SOF: Add Sound Open Firmware KControl support
2ae5c0b7aec57afd1c7f2e9d3e57fbc5e92c1c45 ASoC: SOF: Add Sound Open Firmware driver core
ec81ff64257d0cbf2a8ad8af709e926a2f4fb220 Revert SOF April release -- SOF driver.
f6353cb30ba052fed67ddc53a76b0a2ecc0f87cc ASoc: sof: reuse machine driver bxt-tdf8532 for GP-MRB
ec94875966594ea008c8bc3e834b27748a256129 ASoC: SOF: hw-apl
1f0147e3f1d53257eee518df8dfba3f9c1ea716b ASoC: hw-apl: cleanup for stream get/put.
43fc579f771df341a817cb7956920d7a2b9c1a74 ASoC: SOF: hw-apl: simplify stream management with helpers
a4da96e36f5285247f1436bc7376fc66b1661872 ASoC: APL/CNL: Fix of apl_trace_init().
0aaeaa9055a8654e2e24b2c24036cff5a413ae59 ASoC: APL/CNL: Add error check for apl_trace_prepare().
21299752918406058dd584405cecb41ed64785bb ASoC: SOF: BDW dont send payload in doorbell part2
0c2e15430a092638a2780d6dd101b13d2359ba8d ASoC: SOF: HSW dont send payload in doorbell part2
4df17de37161cc15d6a9f0c6123151ec40bfac27 ASoC: SOF: HSW use mailbox for IPC payload.
04e066923b65ccdb92c9f433820819d4a22776a3 ASoC: SOF: BDW use mailbox for IPC payload.
9137a397002fc51937f585c222560941931db154 ASoC: SOF: Add exception memory window support for APL and CNL
07b7b359bef4f3d9ae3aeb809aaa4610407796f4 ASoC: SOF: Add exception memory window support for BDW
f85e11c699e8aa2f8c4414d4835657d8dba2b660 ASoC: SOF: Add exception memory window support for HSW
f71ce63b190988bad34ef71f584d8ae510f5c06a ASoC: SOF: Add exception memory window support for BYT
bba5c3b0030409ff4099b08e171c670b830049fd ASoC: SOF: add dsp_oops_offset for DSP panic
e73f92f8b147a22c1fd19a104abda97755233d83 ASoC: SOF: export snd_sof_trace_notify_for_error
4e8d15d6a845d1cb48f1f4ccee943ef2495e951f ASoC: APL/CNL: Add implementation of DMA trace for APL/CNL.
9f3c328ebf9bed6bbd50ff88dff8eb119666645a ASoC: APL/CNL: Implement additional APL/CNL functions for host DMA setting.
96a9891a097e0fc759876d02cb96b1f99468764a ASoC: APL/CNL: Add stream related definition for DMA trace on APL/CNL.
879936e0214598d5e6fb12bf1fc8f4dfeb084c19 ASoC: sof: Fix oops due to trace_sleep use before init
d3c88c72f9d521d1565f6246b00fb3aa6f53cf07 ASoC: SOF: cleanup for apl/cnl stream prepare and reset
17dbd051144bb9bd364f2c0c35f41e21ceb7e922 ASoC: SOF: fix kw issues
21d2d835ea0fedc7ab8a6b8ac779704245cdadcd ASoC: Intel: fix playback only once bug
9cf7cf49e57de77b748239585f87abfb538c70b3 ASoC: SOF: Add Build support for SOF core and drivers
d4bada3e576d509101804278b6b3462dcd2a7398 ASoC: SOF: Add APL/CNL HW DSP support
2ae6f4e728d3631b3d23373750c8ce94c227f666 ASoC: SOF: Add support for BDW HW DSP support
a8188847e589c977633df1fc92cce68adc8a757b ASoC: SOF: Add HSW HW DSP support
2bf18e2d2f3a08c13d0557fee3f584b2b6495b81 ASoC: SOF: Add BYT, CHT and BSW DSP HW support.
25c72300fd68dedcb23f4da91375d26bdcc5849a ASoC: SOF: Add Nocodec machine driver support
1ddb1e297089edc870026747315cced603248662 ASoC: SOF: Add SPI device support
762e3f3074000b2ae13c2b6448b5183acbd79cce ASoC: SOF: Add PCI device support
5cd577f57fe99ff3de58fc9ba392d23fbab2dcaf ASoC: SOF: Add ACPI device support
34804250e394c22cf573002b41e053f46da78cdc ASoC: SOF: Add VirtIO support
2e8cae36b3cc929e2df0e1cc3961c04e44836369 ASoC: SOF: Add PM support
308b7082e52fffc849de785b46277231309d13ae ASoC: SOF: Add compressed PCM support
50a2087952aee5fed41bf8c66df2b2dec028984b ASoC: SOF: Add firmware loader support
fefe284f6cbf5d3bf51c21ce526779e9324f9970 ASoC: SOF: Add DSP HW abstraction operations
3e0e86e600dbe2805bb3d11ad727c4c7ef92a643 ASoC: SOF: Add DSP firmware trace event support
e6e082c994e44ef569ae62b2ca741cc8104d6f1a ASoC: SOF: Add support for loading topologies
4698b7230f31b4997b18d088afba5b439c11fa89 ASoC: SOF: Add PCM operations support
49dd6d305dfe826d1528e30705bffe367260bf67 ASoC: SOF: Add support for IPC IO between DSP and Host
684a338764668a9ae142276c6bc7238468edc1d2 ASoC: SOF: Add driver debug support.
4b81bc56a82e4daa80f3452d7f70a08865e3fb28 ASoC: SOF: Add Sound Open Firmware KControl support
8448b7aaf12a0ceb4e80453228b693adf1dbf53b ASoC: SOF: Add Sound Open Firmware driver core


# alsa_arecord -l                                      
**** List of CAPTURE Hardware Devices ****
card 0: sofbroxtontdf85 [sof-broxton_tdf8532], device 1: DiranaPb (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofbroxtontdf85 [sof-broxton_tdf8532], device 2: Port0 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofbroxtontdf85 [sof-broxton_tdf8532], device 3: Port1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofbroxtontdf85 [sof-broxton_tdf8532], device 4: Port3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofbroxtontdf85 [sof-broxton_tdf8532], device 5: Port5 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0



________________________________________
From: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
Sent: Thursday, November 15, 2018 6:49 PM
To: Muhammed, Wasim; sound-open-firmware at alsa-project.org
Subject: Re: [Sound-open-firmware] MIC record support on Apollo lake

Hi Wasim,

On 11/15/18 11:33 AM, Muhammed, Wasim wrote:
> Hi ,
>
>        I am trying to add MIC as an record device in the SOF firmware on the Apollo lake MRB platform.
>
>        Is this supported by the SOF architecture already?

To the best of my knowledge, only analog microphones connected to the
Dirana chip can be used on this platform. The microphones would thus
appear as a set of slots on the TDM link, and that configuration is
supported by the SSP code as long as you have a matching setup on Dirana
and APL. Would you mind sharing which versions/SHA1s you are currently
using for Linux driver and firmware to help confirm my answer?

Thanks

-Pierre



More information about the Sound-open-firmware mailing list