[PATCH] powerpc: fix conflict with Elo DMA driver in MPC8610 device tree

Kumar Gala galak at kernel.crashing.org
Sat Oct 11 00:30:02 EST 2008


On Sep 26, 2008, at 12:20 PM, Timur Tabi wrote:

> The Freescale Elo DMA driver binds to all DMA channels in the device  
> tree that
> are compatible with "fsl,eloplus-dma-channel".  This conflicts with  
> the sound
> drivers for the MPC8610.  To avoid the conflict, change the  
> compatible property
> for the DMA channels needed by the sound drivers to "fsl,ssi-dma- 
> channel".
> This works because the sound drivers don't actually check the  
> compatible
> property when it grabs DMA channels.
>
> Also update dma.txt and ssi.txt with this information.
>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> Documentation/powerpc/dts-bindings/fsl/dma.txt |   13 +++++++++++--
> Documentation/powerpc/dts-bindings/fsl/ssi.txt |   12 ++++++++++--
> arch/powerpc/boot/dts/mpc8610_hpcd.dts         |    4 ++--
> 3 files changed, 23 insertions(+), 6 deletions(-)

Break this into two patches.  The second one should just be the .dts  
and specifically say "on the MPC8610 HPCD board we use SSI and thus  
the dma channel is not available for general purpose use"...

- k



More information about the Linuxppc-dev mailing list