@@ -14,6 +14,24 @@ select: false
allOf:
- $ref: /schemas/graph.yaml#/$defs/port-base
+definitions:
+ flag_or_phandle:
+ oneOf:
+ - type: boolean
+ const: true
+ - type: 'null'
+ - type: array
+ minItems: 1
+ maxItems: 1
+ items:
+ type: array
+ items:
+ phandle: true
+ type: integer
+ maximum: 0xffffffff
+ minItems: 1
+ maxItems: 1
+
properties:
prefix:
description: "device name prefix"
@@ -42,10 +60,11 @@ patternProperties:
$ref: /schemas/types.yaml#/definitions/flag
frame-master:
description: Indicates dai-link frame master.
- $ref: /schemas/types.yaml#/definitions/phandle
+ $ref: "#/definitions/flag_or_phandle"
bitclock-master:
description: Indicates dai-link bit clock master
- $ref: /schemas/types.yaml#/definitions/phandle
+ $ref: "#/definitions/flag_or_phandle"
+
dai-format:
description: audio format.
items: