summaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-reference
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08hal-bt: Enrich 'halmixer' section in plugin initJonathan Aillet8-896/+44
Enrich 'halmixer' section with bluetooth specific 'source' and 'stream' during hal-bt plugin initialization. Some parameters must be passed to plugin using 'params' key in controller json plugin section. This allows to get rid of must of the additional configuration when using bluetooth in a hal. Change-Id: I5820e75307a3394eca80cf783e7bc4c31c2d7659 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Added radio stream to all the HALsThierry Bultel7-0/+91
Added the 'radio_stream' to all the HALs. This makes the radio role work in HighLevelAPI. Change-Id: I8f34224ec3dbbb1312b65642d89e672716414ac9 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-08kingfisher: merged the radio HAL into the main HALThierry Bultel2-168/+36
There was no point to have 2 separate HALs, the radio stream and capture is now merged into the main HAL Change-Id: I0ba974fdcfc17fc9a3964677361dd7509c7e74b3 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-08Add ctl actions needed by Hal-Bt in plugin initJonathan Aillet4-52/+0
Add controller events/onloads actions needed by Hal-Bt plugin in plugin initialization ('CTLP_INIT'). Therefore, these actions can be reomved from json files. Change-Id: I67391abfc7d3fd0f8b9d4fbd0fe8698497da1393 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Add hal json with bluetooth for reference boardsJonathan Aillet3-0/+657
Add hal json configuration files with bluetooth plugin specified for reference boards. Change-Id: I16055c45b5f59aa192b5948cece1ff8a73edf5a8 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08hal-4a-rcar-m3-bt.json: removed the plugin search pathThierry Bultel1-1/+0
The plugin search paths are not needed because the default (hard-coded) search paths are good. Change-Id: Ibe286219ff9af535cb104e9a7a81e0a8d6479f4a Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-08Implement link with softmixer in hal-bt pluginJonathan Aillet1-1/+35
In hal bluetooth plugin, implement all call to softmixer used to enable/disable bluetooth stream and to set bt streamed device. Change-Id: I16f6fbf6a02f34490876d390883bdd040661647e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08minnow board: fixed the pcm device in json configThierry Bultel1-2/+3
Now specifies the device, in addition of the card path. Also fixes the volume control name that has changed on the board for some reason. Change-Id: Ibb217c834addcb8f51195cfec75779928ae61a91 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-08Add bluetooth hal pluginJonathan Aillet1-0/+198
Add first version of a hal plugin that will handle hal that wants bluetooth as an audio device. Change-Id: I4f5628ef9688c417b1b443fc3c4948cb23c17214 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Correct 'volume' control in Minnowboard halJonathan Aillet1-1/+1
Correct 'volume' control in Minnowboard hal. Change-Id: Ib9b08aec5d4ead4258510544e7a8decf0ae3f65a Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove trailing white spaces in radio config fileJonathan Aillet1-32/+31
Remove trailing white spaces in radio configuration file. Normalize indentation in radio configuration json file. Change-Id: I4590fec9653ecd1fa0e8f4c7366827ad60326e3c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Added a radio to 2 channels playback .json exampleThierry Bultel1-0/+167
This files is an example on how to make the softmixer directly read from a capture device. In that particular example, the capture is the radio capture of the kingfisher board, and the playback is the ak4613 codecs. The stream rate and format must match the capture capablities. Change-Id: Id9796f73299a83822bb80878db6517cadf8001b6 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-08Add hal for intel qemu audio configurationJonathan Aillet1-0/+193
Add hal for intel qemu audio configuration since QEMU '/dev/snd/...' entry is not the same for a qemu audio device than for generic intel device. Bug-AGL: SPEC-1558 Change-Id: Id258a649811c603d7973e48f8bcbd81500e9a5fa Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Don't handle hal enablingJonathan Aillet1-1/+1
All hal that shouldn't be enable for the target will be disable using a recipe in yocto. 4a-hal-generic shouldn't take care of enabling/disabling hals. Change-Id: I38363fb7933ed73d7a4e855949ae9dd521db2862 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Correct audio configurations for Rcar boardsJonathan Aillet2-14/+24
Correct audio configurations for the following Rcar boards : - M3 - M3/Kingfisher Change-Id: Ie68be0385fb978b44dea4ce2afd4e9fdc0c8c45c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Disable community hals by defaultJonathan Aillet4-400/+2
Disable community hals by default. Also move some hals from reference configurations directory to community configurations directory. Add prefixes to all hal for mixer attach. Change-Id: Ib1f74c313dbc4596457f9535d3e593a7019b55fa Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update Kingfisher json configuration filesJonathan Aillet1-1/+1
Update Kingfisher json configuration files to avoid confilcts with regular m3 json configuration file. Change-Id: I8b9425065dc273fc8e66a1f4c5822c93168b183c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-084a-hal-cfg-reference: add HAL definition for M3 on KingfisherStephane Desneux1-0/+199
When M3 board is plugged on Kingfisher board, the internal M3 card is not reachable with the same device name, due to changes in the DTB. The added file hal-4a-rcar-m3kf.json is thus a copy of hal-4a-rcar-m3.json where '/dev/snd/by-path/platform-sound' has been replaced by '/dev/snd/by-path/platform-sound@1' (<- '@1' at the end) Change-Id: I44c07ee83b3d884fb52a28f6ed1418765a0a0816 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-08Add Hal (audio json configration files)Jonathan Aillet4-1/+580
Add some audio json configration files inspired from hal available in '4a-hal-reference' and '4a-hal-community'. Each one of these files are meant to be be a reproduction of old hal using the new 4a-hal implementation. List of hal added : - Rcar M3 - Intel Minnowboard - 2ch generic usb - Intel - Jabra solemate - Ensoniq Change-Id: I6bac5ed1e6d4ab72975427a9a2343851f874df79 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update USB json configuration filesJonathan Aillet2-10/+198
Update USB json configuration files and README. Change-Id: Ib217da9189fd928e0842bf8da85a362c1423080e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove test cfg files and add community cfg fileJonathan Aillet1-0/+31
Now, the configuration files should be into these 2 directories : - 4a-hal-cfg-community/ - 4a-hal-cfg-reference/ A configuration file has been added for 'CSL CM106 8ch USB' audio device in community directory. The test configuration files has been removed. The README.md has been updated accordingly to these modifications. Change-Id: I03d197a534b2a36bacea8e09d3098b5b92c8d3b7 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>