[PATCH v2 0/4] dmaengine/ARM: pxa/mmp: use proper 'dma-channels/requests' properties

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon May 2 23:54:03 PDT 2022


Hi,

The core DT schema defines generic 'dma-channels' and 'dma-requests'
properties, so in preparation to moving bindings to DT schema, convert
existing users of '#dma-channels' and '#dma-requests' to the generic
variant.

Not tested on hardware.

The patchset is bisectable - please pick up through independent trees.

Changes since v1
================
1. Keep old properties, so the patchset is bisectable.
2. Add review tags.

See also:
[1] https://lore.kernel.org/linux-devicetree/fedb56be-f275-aabb-cdf5-dbd394b8a7bd@linaro.org/T/#m6235f451045c337d70a62dc65eab9a716618550b

Krzysztof Kozlowski (4):
  dt-bindings: dmaengine: mmp: deprecate '#dma-channels' and
    '#dma-requests'
  dmaengine: pxa: deprecate '#dma-channels' and '#dma-requests'
  dmaengine: mmp: deprecate '#dma-channels'
  ARM: dts: pxa: use new 'dma-channels/requests' properties

 Documentation/devicetree/bindings/dma/mmp-dma.txt | 10 ++++++----
 arch/arm/boot/dts/mmp2.dtsi                       |  2 ++
 arch/arm/boot/dts/pxa25x.dtsi                     |  5 ++++-
 arch/arm/boot/dts/pxa27x.dtsi                     |  5 ++++-
 arch/arm/boot/dts/pxa3xx.dtsi                     |  5 ++++-
 drivers/dma/mmp_pdma.c                            | 14 +++++++++-----
 drivers/dma/pxa_dma.c                             | 13 ++++++++++---
 7 files changed, 39 insertions(+), 15 deletions(-)

-- 
2.32.0




More information about the linux-arm-kernel mailing list