mbox series

[0/2] dmaengine: at_xdmac: retrieve DMA channels from device tree

Message ID 20250205-mchp-dma-v1-0-124b639d5afe@microchip.com (mailing list archive)
Headers show
Series dmaengine: at_xdmac: retrieve DMA channels from device tree | expand

Message

Dharma Balasubiramani Feb. 5, 2025, 5:47 a.m. UTC
This patch series adds support to get the number of DMA channels available in
XDMAC from dts. This property is required when the channel count cannot be read
from the XDMAC_GTYPE register (which occurs when accessing from non-secure
world on certain devices)

Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
---
Dharma Balasubiramani (1):
      dt-bindings: dma: at_xdmac: document dma-channels property

Tony Han (1):
      dmaengine: at_xdmac: get the number of DMA channels from device tree

 .../devicetree/bindings/dma/atmel,sama5d4-dma.yaml | 26 ++++++++++++++--------
 drivers/dma/at_xdmac.c                             | 26 +++++++++++++++++++---
 2 files changed, 40 insertions(+), 12 deletions(-)
---
base-commit: 40b8e93e17bff4a4e0cc129e04f9fdf5daa5397e
change-id: 20250205-mchp-dma-355c838f26f4

Best regards,