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