Skip to content

Commit 09a2fb4

Browse files
Biao Huangrobherring
authored andcommitted
dt-bindings: net: snps,dwmac: modify available values of PBL
PBL can be any of the following values: 1, 2, 4, 8, 16 or 32 according to the datasheet, so modify available values of PBL in snps,dwmac.yaml. Signed-off-by: Biao Huang <biao.huang@mediatek.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220324012112.7016-2-biao.huang@mediatek.com
1 parent bff4e30 commit 09a2fb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,21 +340,21 @@ allOf:
340340
description:
341341
Programmable Burst Length (tx and rx)
342342
$ref: /schemas/types.yaml#/definitions/uint32
343-
enum: [2, 4, 8]
343+
enum: [1, 2, 4, 8, 16, 32]
344344

345345
snps,txpbl:
346346
description:
347347
Tx Programmable Burst Length. If set, DMA tx will use this
348348
value rather than snps,pbl.
349349
$ref: /schemas/types.yaml#/definitions/uint32
350-
enum: [2, 4, 8]
350+
enum: [1, 2, 4, 8, 16, 32]
351351

352352
snps,rxpbl:
353353
description:
354354
Rx Programmable Burst Length. If set, DMA rx will use this
355355
value rather than snps,pbl.
356356
$ref: /schemas/types.yaml#/definitions/uint32
357-
enum: [2, 4, 8]
357+
enum: [1, 2, 4, 8, 16, 32]
358358

359359
snps,no-pbl-x8:
360360
$ref: /schemas/types.yaml#/definitions/flag

0 commit comments

Comments
 (0)