ARM: edma: Add EDMA crossbar event mux support
authorMatt Porter <mporter@ti.com>
Thu, 20 Jun 2013 21:06:39 +0000 (16:06 -0500)
committerSekhar Nori <nsekhar@ti.com>
Mon, 24 Jun 2013 08:38:34 +0000 (14:08 +0530)
commit2646a0e52b65a5ea3d108794611f95df1a6cb409
tree172e60e26d8698bccc28f0f73d03c4969c775e0e
parent6cba4355066bda19f14d4da66b8abbca0ffdfd59
ARM: edma: Add EDMA crossbar event mux support

EDMA supports a cross bar which provides ability
to mux additional events into physical channels
present in the channel controller.

This is required when the number of events present
in the system are more than number of available
physical channels.

Changes by Joel:
* Split EDMA xbar support out of original EDMA DT parsing patch
to keep it easier for review.
* Rewrite shift and offset calculation.

Suggested-by: Sekhar Nori <nsekhar@ti.com>
Suggested by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
[nsekhar@ti.com: fix checkpatch errors and a minor coding improvement]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/common/edma.c
include/linux/platform_data/edma.h