summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorShengjiu Wang <b02247@freescale.com>2013-08-12 14:12:36 +0800
committerJason Liu <r64343@freescale.com>2013-10-30 09:54:37 +0800
commitb596015e75a79ff4ebfd513acf20b9735acb17f6 (patch)
tree3c79ca70517f3e65fa5ef7fbf877970fd52eb412 /Documentation
parentf2ac678211d5ec3966b33aa82ea59e965fa31379 (diff)
ENGR00274585-4 ASoC: fsl: add esai driver
add esai driver. add bindings documentation of esai Signed-off-by: Shengjiu Wang <b02247@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/fsl-easi.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/fsl-easi.txt b/Documentation/devicetree/bindings/sound/fsl-easi.txt
new file mode 100644
index 000000000000..b6196622accd
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/fsl-easi.txt
@@ -0,0 +1,26 @@
+* Freescale Enhanced Serial Audio Interface (ESAI)
+
+Required properties:
+ - compatible: Should be "fsl,<chip>-esai".
+ - reg: Offset and length of the register set for the device.
+ - interrupts: Contains ESAI interrupt.
+ - clocks: Contains an entry for each entry in clock-names.
+ - fsl,fifo-depth: The number of elements in the transmit and receive FIFOs.
+ This number is the maximum allowed value for TFCR[TFWM].
+ - fsl,esai-dma-events: The dma event of the esai, <a b>, a is the tx dma.
+ b is the rx dma.
+ - fsl,flags: <1> is for ESAI network mode, <2> is for ESAI SYNC mode.
+ <3> is for network and SYNC mode.
+
+Example:
+
+esai: esai@02024000 {
+ compatible = "fsl,imx6q-esai";
+ reg = <0x02024000 0x4000>;
+ interrupts = <0 51 0x04>;
+ clocks = <&clks 118>;
+ fsl,fifo-depth = <128>;
+ fsl,esai-dma-events = <24 23>;
+ fsl,flags = <1>;
+ status = "disabled";
+};