ssi.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Freescale Synchronous Serial Interface
  2. The SSI is a serial device that communicates with audio codecs. It can
  3. be programmed in AC97, I2S, left-justified, or right-justified modes.
  4. Required properties:
  5. - compatible : compatible list, containing "fsl,ssi"
  6. - cell-index : the SSI, <0> = SSI1, <1> = SSI2, and so on
  7. - reg : offset and length of the register set for the device
  8. - interrupts : <a b> where a is the interrupt number and b is a
  9. field that represents an encoding of the sense and
  10. level information for the interrupt. This should be
  11. encoded based on the information in section 2)
  12. depending on the type of interrupt controller you
  13. have.
  14. - interrupt-parent : the phandle for the interrupt controller that
  15. services interrupts for this device.
  16. - fsl,mode : the operating mode for the SSI interface
  17. "i2s-slave" - I2S mode, SSI is clock slave
  18. "i2s-master" - I2S mode, SSI is clock master
  19. "lj-slave" - left-justified mode, SSI is clock slave
  20. "lj-master" - l.j. mode, SSI is clock master
  21. "rj-slave" - right-justified mode, SSI is clock slave
  22. "rj-master" - r.j., SSI is clock master
  23. "ac97-slave" - AC97 mode, SSI is clock slave
  24. "ac97-master" - AC97 mode, SSI is clock master
  25. Optional properties:
  26. - codec-handle : phandle to a 'codec' node that defines an audio
  27. codec connected to this SSI. This node is typically
  28. a child of an I2C or other control node.
  29. Child 'codec' node required properties:
  30. - compatible : compatible list, contains the name of the codec
  31. Child 'codec' node optional properties:
  32. - clock-frequency : The frequency of the input clock, which typically
  33. comes from an on-board dedicated oscillator.