Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Srinivas Kandagatla and committed by
Vinod Koul
8114a05c 6504fe8c

+2 -5
+2 -5
Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml
··· 73 73 qcom,din-ports: 74 74 $ref: /schemas/types.yaml#/definitions/uint32 75 75 description: count of data in ports 76 + deprecated: true 76 77 77 78 qcom,dout-ports: 78 79 $ref: /schemas/types.yaml#/definitions/uint32 79 80 description: count of data out ports 81 + deprecated: true 80 82 81 83 qcom,ports-word-length: 82 84 $ref: /schemas/types.yaml#/definitions/uint8-array ··· 225 223 - '#sound-dai-cells' 226 224 - '#address-cells' 227 225 - '#size-cells' 228 - - qcom,dout-ports 229 - - qcom,din-ports 230 226 - qcom,ports-offset1 231 227 - qcom,ports-offset2 232 228 ··· 256 256 257 257 clocks = <&lpass_rx_macro>; 258 258 clock-names = "iface"; 259 - 260 - qcom,din-ports = <0>; 261 - qcom,dout-ports = <5>; 262 259 263 260 resets = <&lpass_audiocc LPASS_AUDIO_SWR_RX_CGCR>; 264 261 reset-names = "swr_audio_cgcr";