]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: qcom: sdm850*: Use q6asm defines for reg
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 25 Apr 2025 11:53:48 +0000 (13:53 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 10 May 2025 16:56:49 +0000 (11:56 -0500)
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more
readable. No functional change intended.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250425-q6asmdai-defines-v1-9-28308e2ce7d4@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts

index 7677acd08e2d176be932d3f726fe5602cf8d50d1..3b28c543fd961c787d7e788995f8fe0e980e3f68 100644 (file)
 
 &q6asmdai {
        dai@0 {
-               reg = <0>;
+               reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
        };
 
        dai@1 {
-               reg = <1>;
+               reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
        };
 
        dai@2 {
-               reg = <2>;
+               reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
        };
 };
 
index d6d4e7184c5603864668057de79c7497ad361ab3..a676d3ea01b997ec9663199fe04a230aefa555b5 100644 (file)
 
 &q6asmdai {
        dai@0 {
-               reg = <0>;
+               reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
        };
 
        dai@1 {
-               reg = <1>;
+               reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
        };
 
        dai@2 {
-               reg = <2>;
+               reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
        };
 };