Skip to content

Commit 992c287

Browse files
robherringkuba-moo
authored andcommitted
dt-bindings: net: snps,dwmac: Align 'snps,priority' type definition
'snps,priority' is also defined in dma/snps,dw-axi-dmac.yaml as a uint32-array. It's preferred to have a single type for a given property name, so update the type in snps,dwmac schema to match. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240401204422.1692359-2-robh@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent c1a6589 commit 992c287

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Documentation/devicetree/bindings/net/snps,dwmac.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ properties:
242242
type: boolean
243243
description: Multicast & Broadcast Packets
244244
snps,priority:
245-
$ref: /schemas/types.yaml#/definitions/uint32
245+
$ref: /schemas/types.yaml#/definitions/uint32-array
246+
maxItems: 1
246247
description: Bitmask of the tagged frames priorities assigned to the queue
247248
allOf:
248249
- if:
@@ -393,7 +394,8 @@ properties:
393394
$ref: /schemas/types.yaml#/definitions/uint32
394395
description: max read outstanding req. limit
395396
snps,priority:
396-
$ref: /schemas/types.yaml#/definitions/uint32
397+
$ref: /schemas/types.yaml#/definitions/uint32-array
398+
maxItems: 1
397399
description:
398400
Bitmask of the tagged frames priorities assigned to the queue.
399401
When a PFC frame is received with priorities matching the bitmask,

0 commit comments

Comments
 (0)