mbox series

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

Message ID 20220503065407.52188-1-krzysztof.kozlowski@linaro.org (mailing list archive)
Headers show
Series dmaengine/ARM: pxa/mmp: use proper 'dma-channels/requests' properties | expand

Message

Krzysztof Kozlowski May 3, 2022, 6:54 a.m. UTC
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(-)

Comments

Vinod Koul May 19, 2022, 5:24 p.m. UTC | #1
On 03-05-22, 08:54, Krzysztof Kozlowski wrote:
> 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.

Applied 1-3, thanks