fsl,esai.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Freescale Enhanced Serial Audio Interface (ESAI) Controller
  2. The Enhanced Serial Audio Interface (ESAI) provides a full-duplex serial port
  3. for serial communication with a variety of serial devices, including industry
  4. standard codecs, Sony/Phillips Digital Interface (S/PDIF) transceivers, and
  5. other DSPs. It has up to six transmitters and four receivers.
  6. Required properties:
  7. - compatible : Compatible list, must contain "fsl,imx35-esai" or
  8. "fsl,vf610-esai"
  9. - reg : Offset and length of the register set for the device.
  10. - interrupts : Contains the spdif interrupt.
  11. - dmas : Generic dma devicetree binding as described in
  12. Documentation/devicetree/bindings/dma/dma.txt.
  13. - dma-names : Two dmas have to be defined, "tx" and "rx".
  14. - clocks : Contains an entry for each entry in clock-names.
  15. - clock-names : Includes the following entries:
  16. "core" The core clock used to access registers
  17. "extal" The esai baud clock for esai controller used to
  18. derive HCK, SCK and FS.
  19. "fsys" The system clock derived from ahb clock used to
  20. derive HCK, SCK and FS.
  21. - fsl,fifo-depth : The number of elements in the transmit and receive
  22. FIFOs. This number is the maximum allowed value for
  23. TFCR[TFWM] or RFCR[RFWM].
  24. - fsl,esai-synchronous: This is a boolean property. If present, indicating
  25. that ESAI would work in the synchronous mode, which
  26. means all the settings for Receiving would be
  27. duplicated from Transmition related registers.
  28. - big-endian : If this property is absent, the native endian mode
  29. will be in use as default, or the big endian mode
  30. will be in use for all the device registers.
  31. Example:
  32. esai: esai@02024000 {
  33. compatible = "fsl,imx35-esai";
  34. reg = <0x02024000 0x4000>;
  35. interrupts = <0 51 0x04>;
  36. clocks = <&clks 208>, <&clks 118>, <&clks 208>;
  37. clock-names = "core", "extal", "fsys";
  38. dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
  39. dma-names = "rx", "tx";
  40. fsl,fifo-depth = <128>;
  41. fsl,esai-synchronous;
  42. big-endian;
  43. status = "disabled";
  44. };