dt-bindings: soundwire: qcom: Add bindings for audio clock reset control property
authorSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Thu, 3 Mar 2022 14:02:08 +0000 (19:32 +0530)
committerVinod Koul <vkoul@kernel.org>
Tue, 5 Apr 2022 04:19:54 +0000 (09:49 +0530)
Update description for audio clock reset control property, which is required
for latest chipsets, to allow rx, tx and wsa bus clock enabling in software
 control mode by configuring dynamic clock gating control registers.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1646316128-21082-3-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/soundwire/qcom,sdw.txt

index 51ddbc5..c85c257 100644 (file)
@@ -162,6 +162,18 @@ board specific bus parameters.
                    or applicable for the respective data port.
                    More info in MIPI Alliance SoundWire 1.0 Specifications.
 
+- reset:
+       Usage: optional
+       Value type: <prop-encoded-array>
+       Definition: Should specify the SoundWire audio CSR reset controller interface,
+                   which is required for SoundWire version 1.6.0 and above.
+
+- reset-names:
+       Usage: optional
+       Value type: <stringlist>
+       Definition: should be "swr_audio_cgcr" for SoundWire audio CSR reset
+                   controller interface.
+
 Note:
        More Information on detail of encoding of these fields can be
 found in MIPI Alliance SoundWire 1.0 Specifications.
@@ -180,6 +192,8 @@ soundwire: soundwire@c85 {
        interrupts = <20 IRQ_TYPE_EDGE_RISING>;
        clocks = <&wcc>;
        clock-names = "iface";
+       resets = <&lpass_audiocc LPASS_AUDIO_SWR_TX_CGCR>;
+       reset-names = "swr_audio_cgcr";
        #sound-dai-cells = <1>;
        qcom,dports-type = <0>;
        qcom,dout-ports = <6>;