File tree Expand file tree Collapse file tree
Documentation/devicetree/bindings/soundwire Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,6 +162,18 @@ board specific bus parameters.
162162 or applicable for the respective data port.
163163 More info in MIPI Alliance SoundWire 1.0 Specifications.
164164
165+ - reset:
166+ Usage: optional
167+ Value type: <prop-encoded-array>
168+ Definition: Should specify the SoundWire audio CSR reset controller interface,
169+ which is required for SoundWire version 1.6.0 and above.
170+
171+ - reset-names:
172+ Usage: optional
173+ Value type: <stringlist>
174+ Definition: should be "swr_audio_cgcr" for SoundWire audio CSR reset
175+ controller interface.
176+
165177Note:
166178 More Information on detail of encoding of these fields can be
167179found in MIPI Alliance SoundWire 1.0 Specifications.
@@ -180,6 +192,8 @@ soundwire: soundwire@c85 {
180192 interrupts = <20 IRQ_TYPE_EDGE_RISING>;
181193 clocks = <&wcc>;
182194 clock-names = "iface";
195+ resets = <&lpass_audiocc LPASS_AUDIO_SWR_TX_CGCR>;
196+ reset-names = "swr_audio_cgcr";
183197 #sound-dai-cells = <1>;
184198 qcom,dports-type = <0>;
185199 qcom,dout-ports = <6>;
Original file line number Diff line number Diff line change @@ -1452,7 +1452,7 @@ static bool swrm_wait_for_frame_gen_enabled(struct qcom_swrm_ctrl *swrm)
14521452 } while (retry -- );
14531453
14541454 dev_err (swrm -> dev , "%s: link status not %s\n" , __func__ ,
1455- comp_sts && SWRM_FRM_GEN_ENABLED ? "connected" : "disconnected" );
1455+ comp_sts & SWRM_FRM_GEN_ENABLED ? "connected" : "disconnected" );
14561456
14571457 return false;
14581458}
@@ -1549,6 +1549,7 @@ static const struct dev_pm_ops swrm_dev_pm_ops = {
15491549static const struct of_device_id qcom_swrm_of_match [] = {
15501550 { .compatible = "qcom,soundwire-v1.3.0" , .data = & swrm_v1_3_data },
15511551 { .compatible = "qcom,soundwire-v1.5.1" , .data = & swrm_v1_5_data },
1552+ { .compatible = "qcom,soundwire-v1.6.0" , .data = & swrm_v1_5_data },
15521553 {/* sentinel */ },
15531554};
15541555
Original file line number Diff line number Diff line change @@ -822,6 +822,7 @@ static int do_bank_switch(struct sdw_stream_runtime *stream)
822822 } else if (multi_link ) {
823823 dev_err (bus -> dev ,
824824 "Post bank switch ops not implemented\n" );
825+ ret = - EINVAL ;
825826 goto error ;
826827 }
827828
You can’t perform that action at this time.
0 commit comments