# \[PATCH v4 07/11\] dmaengine: sun6i: Retrieve channel count/max request from devicetree

- From: Vinod Koul \<hidden\>
- Date: 2017-10-16 06:58:05 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2017/10/5110062
- Thread: https://ratatoskr.run/linux-devicetree/2017/09/5097043/t.md

```text
On Thu, Sep 28, 2017 at 03:49:24AM +0200, Stefan Br?ns wrote:
> To avoid introduction of a new compatible for each small SoC/DMA controller
> variation, move the definition of the channel count to the devicetree.
> 
> The number of vchans is no longer explicit, but limited by the highest
> port/DMA request number. The result is a slight overallocation for SoCs
> with a sparse port mapping.

This doesnt apply for me, please check

-- 
~Vinod
```
