On 2021/8/24 1:36, Rob Herring wrote:
On Mon, Aug 23, 2021 at 06:55:32PM +0800, Sugar Zhang wrote:
This patch documents property 'rockchip,clk-trcm' which is used
to specify the lrck.
Signed-off-by: Sugar Zhang <sugar.zhang@xxxxxxxxxxxxxx>
Change-Id: I648142c57c568bbed209f2b9188b1f539a3285b2
Drop this.
okay, will do in v2.
---
Documentation/devicetree/bindings/sound/rockchip-i2s.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml b/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml
index 11e911a..8d9dfed 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml
+++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.yaml
@@ -72,6 +72,15 @@ properties:
resets:
maxItems: 2
+ rockchip,clk-trcm:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ default: 0
+ description:
+ tx and rx lrck/bclk common use.
+ 0: both tx_lrck/bclk and rx_lrck/bclk are used
+ 1: only tx_lrck/bclk is used
+ 2: only rx_lrck/bclk is used
Sounds like constraints. Make a schema.
will split into two properties: rockchip,trcm-sync-tx-only,
rockchip,trcm-sync-rx-only.
+
rockchip,capture-channels:
$ref: /schemas/types.yaml#/definitions/uint32
default: 2
--
2.7.4
--
Best Regards!
张学广/Sugar
瑞芯微电子股份有限公司
Rockchip Electronics Co., Ltd.