zte,zx-spdif.txt 905 B

12345678910111213141516171819202122232425262728
  1. ZTE ZX296702 SPDIF controller
  2. Required properties:
  3. - compatible : Must be "zte,zx296702-spdif"
  4. - reg : Must contain SPDIF core's registers location and length
  5. - clocks : Pairs of phandle and specifier referencing the controller's clocks.
  6. - clock-names: "tx" for the clock to the SPDIF interface.
  7. - dmas: Pairs of phandle and specifier for the DMA channel that is used by
  8. the core. The core expects one dma channel for transmit.
  9. - dma-names : Must be "tx"
  10. For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties
  11. please check:
  12. * resource-names.txt
  13. * clock/clock-bindings.txt
  14. * dma/dma.txt
  15. Example:
  16. spdif0: spdif0@0b004000 {
  17. compatible = "zte,zx296702-spdif";
  18. reg = <0x0b004000 0x1000>;
  19. clocks = <&lsp0clk ZX296702_SPDIF0_DIV>;
  20. clock-names = "tx";
  21. interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
  22. dmas = <&dma 4>;
  23. dma-names = "tx";
  24. status = "okay";
  25. };