Skip to content

Commit 8114a05

Browse files
Srinivas Kandagatlavinodkoul
authored andcommitted
dt-bindings: soundwire: qcom: deprecate qcom,din/out-ports
Number of input and output ports can be dynamically read from the controller registers, getting this value from Device Tree is redundant and potentially lead to bugs. Mark these two properties as deprecated in device tree bindings. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Tested-by: Alexey Klimov <alexey.klimov@linaro.org> # sm8550 Link: https://patch.msgid.link/20250912083225.228778-4-srinivas.kandagatla@oss.qualcomm.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 6504fe8 commit 8114a05

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,12 @@ properties:
7373
qcom,din-ports:
7474
$ref: /schemas/types.yaml#/definitions/uint32
7575
description: count of data in ports
76+
deprecated: true
7677

7778
qcom,dout-ports:
7879
$ref: /schemas/types.yaml#/definitions/uint32
7980
description: count of data out ports
81+
deprecated: true
8082

8183
qcom,ports-word-length:
8284
$ref: /schemas/types.yaml#/definitions/uint8-array
@@ -223,8 +225,6 @@ required:
223225
- '#sound-dai-cells'
224226
- '#address-cells'
225227
- '#size-cells'
226-
- qcom,dout-ports
227-
- qcom,din-ports
228228
- qcom,ports-offset1
229229
- qcom,ports-offset2
230230

@@ -257,9 +257,6 @@ examples:
257257
clocks = <&lpass_rx_macro>;
258258
clock-names = "iface";
259259
260-
qcom,din-ports = <0>;
261-
qcom,dout-ports = <5>;
262-
263260
resets = <&lpass_audiocc LPASS_AUDIO_SWR_RX_CGCR>;
264261
reset-names = "swr_audio_cgcr";
265262

0 commit comments

Comments
 (0)