arm64: dts: qcom: sdm845-oneplus-common: improve DAI node naming
authorDavid Heidelberg <david@ixit.cz>
Fri, 29 Dec 2023 20:02:33 +0000 (21:02 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sun, 28 Jan 2024 18:04:00 +0000 (12:04 -0600)
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 audio devices")
Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20231229200245.259689-1-david@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi

index e821103d49c0ad38d17f69c1be1bd624e1c82918..46e25c53829ad2cc3572198af6e4abd084bb0bbc 100644 (file)
 };
 
 &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>;
        };
 };