dt-bindings: dma: xilinx: Fix "xlnx,irq-delay" type
Subsystems (3)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: dma: xilinx: Fix "xlnx,irq-delay" type
"xlnx,irq-delay" programs an 8-bit delay field in the DMA control register, and the driver stores and reads it as a byte. The binding described the property as a uint32 cell, which made the helper type check report the driver as wrong.
Document "xlnx,irq-delay" as uint8 so the generated schema reflects the hardware field width and the existing driver access.
--- Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml +1 -1
@@ -93,7 +93,7 @@ properties: Width in bits of the length register as configured in hardware. xlnx,irq-delay: - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint8 minimum: 0 maximum: 255 description:
Signature · 1 line
2.53.0
Quoted 10 lines
"xlnx,irq-delay" programs an 8-bit delay field in the DMA control register, and the driver stores and reads it as a byte. The binding described the property as a uint32 cell, which made the helper type check report the driver as wrong.
Document "xlnx,irq-delay" as uint8 so the generated schema reflects the hardware field width and the existing driver access.
Assisted-by Codex:gpt-5-5Signed-off-by Rob Herring (Arm) <[email protected]>
Thanks!
Quoted 17 lines
--- Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml +1
-1@@ -93,7 +93,7 @@ properties: Width in bits of the length register as configured in hardware. xlnx,irq-delay: - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint8 minimum: 0 maximum: 255 description:
Quoted 9 lines · Rob Herring (Arm)
"xlnx,irq-delay" programs an 8-bit delay field in the DMA control register, and the driver stores and reads it as a byte. The binding described the property as a uint32 cell, which made the helper type check report the driver as wrong.
Document "xlnx,irq-delay" as uint8 so the generated schema reflects the hardware field width and the existing driver access.
[...]
Applied, thanks!
[1/1] dt-bindings: dma: xilinx: Fix "xlnx,irq-delay" type
commit: fa9cb11584851414b25fd8bf9f59518424b5917c
Best regards,
Signature · 1 line
~Vinod