On Friday 25 September 2015 15:56:38 Jon Hunter wrote: > Currently, the #dma-cells property must be 1 or more. However, for some > DMA controllers, where DMA clients may use any DMA channel and it is not > necessary to specify any other DMA information in the device-tree DMA > binding, setting #dma-cells to 0 is desirable. The Tegra210 ADMA > controller is an example of a DMA controller where neither the DMA > channel or the hardware request signal need to be encoded in the > device-tree binding. > > By allowing DMA controllers to set #dma-cells to 0, means that the > "dma-names" property for these controllers is not needed. Therefore, > update the of_dma_request_slave_channel() and of_dma_match_channel() > functions to ignore this property if no name is provided. > > Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx> Sorry, but this makes no sense. #dma-cells=0 would imply that there is only one slave per DMA controller, but that is not the case here. As commented in patch 3, you actually support multiple slaves, you just use the wrong interface. Arnd -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html