Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexander Popov and committed by
Vinod Koul
62057d33 78a4f036

+3 -2
+1 -1
arch/powerpc/boot/dts/mpc8308_p1m.dts
··· 296 296 }; 297 297 298 298 dma@2c000 { 299 - compatible = "fsl,mpc8308-dma", "fsl,mpc5121-dma"; 299 + compatible = "fsl,mpc8308-dma"; 300 300 reg = <0x2c000 0x1800>; 301 301 interrupts = <3 0x8 302 302 94 0x8>;
+1 -1
arch/powerpc/boot/dts/mpc8308rdb.dts
··· 265 265 }; 266 266 267 267 dma@2c000 { 268 - compatible = "fsl,mpc8308-dma", "fsl,mpc5121-dma"; 268 + compatible = "fsl,mpc8308-dma"; 269 269 reg = <0x2c000 0x1800>; 270 270 interrupts = <3 0x8 271 271 94 0x8>;
+1
drivers/dma/mpc512x_dma.c
··· 815 815 816 816 static struct of_device_id mpc_dma_match[] = { 817 817 { .compatible = "fsl,mpc5121-dma", }, 818 + { .compatible = "fsl,mpc8308-dma", }, 818 819 {}, 819 820 }; 820 821