img,i2s-out.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Imagination Technologies I2S Output Controller
  2. Required Properties:
  3. - compatible : Compatible list, must contain "img,i2s-out"
  4. - #sound-dai-cells : Must be equal to 0
  5. - reg : Offset and length of the register set for the device
  6. - clocks : Contains an entry for each entry in clock-names
  7. - clock-names : Must include the following entries:
  8. "sys" The system clock
  9. "ref" The reference clock
  10. - dmas: Contains an entry for each entry in dma-names.
  11. - dma-names: Must include the following entry:
  12. "tx" Single DMA channel used by all active I2S channels
  13. - img,i2s-channels : Number of I2S channels instantiated in the I2S out block
  14. - resets: Contains a phandle to the I2S out reset signal
  15. - reset-names: Contains the reset signal name "rst"
  16. Optional Properties:
  17. - interrupts : Contains the I2S out interrupts. Depending on
  18. the configuration, there may be no interrupts, one interrupt,
  19. or an interrupt per I2S channel. For the case where there is
  20. one interrupt per channel, the interrupts should be listed
  21. in ascending channel order
  22. Example:
  23. i2s_out: i2s-out@18100a00 {
  24. compatible = "img,i2s-out";
  25. reg = <0x18100A00 0x200>;
  26. interrupts = <GIC_SHARED 13 IRQ_TYPE_LEVEL_HIGH>;
  27. dmas = <&mdc 23 0xffffffff 0>;
  28. dma-names = "tx";
  29. clocks = <&cr_periph SYS_CLK_I2S_OUT>,
  30. <&clk_core CLK_I2S>;
  31. clock-names = "sys", "ref";
  32. img,i2s-channels = <6>;
  33. resets = <&pistachio_reset PISTACHIO_RESET_I2S_OUT>;
  34. reset-names = "rst";
  35. #sound-dai-cells = <0>;
  36. };