Skip to content

Commit 0116025

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: msm8996*: 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 d89ed52 commit 0116025

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,15 @@
288288
#size-cells = <0>;
289289

290290
dai@0 {
291-
reg = <0>;
291+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
292292
};
293293

294294
dai@1 {
295-
reg = <1>;
295+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
296296
};
297297

298298
dai@2 {
299-
reg = <2>;
299+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
300300
};
301301
};
302302

arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@
137137

138138
&q6asmdai {
139139
dai@0 {
140-
reg = <0>;
140+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
141141
};
142142

143143
dai@1 {
144-
reg = <1>;
144+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
145145
};
146146

147147
dai@2 {
148-
reg = <2>;
148+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
149149
};
150150
};
151151

arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-natrium.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@
8787

8888
&q6asmdai {
8989
dai@0 {
90-
reg = <0>;
90+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
9191
};
9292

9393
dai@1 {
94-
reg = <1>;
94+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
9595
};
9696

9797
dai@2 {
98-
reg = <2>;
98+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
9999
};
100100
};
101101

arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-scorpio.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@
139139

140140
&q6asmdai {
141141
dai@0 {
142-
reg = <0>;
142+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
143143
};
144144

145145
dai@1 {
146-
reg = <1>;
146+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
147147
};
148148

149149
dai@2 {
150-
reg = <2>;
150+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
151151
};
152152
};
153153

0 commit comments

Comments
 (0)