Skip to content

Commit 602fefd

Browse files
Olivier Moysangregkh
authored andcommitted
ARM: dts: stm32: fix SAI sub nodes register range
[ Upstream commit 6f87a74 ] The STM32 SAI subblocks registers offsets are in the range 0x0004 (SAIx_CR1) to 0x0020 (SAIx_DR). The corresponding range length is 0x20 instead of 0x1c. Change reg property accordingly. Fixes: 5afd65c ("ARM: dts: stm32: add sai support on stm32mp157c") Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 3fb7522 commit 602fefd

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎arch/arm/boot/dts/stm32mp151.dtsi‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@
811811
#sound-dai-cells = <0>;
812812

813813
compatible = "st,stm32-sai-sub-a";
814-
reg = <0x4 0x1c>;
814+
reg = <0x4 0x20>;
815815
clocks = <&rcc SAI1_K>;
816816
clock-names = "sai_ck";
817817
dmas = <&dmamux1 87 0x400 0x01>;
@@ -821,7 +821,7 @@
821821
sai1b: audio-controller@4400a024 {
822822
#sound-dai-cells = <0>;
823823
compatible = "st,stm32-sai-sub-b";
824-
reg = <0x24 0x1c>;
824+
reg = <0x24 0x20>;
825825
clocks = <&rcc SAI1_K>;
826826
clock-names = "sai_ck";
827827
dmas = <&dmamux1 88 0x400 0x01>;
@@ -842,7 +842,7 @@
842842
sai2a: audio-controller@4400b004 {
843843
#sound-dai-cells = <0>;
844844
compatible = "st,stm32-sai-sub-a";
845-
reg = <0x4 0x1c>;
845+
reg = <0x4 0x20>;
846846
clocks = <&rcc SAI2_K>;
847847
clock-names = "sai_ck";
848848
dmas = <&dmamux1 89 0x400 0x01>;
@@ -852,7 +852,7 @@
852852
sai2b: audio-controller@4400b024 {
853853
#sound-dai-cells = <0>;
854854
compatible = "st,stm32-sai-sub-b";
855-
reg = <0x24 0x1c>;
855+
reg = <0x24 0x20>;
856856
clocks = <&rcc SAI2_K>;
857857
clock-names = "sai_ck";
858858
dmas = <&dmamux1 90 0x400 0x01>;
@@ -873,7 +873,7 @@
873873
sai3a: audio-controller@4400c004 {
874874
#sound-dai-cells = <0>;
875875
compatible = "st,stm32-sai-sub-a";
876-
reg = <0x04 0x1c>;
876+
reg = <0x04 0x20>;
877877
clocks = <&rcc SAI3_K>;
878878
clock-names = "sai_ck";
879879
dmas = <&dmamux1 113 0x400 0x01>;
@@ -883,7 +883,7 @@
883883
sai3b: audio-controller@4400c024 {
884884
#sound-dai-cells = <0>;
885885
compatible = "st,stm32-sai-sub-b";
886-
reg = <0x24 0x1c>;
886+
reg = <0x24 0x20>;
887887
clocks = <&rcc SAI3_K>;
888888
clock-names = "sai_ck";
889889
dmas = <&dmamux1 114 0x400 0x01>;
@@ -1250,7 +1250,7 @@
12501250
sai4a: audio-controller@50027004 {
12511251
#sound-dai-cells = <0>;
12521252
compatible = "st,stm32-sai-sub-a";
1253-
reg = <0x04 0x1c>;
1253+
reg = <0x04 0x20>;
12541254
clocks = <&rcc SAI4_K>;
12551255
clock-names = "sai_ck";
12561256
dmas = <&dmamux1 99 0x400 0x01>;
@@ -1260,7 +1260,7 @@
12601260
sai4b: audio-controller@50027024 {
12611261
#sound-dai-cells = <0>;
12621262
compatible = "st,stm32-sai-sub-b";
1263-
reg = <0x24 0x1c>;
1263+
reg = <0x24 0x20>;
12641264
clocks = <&rcc SAI4_K>;
12651265
clock-names = "sai_ck";
12661266
dmas = <&dmamux1 100 0x400 0x01>;

0 commit comments

Comments
 (0)