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