mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
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. Assisted-by: Codex:gpt-5-5 Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Link: https://patch.msgid.link/20260612215226.1887726-1-robh@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
287bdea775
commit
fa9cb11584
|
|
@ -98,7 +98,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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user