powerpc: add fsl,fifo-depth property to Freescale SSI device nodes
authorTimur Tabi <timur@freescale.com>
Wed, 4 Mar 2009 20:55:30 +0000 (14:55 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 9 Mar 2009 15:52:03 +0000 (10:52 -0500)
The Freescale Serial Synchronous Interface (SSI) is an audio device present on
some Freescale SOCs.  Various implementations of the SSI have a different
transmit and receive FIFO depth, but are otherwise identical.  To support
these variations, add a new property fsl,fifo-depth to the SSI node that
specifies the depth of the FIFOs.

Also update the MPC8610 HPCD device tree with this property.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Documentation/powerpc/dts-bindings/fsl/ssi.txt
arch/powerpc/boot/dts/mpc8610_hpcd.dts

index a2d963998a654ab5042d67b24130dbf33dc12f71..731332288931b37f16f9912424928459aa849db5 100644 (file)
@@ -30,6 +30,8 @@ Required properties:
 - fsl,capture-dma:  phandle to a node for the DMA channel to use for
                     capture (recording) of audio.  This is typically dictated
                     by SOC design.  See the notes below.
+- fsl,fifo-depth:   the number of elements in the transmit and receive FIFOs.
+                    This number is the maximum allowed value for SFCSR[TFWM0].
 
 Optional properties:
 - codec-handle   : phandle to a 'codec' node that defines an audio
index f724d72c7b92db819d2b9229da620938ba6c0104..1bd3ebe114377baf5c0c748e05f5ee4a6a31bb87 100644 (file)
                        codec-handle = <&cs4270>;
                        fsl,playback-dma = <&dma00>;
                        fsl,capture-dma = <&dma01>;
+                       fsl,fifo-depth = <8>;
                };
 
                ssi@16100 {
                        reg = <0x16100 0x100>;
                        interrupt-parent = <&mpic>;
                        interrupts = <63 2>;
+                       fsl,fifo-depth = <8>;
                };
 
                dma@21300 {