From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tabi Timur-B04825 Subject: Re: Is there a binding for IORESOURCE_DMA population? Date: Sat, 16 Jul 2011 14:43:31 +0000 Message-ID: <4E21A392.3010608@freescale.com> References: <20110715163254.GG1840@S2100-06.ap.freescale.net> <201107152011.41546.arnd@arndb.de> <20110716075748.GI1840@S2100-06.ap.freescale.net> <201107161409.46719.arnd@arndb.de> <20110716143456.GA2374@S2100-06.ap.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110716143456.GA2374-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org> Content-Language: en-US Content-ID: <6BAEC741E6ED8A41B844AEB5C632A172-KZfg59tc24wqcZcGjlUOXw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Cc: Guo Shawn-R65073 , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" List-Id: devicetree@vger.kernel.org Shawn Guo wrote: > ssi@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@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