zte,tdm.txt 919 B

123456789101112131415161718192021222324252627282930
  1. ZTE TDM DAI driver
  2. Required properties:
  3. - compatible : should be one of the following.
  4. * zte,zx296718-tdm
  5. - reg : physical base address of the controller and length of memory mapped
  6. region.
  7. - clocks : Pairs of phandle and specifier referencing the controller's clocks.
  8. - clock-names: "wclk" for the wclk.
  9. "pclk" for the pclk.
  10. -#clock-cells: should be 1.
  11. - zte,tdm-dma-sysctrl : Reference to the sysctrl controller controlling
  12. the dma. includes:
  13. phandle of sysctrl.
  14. register offset in sysctrl for control dma.
  15. mask of the register that be written to sysctrl.
  16. Example:
  17. tdm: tdm@1487000 {
  18. compatible = "zte,zx296718-tdm";
  19. reg = <0x01487000 0x1000>;
  20. clocks = <&audiocrm AUDIO_TDM_WCLK>, <&audiocrm AUDIO_TDM_PCLK>;
  21. clock-names = "wclk", "pclk";
  22. #clock-cells = <1>;
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&tdm_global_pin>;
  25. zte,tdm-dma-sysctrl = <&sysctrl 0x10c 4>;
  26. };