device: add support for parent devices

This allows device nesting, i.e. one device being opened inside another
one.
This commit is contained in:
Christian Kellner 2021-08-09 16:16:45 +02:00 committed by Tom Gundersen
parent 6ea5ce1836
commit 45d0594b1b
7 changed files with 128 additions and 11 deletions

View file

@ -29,6 +29,7 @@
"required": ["type"],
"properties": {
"type": { "type": "string" },
"parent": { "type": "string" },
"options": {
"type": "object",
"additionalProperties": true