Commit ff15ae73 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: apq8016-sbc: Fix dtbs_check warnings for &sound



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: default avatarStephan Gerhold <stephan@gerhold.net>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211214135124.2380-1-stephan@gerhold.net
parent 7be1c395
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -349,12 +349,12 @@
	pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
	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-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
	pinctrl-names = "default", "sleep";
	pinctrl-names = "default", "sleep";
	qcom,model = "DB410c";
	model = "DB410c";
	qcom,audio-routing =
	audio-routing =
		"AMIC2", "MIC BIAS Internal2",
		"AMIC2", "MIC BIAS Internal2",
		"AMIC3", "MIC BIAS External1";
		"AMIC3", "MIC BIAS External1";


	external-dai-link@0 {
	quaternary-dai-link {
		link-name = "ADV7533";
		link-name = "ADV7533";
		cpu {
		cpu {
			sound-dai = <&lpass MI2S_QUATERNARY>;
			sound-dai = <&lpass MI2S_QUATERNARY>;
@@ -364,7 +364,7 @@
		};
		};
	};
	};


	internal-codec-playback-dai-link@0 {
	primary-dai-link {
		link-name = "WCD";
		link-name = "WCD";
		cpu {
		cpu {
			sound-dai = <&lpass MI2S_PRIMARY>;
			sound-dai = <&lpass MI2S_PRIMARY>;
@@ -374,7 +374,7 @@
		};
		};
	};
	};


	internal-codec-capture-dai-link@0 {
	tertiary-dai-link {
		link-name = "WCD-Capture";
		link-name = "WCD-Capture";
		cpu {
		cpu {
			sound-dai = <&lpass MI2S_TERTIARY>;
			sound-dai = <&lpass MI2S_TERTIARY>;