arm64: dts: qcom: apq8016-sbc: Fix dtbs_check warnings for &sound
PATCH 1/1 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
--- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/qcom/apq8016-sbc.dts +5 -5
@@ -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>;
Signature · 1 line
2.34.1
Bjorn Andersson
AppliedRe: (subset) [PATCH] arm64: dts: qcom: apq8016-sbc: Fix dtbs_check warnings for &sound
Quoted 6 lines · Stephan Gerhold
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_checkwarnings:
Quoted 7 lines
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,
Signature · 1 line
Bjorn Andersson <[email protected]>