فهرست منبع

dma: mpc512x: separate 'compatible' values for MPC512x and MPC8308

MPC512x and MPC8308 have similar DMA controllers, but are independent SoCs.
DMA controller driver should have separate 'compatible' values for these SoCs.

Signed-off-by: Alexander Popov <a13xp0p0v88@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Alexander Popov 11 سال پیش
والد
کامیت
62057d3375
3فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 1 1
      arch/powerpc/boot/dts/mpc8308_p1m.dts
  2. 1 1
      arch/powerpc/boot/dts/mpc8308rdb.dts
  3. 1 0
      drivers/dma/mpc512x_dma.c

+ 1 - 1
arch/powerpc/boot/dts/mpc8308_p1m.dts

@@ -296,7 +296,7 @@
 		};
 
 		dma@2c000 {
-			compatible = "fsl,mpc8308-dma", "fsl,mpc5121-dma";
+			compatible = "fsl,mpc8308-dma";
 			reg = <0x2c000 0x1800>;
 			interrupts = <3 0x8
 					94 0x8>;

+ 1 - 1
arch/powerpc/boot/dts/mpc8308rdb.dts

@@ -265,7 +265,7 @@
 		};
 
 		dma@2c000 {
-			compatible = "fsl,mpc8308-dma", "fsl,mpc5121-dma";
+			compatible = "fsl,mpc8308-dma";
 			reg = <0x2c000 0x1800>;
 			interrupts = <3 0x8
 					94 0x8>;

+ 1 - 0
drivers/dma/mpc512x_dma.c

@@ -815,6 +815,7 @@ static int mpc_dma_remove(struct platform_device *op)
 
 static struct of_device_id mpc_dma_match[] = {
 	{ .compatible = "fsl,mpc5121-dma", },
+	{ .compatible = "fsl,mpc8308-dma", },
 	{},
 };