On Tuesday 30 April 2013, Lee Jones wrote: > @@ -6,6 +6,8 @@ Required properties: > - reg-names: Names of the above areas to use during resource look-up > - interrupt: Should contain the DMAC interrupt number > - #dma-cells: must be <3> > +- memcpy-channels: Channels to be used for memcpy > +- memcpy-num-chans: Number of channels to be used for memcpy > > Optional properties: > - dma-channels: Number of channels supported by hardware - if not present > @@ -21,6 +23,8 @@ Example: > interrupts = <0 25 0x4>; > > #dma-cells = <2>; > + memcpy-channels = <56, 57, 58, 59, 60>; > + memcpy-num-chans = <5>; > dma-channels = <8>; > }; >
I think you should remove the memcpy-num-chans property and instead evaluate the length of the memcpy-channels property. Aside from this, it looks fine. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/