Thomas Abraham wrote: > Sent: Tuesday, October 11, 2011 3:16 AM > To: linux-arm-ker...@lists.infradead.org > Cc: linux-samsung-soc@vger.kernel.org; kgene....@samsung.com; > vinod.k...@intel.com; Jassi Brar; Boojin Kim > Subject: [PATCH v6 04/10] DMA: PL330: Add device tree support > > For PL330 dma controllers instantiated from device tree, the channel > lookup is based on phandle of the dma controller and dma request id > specified by the client node. During probe, the private data of each > channel of the controller is set to point to the device node of the > dma controller. The 'chan_id' of the each channel is used as the > dma request id. > > Client driver requesting dma channels specify the phandle of the > dma controller and the request id. The pl330 filter function > converts the phandle to the device node pointer and matches that > with channel's private data. If a match is found, the request id > from the client node and the 'chan_id' of the channel is matched. > A channel is found if both the values match. > > Cc: Jassi Brar <jassisinghb...@gmail.com> > Cc: Boojin Kim <boojin....@samsung.com> > Signed-off-by: Thomas Abraham <thomas.abra...@linaro.org> > Reviewed-by: Rob Herring <rob.herr...@calxeda.com> > Acked-by: Jassi Brar <jassisinghb...@gmail.com> > Acked-by: Grant Likely <grant.lik...@secretlab.ca> > ---
Looks good to me. Acked-by: Boojin Kim <boojin....@samsung.com> -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html