Is there a binding for IORESOURCE_DMA population?

Tabi Timur-B04825 B04825 at freescale.com
Sun Jul 17 00:43:31 EST 2011


Shawn Guo wrote:
> ssi at 83fcc000 { /* SSI1 */
> 	compatible = "fsl,imx51-ssi", "fsl,imx1-ssi";
> 	reg =<0x83fcc000 0x4000>;
> 	interrupts =<29>;
> 	fsl,dma-events =<29 28 27 26>; /* TX0 RX0 TX1 RX1 */
> 	fsl,ssi-uses-dma;
> };

This is similar to what we do on PowerPC:

             ssi at 15000 {
                     compatible = "fsl,mpc8610-ssi";
                     cell-index = <0>;
                     reg = <0x15000 0x100>;
                     interrupts = <75 2 0 0>;
                     fsl,mode = "i2s-slave";
                     codec-handle = <&wm8776>;
                     fsl,playback-dma = <&dma00>;
                     fsl,capture-dma = <&dma01>;
                     fsl,fifo-depth = <15>;
                     fsl,ssi-asynchronous;
              };

Keep in mind that there already is a device-tree enabled SSI driver, so 
you need to find a way to use that driver, instead of adding device-tree 
support to the non-DT driver that's already there.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the devicetree-discuss mailing list