diff mbox series

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

Message ID 20211214135124.2380-1-stephan@gerhold.net (mailing list archive)
State Accepted
Headers show
Series arm64: dts: qcom: apq8016-sbc: Fix dtbs_check warnings for &sound | expand

Commit Message

Stephan Gerhold Dec. 14, 2021, 1:51 p.m. UTC
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>
---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Bjorn Andersson Feb. 1, 2022, 5:20 a.m. UTC | #1
On Tue, 14 Dec 2021 14:51:24 +0100, Stephan Gerhold wrote:
> 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
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: qcom: apq8016-sbc: Fix dtbs_check warnings for &sound
      commit: ff15ae73eeee62d8eb7554ecc21f2908f32f33a9

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
index a5320d6d30e7..0c566876333a 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
@@ -351,12 +351,12 @@  &sound {
 	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>;
@@ -366,7 +366,7 @@  codec {
 		};
 	};
 
-	internal-codec-playback-dai-link@0 {
+	primary-dai-link {
 		link-name = "WCD";
 		cpu {
 			sound-dai = <&lpass MI2S_PRIMARY>;
@@ -376,7 +376,7 @@  codec {
 		};
 	};
 
-	internal-codec-capture-dai-link@0 {
+	tertiary-dai-link {
 		link-name = "WCD-Capture";
 		cpu {
 			sound-dai = <&lpass MI2S_TERTIARY>;