Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231124 > unrolled thread

[PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode

Started bySugar Zhang <sugar.zhang@rock-chips.com>
First post2015-09-23 05:50 +0200
Last post2015-09-23 18:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode Sugar Zhang <sugar.zhang@rock-chips.com> - 2015-09-23 05:50 +0200
    Re: [PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add  capture and lrck-mode Mark Brown <broonie@kernel.org> - 2015-09-23 18:40 +0200

#1231124 — [PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode

FromSugar Zhang <sugar.zhang@rock-chips.com>
Date2015-09-23 05:50 +0200
Subject[PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode
Message-ID<qbJe9-Dl-3@gated-at.bofh.it>
rockchip,capture-channels: max capture channels, 2 channels default.
rockchip,lrck-mode: 0: rxtx separate, 1: tx share, 2: rx share.
default use 'rxtx separate' mode.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
---
 Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
index 9b82c20..4066b85 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
@@ -21,6 +21,9 @@ Required properties:
 - clock-names: should contain followings:
    - "i2s_hclk": clock for I2S BUS
    - "i2s_clk" : clock for I2S controller
+- rockchip,capture-channels: max capture channels, if not set, 2 channels default.
+- rockchip,lrck-mode: select lrck use mode: 0: rxtx separate, 1: tx share, 2: rx share.
+  default use 'rxtx seprate' mode.
 
 Example for rk3288 I2S controller:
 
@@ -34,4 +37,6 @@ i2s@ff890000 {
 	dma-names = "tx", "rx";
 	clock-names = "i2s_hclk", "i2s_clk";
 	clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
+	rockchip,capture-channels = <2>;
+	rockchip,lrck-mode = <0>;
 };
-- 
2.3.6


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1231551 — Re: [PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode

FromMark Brown <broonie@kernel.org>
Date2015-09-23 18:40 +0200
SubjectRe: [PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode
Message-ID<qbVfk-1fg-25@gated-at.bofh.it>
In reply to#1231124

[Multipart message — attachments visible in raw view] — view raw

On Wed, Sep 23, 2015 at 11:41:23AM +0800, Sugar Zhang wrote:

> rockchip,lrck-mode: 0: rxtx separate, 1: tx share, 2: rx share.
> default use 'rxtx separate' mode.

I'm slightly confused about this property - is this covering differences
in the IP deployed on different SoCs or is it covering how the SoC is
wired into the board?  If it's for how the SoC is wired into the board
(ie, Rx and Tx wired together) then this should already be covered by
either the machine driver or the device at the other end of the link.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web