summaryrefslogtreecommitdiffstats
path: root/reference-boards/hal-4a-rcar-m3.json
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-06-26 17:40:30 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-06-26 17:41:45 +0200
commitd8a360eeb69c52dd811ab8d8f811cdc996744059 (patch)
tree5ff3bd0f112a0ce9256de5578971ba064edf52b0 /reference-boards/hal-4a-rcar-m3.json
parentb080c08d2ac82f7c38aace9587703b9182377c33 (diff)
Updates all hals to use 'haldependencies' resolution in 'halmap' section. That means that : - An halmap control is created for the corresponding audio device using 'target' key to map dependency. - 'uid' key in 'metadata' section is no longer used to find audio device. BUG-AGL: SPEC-2329 Change-Id: I2e6da5a3d6ca3f51bf1e6a3f87e930396fab57a6 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'reference-boards/hal-4a-rcar-m3.json')
-rw-r--r--reference-boards/hal-4a-rcar-m3.json74
1 files changed, 41 insertions, 33 deletions
diff --git a/reference-boards/hal-4a-rcar-m3.json b/reference-boards/hal-4a-rcar-m3.json
index 9a243aa..85cfc98 100644
--- a/reference-boards/hal-4a-rcar-m3.json
+++ b/reference-boards/hal-4a-rcar-m3.json
@@ -1,13 +1,13 @@
{
"$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
"metadata": {
- "uid": "/dev/snd/by-path/platform-sound",
- "version": "0.9",
+ "uid": "RENESAS-M3-JACK-4A-HAL",
+ "version": "0.99",
"api": "4a-hal-rcar-m3",
"require": [ "alsacore", "smixer" ],
"info": "4a hal for Rcar M3 device",
"author": "Jonathan Aillet",
- "date": "2018-06-13"
+ "date": "2019-06-26"
},
"resources": [
{
@@ -34,38 +34,46 @@
"action": "api://4a-hal-manager#ping"
}
],
- "haldependencies" : {
- "uid" : "renesas-m3-jack",
- "class" : "mandatory",
- "cardPath" : "/dev/snd/by-path/platform-sound"
- },
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "DVC Out Playback Volume",
- "value": 80
- }
- },
+ "haldependencies" : [
{
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "DVC Out Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "SRC Out Rate Switch",
- "value": 1
- }
- },
+ "uid" : "renesas-m3-jack",
+ "class" : "mandatory",
+ "cardPath" : "/dev/snd/by-path/platform-sound"
+ }
+ ],
+ "halmap": [
{
- "uid": "agl-capture-volume",
- "alsa": {
- "name": "DVC In Capture Volume"
- }
+ "uid" : "halmap-renesas-m3-jack",
+ "target" : "renesas-m3-jack",
+ "controls" : [
+ {
+ "uid": "agl-master-playback-volume",
+ "alsa": {
+ "name": "DVC Out Playback Volume",
+ "value": 80
+ }
+ },
+ {
+ "uid": "agl-pcm-playback-volume",
+ "alsa": {
+ "name": "DVC Out Playback Volume",
+ "value": 80
+ }
+ },
+ {
+ "uid": "agl-pcm-playback-switch",
+ "alsa": {
+ "name": "SRC Out Rate Switch",
+ "value": 1
+ }
+ },
+ {
+ "uid": "agl-capture-volume",
+ "alsa": {
+ "name": "DVC In Capture Volume"
+ }
+ }
+ ]
}
],
"halmixer": {