Skip to content

Commit f1275b0

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: sc7280: Use q6asm defines for reg
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 08b8a9f commit f1275b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

arch/arm64/boot/dts/qcom/sc7280.dtsi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <dt-bindings/soc/qcom,apr.h>
2929
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
3030
#include <dt-bindings/sound/qcom,lpass.h>
31+
#include <dt-bindings/sound/qcom,q6asm.h>
3132
#include <dt-bindings/thermal/thermal.h>
3233

3334
/ {
@@ -3868,15 +3869,15 @@
38683869
iommus = <&apps_smmu 0x1801 0x0>;
38693870

38703871
dai@0 {
3871-
reg = <0>;
3872+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
38723873
};
38733874

38743875
dai@1 {
3875-
reg = <1>;
3876+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
38763877
};
38773878

38783879
dai@2 {
3879-
reg = <2>;
3880+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
38803881
};
38813882
};
38823883
};

0 commit comments

Comments
 (0)