arm64: dts: qcom: sdm845-oneplus-common: improve DAI node naming
PATCH 1/1 arm64: dts: qcom: sdm845-oneplus-common: improve DAI node naming
Make it easier to understand what the reg in those nodes is by using the constants provided by qcom,q6dsp-lpass-ports.h.
Name nodes according to dt-binding expectations.
Fix for
```
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb: service@4: dais: Unevaluated properties are not allowed ('qi2s@22', 'qi2s@23' were unexpected)
```--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +4 -4
@@ -508,13 +508,13 @@ led-1 { }; &q6afedai { - qi2s@22 { - reg = <22>; + dai@22 { + reg = <QUATERNARY_MI2S_RX>; qcom,sd-lines = <1>; }; - qi2s@23 { - reg = <23>; + dai@23 { + reg = <QUATERNARY_MI2S_TX>; qcom,sd-lines = <0>; }; };
Signature · 1 line
2.43.0
Quoted 27 lines · On Freitag, 29. Dezember 2023 21:02:33 CET David Heidelberg wrote:
Make it easier to understand what the reg in those nodes is by using the constants provided by qcom,q6dsp-lpass-ports.h.
Name nodes according to dt-binding expectations.
Fix for
```arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb: service@4: dais:
Unevaluated properties are not allowed ('qi2s@22', 'qi2s@23' were unexpected) ```Fixes b7b734286856 ("arm64: dts: qcom: sdm845-oneplus-*: add audiodevices") Signed-off-by: David Heidelberg <[email protected]>
--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)(quoted diff) +0
-0
b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsiindexe821103d49c0..46e25c53829a100644arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +0
-1@@ -508,13 +508,13 @@ led-1 { }; &q6afedai { - qi2s@22 {
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi led-1 { · line 517
Quoted 10 lines
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +4
-3- reg = <22>; + dai@22 { + reg = <QUATERNARY_MI2S_RX>; qcom,sd-lines = <1>; }; - qi2s@23 { - reg = <23>; + dai@23 { + reg = <QUATERNARY_MI2S_TX>;
I did the 'reg' part before, either I missed this file or it was added after I made the patch.
https://lore.kernel.org/linux-arm-msm/[email protected]/
But looks correct:
Quoted 3 lines
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +0
-0qcom,sd-lines = <0>; }; };
Weird, I'm on next-20231222 so I assume it got missed somehow :(
Thanks!
Quoted 53 lines · Luca Weiss
Quoted 27 lines · On Freitag, 29. Dezember 2023 21:02:33 CET David Heidelberg wrote:
Make it easier to understand what the reg in those nodes is by using the constants provided by qcom,q6dsp-lpass-ports.h.
Name nodes according to dt-binding expectations.
Fix for
```arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb: service@4: dais:
Unevaluated properties are not allowed ('qi2s@22', 'qi2s@23' were unexpected) ```Fixes b7b734286856 ("arm64: dts: qcom: sdm845-oneplus-*: add audiodevices") Signed-off-by: David Heidelberg <[email protected]>
--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)(quoted diff) +0
-0
b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsiindexe821103d49c0..46e25c53829a100644arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +0
-1@@ -508,13 +508,13 @@ led-1 { }; &q6afedai { - qi2s@22 {arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi led-1 { · line 517
Quoted 10 lines
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +4
-3- reg = <22>; + dai@22 { + reg = <QUATERNARY_MI2S_RX>; qcom,sd-lines = <1>; }; - qi2s@23 { - reg = <23>; + dai@23 { + reg = <QUATERNARY_MI2S_TX>;I did the 'reg' part before, either I missed this file or it was added after I made the patch.
https://lore.kernel.org/linux-arm-msm/[email protected]/But looks correct:
Reviewed-by Luca Weiss <[email protected]>Quoted 3 lines
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +0
-0qcom,sd-lines = <0>; }; };
Signature · 1 line
David Heidelberg
Quoted 11 lines · David Heidelberg
Make it easier to understand what the reg in those nodes is by using the constants provided by qcom,q6dsp-lpass-ports.h.
Name nodes according to dt-binding expectations.
Fix for
``` arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb: service@4: dais: Unevaluated properties are not allowed ('qi2s@22', 'qi2s@23' were unexpected) ```[...]
Applied, thanks!
[1/1] arm64: dts: qcom: sdm845-oneplus-common: improve DAI node naming
commit: 278d3807d304c90e59edb61aa7ed8a05e1e836bf
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>