Re: [PATCH] ASoC: dt-bindings: qcom,sdm845: convert to dtschema

From: Stephan Gerhold
Date: Mon Jul 04 2022 - 12:51:03 EST


On Mon, Jul 04, 2022 at 05:38:24PM +0200, Krzysztof Kozlowski wrote:
> Convert the Samsung SDM845 sound card bindings to DT schema.
>

Nitpick: s/Samsung/Qualcomm

> Changes during conversion: do not require 'codec' under dai-links - not
> present in all nodes of examples and DTS; not required by the driver.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
> .../devicetree/bindings/sound/qcom,sdm845.txt | 91 ----------
> .../bindings/sound/qcom,sdm845.yaml | 166 ++++++++++++++++++
> 2 files changed, 166 insertions(+), 91 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/sound/qcom,sdm845.txt
> create mode 100644 Documentation/devicetree/bindings/sound/qcom,sdm845.yaml
>

Can you check if you can just add the compatibles to the existing
qcom,sm8250.yaml? It should be more or less identical given that the DT
parsing code in the driver is shared between all these SoCs.
I already added the MSM8916 compatibles there a while ago.

It also documents some additional properties ("pin-switches", "widgets")
that are supported for SDM845 through the common code but are missing
in its binding documentation.

Thanks,
Stephan