diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2017-02-08 22:12:57 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-02-09 12:26:18 -0500 |
commit | b5f18ba89391da7a92605dc76822580d13e2ef74 (patch) | |
tree | b3cbfa91beece14da1ece49a692e216eff349d93 | |
parent | 6c2494f385958f5d8cdb5cb26507b7f47d498502 (diff) |
ASoC: zx-i2s: Add the info of pclk to the binding document for zx2967 family
ZTE's zx2967 I2S controller driver introduces pclk, this
patch documents this fact.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/zte,zx-i2s.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt index 7e5aa6f6b5a1..292ad5083704 100644 --- a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt +++ b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt | |||
@@ -1,10 +1,12 @@ | |||
1 | ZTE ZX296702 I2S controller | 1 | ZTE ZX296702 I2S controller |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : Must be "zte,zx296702-i2s" | 4 | - compatible : Must be one of: |
5 | "zte,zx296718-i2s", "zte,zx296702-i2s" | ||
6 | "zte,zx296702-i2s" | ||
5 | - reg : Must contain I2S core's registers location and length | 7 | - reg : Must contain I2S core's registers location and length |
6 | - clocks : Pairs of phandle and specifier referencing the controller's clocks. | 8 | - clocks : Pairs of phandle and specifier referencing the controller's clocks. |
7 | - clock-names: "tx" for the clock to the I2S interface. | 9 | - clock-names: "wclk" for the wclk, "pclk" for the pclk to the I2S interface. |
8 | - dmas: Pairs of phandle and specifier for the DMA channel that is used by | 10 | - dmas: Pairs of phandle and specifier for the DMA channel that is used by |
9 | the core. The core expects two dma channels for transmit. | 11 | the core. The core expects two dma channels for transmit. |
10 | - dma-names : Must be "tx" and "rx" | 12 | - dma-names : Must be "tx" and "rx" |
@@ -16,12 +18,12 @@ please check: | |||
16 | * dma/dma.txt | 18 | * dma/dma.txt |
17 | 19 | ||
18 | Example: | 20 | Example: |
19 | i2s0: i2s0@0b005000 { | 21 | i2s0: i2s@b005000 { |
20 | #sound-dai-cells = <0>; | 22 | #sound-dai-cells = <0>; |
21 | compatible = "zte,zx296702-i2s"; | 23 | compatible = "zte,zx296718-i2s", "zte,zx296702-i2s"; |
22 | reg = <0x0b005000 0x1000>; | 24 | reg = <0x0b005000 0x1000>; |
23 | clocks = <&lsp0clk ZX296702_I2S0_DIV>; | 25 | clocks = <&audiocrm AUDIO_I2S0_WCLK>, <&audiocrm AUDIO_I2S0_PCLK>; |
24 | clock-names = "tx"; | 26 | clock-names = "wclk", "pclk"; |
25 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; | 27 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
26 | dmas = <&dma 5>, <&dma 6>; | 28 | dmas = <&dma 5>, <&dma 6>; |
27 | dma-names = "tx", "rx"; | 29 | dma-names = "tx", "rx"; |