diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2017-10-17 01:06:34 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-10-23 11:44:03 +0530 |
commit | 464aa6f54b093df1ccaff6558207f8bf68a69c37 (patch) | |
tree | 5e85763517793b83e2e0ea1edf533d2ec745e76b /usr | |
parent | 12e0177055ee4b5ab656414b32054e64568160d8 (diff) |
dmaengine: sun6i: Retrieve channel count/max request from devicetree
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.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions