Skip to content

Commit 8466598

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: sdm845*: 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 f1275b0 commit 8466598

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

arch/arm64/boot/dts/qcom/sdm845-db845c.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -714,19 +714,19 @@
714714

715715
&q6asmdai {
716716
dai@0 {
717-
reg = <0>;
717+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
718718
};
719719

720720
dai@1 {
721-
reg = <1>;
721+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
722722
};
723723

724724
dai@2 {
725-
reg = <2>;
725+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
726726
};
727727

728728
dai@3 {
729-
reg = <3>;
729+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA4>;
730730
direction = <2>;
731731
is-compress-dai;
732732
};

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -517,27 +517,27 @@
517517

518518
&q6asmdai {
519519
dai@0 {
520-
reg = <0>;
520+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
521521
};
522522

523523
dai@1 {
524-
reg = <1>;
524+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
525525
};
526526

527527
dai@2 {
528-
reg = <2>;
528+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
529529
};
530530

531531
dai@3 {
532-
reg = <3>;
532+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA4>;
533533
};
534534

535535
dai@4 {
536-
reg = <4>;
536+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA5>;
537537
};
538538

539539
dai@5 {
540-
reg = <5>;
540+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA6>;
541541
};
542542
};
543543

arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi

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

389389
&q6asmdai {
390390
dai@0 {
391-
reg = <0>;
391+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
392392
};
393393

394394
dai@1 {
395-
reg = <1>;
395+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
396396
};
397397

398398
dai@2 {
399-
reg = <2>;
399+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
400400
};
401401
};
402402

arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts

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

544544
&q6asmdai {
545545
dai@0 {
546-
reg = <0>;
546+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
547547
};
548548

549549
dai@1 {
550-
reg = <1>;
550+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
551551
};
552552

553553
dai@2 {
554-
reg = <2>;
554+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
555555
};
556556
};
557557

0 commit comments

Comments
 (0)