diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2017-02-16 19:05:04 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-02-21 15:11:13 -0800 |
commit | 5949dae3a4512fa1ca61eac947c349442acc12b0 (patch) | |
tree | aa2f497c1d87be0fff0a0e96a2fba95b3a3d7113 | |
parent | 141dee78c40ac2c43aa4ff306688d625e1c731de (diff) | |
download | linux-stable-5949dae3a4512fa1ca61eac947c349442acc12b0.tar.gz linux-stable-5949dae3a4512fa1ca61eac947c349442acc12b0.tar.bz2 linux-stable-5949dae3a4512fa1ca61eac947c349442acc12b0.zip |
ASoC: zx-tdm: add bindings doc for zte's tdm controller
This patch adds dt-binding documentation for zte's tdm controller.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/zte,tdm.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/zte,tdm.txt b/Documentation/devicetree/bindings/sound/zte,tdm.txt new file mode 100644 index 000000000000..2a07ca655264 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/zte,tdm.txt @@ -0,0 +1,30 @@ +ZTE TDM DAI driver + +Required properties: + +- compatible : should be one of the following. + * zte,zx296718-tdm +- reg : physical base address of the controller and length of memory mapped + region. +- clocks : Pairs of phandle and specifier referencing the controller's clocks. +- clock-names: "wclk" for the wclk. + "pclk" for the pclk. +-#clock-cells: should be 1. +- zte,tdm-dma-sysctrl : Reference to the sysctrl controller controlling + the dma. includes: + phandle of sysctrl. + register offset in sysctrl for control dma. + mask of the register that be written to sysctrl. + +Example: + + tdm: tdm@1487000 { + compatible = "zte,zx296718-tdm"; + reg = <0x01487000 0x1000>; + clocks = <&audiocrm AUDIO_TDM_WCLK>, <&audiocrm AUDIO_TDM_PCLK>; + clock-names = "wclk", "pclk"; + #clock-cells = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&tdm_global_pin>; + zte,tdm-dma-sysctrl = <&sysctrl 0x10c 4>; + }; |