sun4i-codec.txt 901 B

123456789101112131415161718192021222324252627
  1. * Allwinner A10 Codec
  2. Required properties:
  3. - compatible: must be either "allwinner,sun4i-a10-codec" or
  4. "allwinner,sun7i-a20-codec"
  5. - reg: must contain the registers location and length
  6. - interrupts: must contain the codec interrupt
  7. - dmas: DMA channels for tx and rx dma. See the DMA client binding,
  8. Documentation/devicetree/bindings/dma/dma.txt
  9. - dma-names: should include "tx" and "rx".
  10. - clocks: a list of phandle + clock-specifer pairs, one for each entry
  11. in clock-names.
  12. - clock-names: should contain followings:
  13. - "apb": the parent APB clock for this controller
  14. - "codec": the parent module clock
  15. Example:
  16. codec: codec@01c22c00 {
  17. #sound-dai-cells = <0>;
  18. compatible = "allwinner,sun7i-a20-codec";
  19. reg = <0x01c22c00 0x40>;
  20. interrupts = <0 30 4>;
  21. clocks = <&apb0_gates 0>, <&codec_clk>;
  22. clock-names = "apb", "codec";
  23. dmas = <&dma 0 19>, <&dma 0 19>;
  24. dma-names = "rx", "tx";
  25. };