arm64: dts: qcom: apq8016-sbc: Fix dtbs_check warnings for &sound
authorStephan Gerhold <stephan@gerhold.net>
Tue, 14 Dec 2021 13:51:24 +0000 (14:51 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 1 Feb 2022 00:18:04 +0000 (18:18 -0600)
qcom,apq8016-sbc-sndcard is now covered by the qcom,sm8250.yaml schema
which has slightly different recommendations for the naming of
properties and nodes. The old naming is still functional but
deprecated. Update the &sound node in apq8016-sbc to fix the following
dtbs_check warnings:

  apq8016-sbc.dt.yaml: sound@7702000: 'model' is a required property
    From schema: sound/qcom,sm8250.yaml
  apq8016-sbc.dt.yaml: sound@7702000: 'external-dai-link@0', ...
    do not match any of the regexes: '.*-dai-link$', ...
    From schema: sound/qcom,sm8250.yaml

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211214135124.2380-1-stephan@gerhold.net
arch/arm64/boot/dts/qcom/apq8016-sbc.dts

index b7a578aafcbb6020bdece96d03c420714fdf8e7d..7c1eab605c15a197e1d02a683e48864fb6689e54 100644 (file)
        pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
        pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
        pinctrl-names = "default", "sleep";
-       qcom,model = "DB410c";
-       qcom,audio-routing =
+       model = "DB410c";
+       audio-routing =
                "AMIC2", "MIC BIAS Internal2",
                "AMIC3", "MIC BIAS External1";
 
-       external-dai-link@0 {
+       quaternary-dai-link {
                link-name = "ADV7533";
                cpu {
                        sound-dai = <&lpass MI2S_QUATERNARY>;
                };
        };
 
-       internal-codec-playback-dai-link@0 {
+       primary-dai-link {
                link-name = "WCD";
                cpu {
                        sound-dai = <&lpass MI2S_PRIMARY>;
                };
        };
 
-       internal-codec-capture-dai-link@0 {
+       tertiary-dai-link {
                link-name = "WCD-Capture";
                cpu {
                        sound-dai = <&lpass MI2S_TERTIARY>;