* [PATCH] ARM: shmobile: r8a7790 - fix shdi resource sizes
[not found] <1387197528-1177-1-git-send-email-ben.dooks@codethink.co.uk>
@ 2013-12-16 12:38 ` Ben Dooks
2013-12-16 23:54 ` Kuninori Morimoto
0 siblings, 1 reply; 3+ messages in thread
From: Ben Dooks @ 2013-12-16 12:38 UTC (permalink / raw)
To: linux-arm-kernel
The r8a7790.dtsi file has four sdhi nodes which the first two have the wrong
resource size for their register block. This causes the sh_modbile_sdhi driver
to fail to communicate with card at-all.
Change sdhi{0,1} node size from 0x100 to 0x200 to correct these nodes
as per Kuninori Morimoto's response to the original patch where all four
nodes where changed. sdhi{2,3} are the correct size.
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Linux SH <linux-sh@vger.kernel.org>
Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Tested-by: William Towle <william.towle@codethink.co.uk>
---
arch/arm/boot/dts/r8a7790.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 68b7b87..c600103 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -254,7 +254,7 @@
sdhi0: sd at ee100000 {
compatible = "renesas,sdhi-r8a7790";
- reg = <0 0xee100000 0 0x100>;
+ reg = <0 0xee100000 0 0x200>;
interrupt-parent = <&gic>;
interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
cap-sd-highspeed;
@@ -263,7 +263,7 @@
sdhi1: sd at ee120000 {
compatible = "renesas,sdhi-r8a7790";
- reg = <0 0xee120000 0 0x100>;
+ reg = <0 0xee120000 0 0x200>;
interrupt-parent = <&gic>;
interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
cap-sd-highspeed;
--
1.8.5.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: shmobile: r8a7790 - fix shdi resource sizes
2013-12-16 12:38 ` [PATCH] ARM: shmobile: r8a7790 - fix shdi resource sizes Ben Dooks
@ 2013-12-16 23:54 ` Kuninori Morimoto
2013-12-19 9:18 ` Simon Horman
0 siblings, 1 reply; 3+ messages in thread
From: Kuninori Morimoto @ 2013-12-16 23:54 UTC (permalink / raw)
To: linux-arm-kernel
Hi
> The r8a7790.dtsi file has four sdhi nodes which the first two have the wrong
> resource size for their register block. This causes the sh_modbile_sdhi driver
> to fail to communicate with card at-all.
>
> Change sdhi{0,1} node size from 0x100 to 0x200 to correct these nodes
> as per Kuninori Morimoto's response to the original patch where all four
> nodes where changed. sdhi{2,3} are the correct size.
>
> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Linux SH <linux-sh@vger.kernel.org>
> Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> Tested-by: William Towle <william.towle@codethink.co.uk>
> ---
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: shmobile: r8a7790 - fix shdi resource sizes
2013-12-16 23:54 ` Kuninori Morimoto
@ 2013-12-19 9:18 ` Simon Horman
0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-12-19 9:18 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Dec 16, 2013 at 03:54:47PM -0800, Kuninori Morimoto wrote:
>
> Hi
>
> > The r8a7790.dtsi file has four sdhi nodes which the first two have the wrong
> > resource size for their register block. This causes the sh_modbile_sdhi driver
> > to fail to communicate with card at-all.
> >
> > Change sdhi{0,1} node size from 0x100 to 0x200 to correct these nodes
> > as per Kuninori Morimoto's response to the original patch where all four
> > nodes where changed. sdhi{2,3} are the correct size.
> >
> > Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> > Cc: Magnus Damm <magnus.damm@gmail.com>
> > Cc: Simon Horman <horms@verge.net.au>
> > Cc: Linux SH <linux-sh@vger.kernel.org>
> > Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>
> > Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> > Tested-by: William Towle <william.towle@codethink.co.uk>
> > ---
>
> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thanks. I will queue up the following as a fix for v3.13.
From: Ben Dooks <ben.dooks@codethink.co.uk>
ARM: shmobile: r8a7790: fix shdi resource sizes
The r8a7790.dtsi file has four sdhi nodes which the first two have the wrong
resource size for their register block. This causes the sh_modbile_sdhi driver
to fail to communicate with card at-all.
Change sdhi{0,1} node size from 0x100 to 0x200 to correct these nodes
as per Kuninori Morimoto's response to the original patch where all four
nodes where changed. sdhi{2,3} are the correct size.
This bug has been present since sdhi resources were added to the r8a7790 by
8c9b1aa41853272a ("ARM: shmobile: r8a7790: add MMCIF and SDHI DT
templates") in v3.11-rc2.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Tested-by: William Towle <william.towle@codethink.co.uk>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 46e1d7e..9987dd0e 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -241,7 +241,7 @@
sdhi0: sdhi at ee100000 {
compatible = "renesas,sdhi-r8a7790";
- reg = <0 0xee100000 0 0x100>;
+ reg = <0 0xee100000 0 0x200>;
interrupt-parent = <&gic>;
interrupts = <0 165 4>;
cap-sd-highspeed;
@@ -250,7 +250,7 @@
sdhi1: sdhi at ee120000 {
compatible = "renesas,sdhi-r8a7790";
- reg = <0 0xee120000 0 0x100>;
+ reg = <0 0xee120000 0 0x200>;
interrupt-parent = <&gic>;
interrupts = <0 166 4>;
cap-sd-highspeed;
--
1.8.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-19 9:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1387197528-1177-1-git-send-email-ben.dooks@codethink.co.uk>
2013-12-16 12:38 ` [PATCH] ARM: shmobile: r8a7790 - fix shdi resource sizes Ben Dooks
2013-12-16 23:54 ` Kuninori Morimoto
2013-12-19 9:18 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).