Skip to contentSkip to conversation

ARM: shmobile: r8a7794: tidyup SDHI register size on DTSI

PATCH New Simon Horman 4 participants 4 messages Jul 20, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: r8a7794: tidyup SDHI register size on DTSI

r8a7794 SDHI ch0 has SD_DMACR which is located in 0x324. This patch updates register size

Based on work for the r8a7790 by Kuninori Morimoto.

Cc Kuninori Morimoto <[email protected]>

---
Found by inspection
Compile tested only

---
 arch/arm/boot/dts/r8a7794.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7794.dtsi +1 -1
index 685f986cf962..9b36f58dff41 100644
@@ -697,7 +697,7 @@
 
 	sdhi0: sd at ee100000 {
 		compatible = "renesas,sdhi-r8a7794";
-		reg = <0 0xee100000 0 0x200>;
+		reg = <0 0xee100000 0 0x384>;
 		interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7794_CLK_SDHI0>;
 		dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#1 lore raw

PATCH 1/1 ARM: shmobile: r8a7794: tidyup SDHI register size on DTSI

arch/arm/boot/dts/r8a7794.dtsi line 700

Quoted 3 lines
arch/arm/boot/dts/r8a7794.dtsi +1 -1
-		reg = <0 0xee100000 0 0x200>;
+		reg = <0 0xee100000 0 0x384>;

All other r8a779x.dtsi have 0x328 there.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160720/75ea51e0/attachment.sig>

#2 lore raw

PATCH 1/1 ARM: shmobile: r8a7794: tidyup SDHI register size on DTSI

Quoted 5 lines · Wolfram Sang

arch/arm/boot/dts/r8a7794.dtsi line 700

Quoted 3 lines
arch/arm/boot/dts/r8a7794.dtsi +1 -1
-		reg = <0 0xee100000 0 0x200>;
+		reg = <0 0xee100000 0 0x384>;

All other r8a779x.dtsi have 0x328 there.

Wow! I wonder how I managed that.

#3 lore raw

PATCH 1/1 ARM: shmobile: r8a7794: tidyup SDHI register size on DTSI

In reply to Simon Horman
Quoted 19 lines · Simon Horman

r8a7794 SDHI ch0 has SD_DMACR which is located in 0x324. This patch updates register size

Based on work for the r8a7790 by Kuninori Morimoto.

Cc Kuninori Morimoto <[email protected]>

---
Found by inspection
Compile tested only

---
 arch/arm/boot/dts/r8a7794.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7794.dtsi +0 -0
index 685f986cf962..9b36f58dff41 100644

arch/arm/boot/dts/r8a7794.dtsi line 700

Quoted 5 lines
arch/arm/boot/dts/r8a7794.dtsi +1 -1
@@ -697,7 +697,7 @@
 
 	sdhi0: sd at ee100000 {
 		compatible = "renesas,sdhi-r8a7794";
-		reg = <0 0xee100000 0 0x200>;
+		reg = <0 0xee100000 0 0x384>;
    Not 0x328?

MBR, Sergei