OSDN Git Service

dma: mxs-dma: make platform_device_id more generic
authorShawn Guo <shawn.guo@linaro.org>
Wed, 9 May 2012 22:23:26 +0000 (06:23 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sat, 12 May 2012 05:32:17 +0000 (13:32 +0800)
commit8c92013643f5c40633d61ae331cef49c1069af10
tree7c385fabafab5ded73621c42639b61e06fa94f6e
parentbb11fb63fc2e5d1092f17d91790bb4aede6d3ef2
dma: mxs-dma: make platform_device_id more generic

Rewrite mxs_dma_is_apbh and mxs_dma_is_apbx in order to support
other SoCs like imx6q and reform the platform_device_id for the
better further dt support.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Huang Shijie <b32955@freescale.com>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/mach-mxs/devices/platform-dma.c
drivers/clk/mxs/clk-imx23.c
drivers/clk/mxs/clk-imx28.c
drivers/dma/mxs-dma.c
include/linux/fsl/mxs-dma.h