[PATCH v2 0/2] arm64: dts: qcom: sm8750: Add sound

Krzysztof Kozlowski posted 2 patches 7 months ago
There is a newer version of this series
arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 214 ++++++++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/sm8750.dtsi    | 122 ++++++++++++++++++
2 files changed, 336 insertions(+)
[PATCH v2 0/2] arm64: dts: qcom: sm8750: Add sound
Posted by Krzysztof Kozlowski 7 months ago
Changes in v2:
- Patch #1:
  - Use v2.1 compatible with v2.0 fallback (Konrad)
  - Use hex address in <reg>
  - Re-order nodes to keep proper sorting by unit address
- Patch #2:
  - Re-order codec/cpu nodes (Konrad)
- Link to v1: https://lore.kernel.org/r/20250424-sm8750-audio-part-2-v1-0-50133a0ec35f@linaro.org

Bindings for the new Soundwire compatible:
https://lore.kernel.org/r/20250519080453.29858-2-krzysztof.kozlowski@linaro.org/T/#u

Dependencies were merged, so this brings the necessary sound on SM8750
MTP.  I have patches work-in-progress for QRD and also USB headset, but
this have dependencies and need some cleanup. I will be posting these
separately.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (2):
      arm64: dts: qcom: sm8750: Add Soundwire nodes
      arm64: dts: qcom: sm8750-mtp: Add sound (speakers, headset codec, dmics)

 arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 214 ++++++++++++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8750.dtsi    | 122 ++++++++++++++++++
 2 files changed, 336 insertions(+)
---
base-commit: 0fde2d760e610a74f67eee9e757a3d4a95388f36
change-id: 20241122-sm8750-audio-part-2-943277d85302

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Re: [PATCH v2 0/2] arm64: dts: qcom: sm8750: Add sound
Posted by Rob Herring (Arm) 7 months ago
On Mon, 19 May 2025 11:54:42 +0200, Krzysztof Kozlowski wrote:
> Changes in v2:
> - Patch #1:
>   - Use v2.1 compatible with v2.0 fallback (Konrad)
>   - Use hex address in <reg>
>   - Re-order nodes to keep proper sorting by unit address
> - Patch #2:
>   - Re-order codec/cpu nodes (Konrad)
> - Link to v1: https://lore.kernel.org/r/20250424-sm8750-audio-part-2-v1-0-50133a0ec35f@linaro.org
> 
> Bindings for the new Soundwire compatible:
> https://lore.kernel.org/r/20250519080453.29858-2-krzysztof.kozlowski@linaro.org/T/#u
> 
> Dependencies were merged, so this brings the necessary sound on SM8750
> MTP.  I have patches work-in-progress for QRD and also USB headset, but
> this have dependencies and need some cleanup. I will be posting these
> separately.
> 
> Best regards,
> Krzysztof
> 
> ---
> Krzysztof Kozlowski (2):
>       arm64: dts: qcom: sm8750: Add Soundwire nodes
>       arm64: dts: qcom: sm8750-mtp: Add sound (speakers, headset codec, dmics)
> 
>  arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 214 ++++++++++++++++++++++++++++++++
>  arch/arm64/boot/dts/qcom/sm8750.dtsi    | 122 ++++++++++++++++++
>  2 files changed, 336 insertions(+)
> ---
> base-commit: 0fde2d760e610a74f67eee9e757a3d4a95388f36
> change-id: 20241122-sm8750-audio-part-2-943277d85302
> 
> Best regards,
> --
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


This patch series was applied (using b4) to base:
 Base: base-commit 0fde2d760e610a74f67eee9e757a3d4a95388f36 not known, ignoring
 Base: attempting to guess base-commit...
 Base: tags/v6.15-rc1-312-ga18226be95c7 (exact match)

If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for 20250519-sm8750-audio-part-2-v2-0-5ac5afdf4ee2@linaro.org:

arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6ab0000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6ab0000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: /soc@0/soundwire@6ab0000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6ad0000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6ad0000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6ad0000 (qcom,soundwire-v2.1.0): Unevaluated properties are not allowed ('compatible' was unexpected)
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: /soc@0/soundwire@6ad0000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6b10000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6b10000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@6b10000 (qcom,soundwire-v2.1.0): Unevaluated properties are not allowed ('compatible' was unexpected)
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: /soc@0/soundwire@6b10000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@7630000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@7630000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: soundwire@7630000 (qcom,soundwire-v2.1.0): Unevaluated properties are not allowed ('compatible' was unexpected)
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: /soc@0/soundwire@7630000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@6ab0000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@6ab0000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: /soc@0/soundwire@6ab0000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@6ad0000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@6ad0000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: /soc@0/soundwire@6ad0000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@6b10000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@6b10000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: /soc@0/soundwire@6b10000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@7630000 (qcom,soundwire-v2.1.0): compatible:0: 'qcom,soundwire-v2.1.0' is not one of ['qcom,soundwire-v1.3.0', 'qcom,soundwire-v1.5.0', 'qcom,soundwire-v1.5.1', 'qcom,soundwire-v1.6.0', 'qcom,soundwire-v1.7.0', 'qcom,soundwire-v2.0.0']
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: soundwire@7630000 (qcom,soundwire-v2.1.0): compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0'] is too long
	from schema $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
arch/arm64/boot/dts/qcom/sm8750-qrd.dtb: /soc@0/soundwire@7630000: failed to match any schema with compatible: ['qcom,soundwire-v2.1.0', 'qcom,soundwire-v2.0.0']