Skip to contentSkip to conversation

ARM: shmobile: armadillo: fixup ether pinctrol naming

PATCH In review Kuninori Morimoto 4 participants 8 messages Sep 2, 2013 – Dec 5, 2013

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: armadillo: fixup ether pinctrol naming

e5c9b4cd665106d9b5397114ea81a53059410b6a (sh_eth: get R8A7740 support out of #ifdef) exchanged sh-eth driver name to r8a7740-gether, but, eva_pinctrl_map[] didn't follow it. This patch fixes it.

---
 arch/arm/mach-shmobile/board-armadillo800eva.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-shmobile/board-armadillo800eva.c +2 -2
index c5be60d..33f219e 100644
@@ -1069,9 +1069,9 @@ static const struct pinctrl_map eva_pinctrl_map[] = {
 	PIN_MAP_MUX_GROUP_DEFAULT("asoc-simple-card.1", "pfc-r8a7740",
 				  "fsib_mclk_in", "fsib"),
 	/* GETHER */
-	PIN_MAP_MUX_GROUP_DEFAULT("sh-eth", "pfc-r8a7740",
+	PIN_MAP_MUX_GROUP_DEFAULT("r8a7740-gether", "pfc-r8a7740",
 				  "gether_mii", "gether"),
-	PIN_MAP_MUX_GROUP_DEFAULT("sh-eth", "pfc-r8a7740",
+	PIN_MAP_MUX_GROUP_DEFAULT("r8a7740-gether", "pfc-r8a7740",
 				  "gether_int", "gether"),
 	/* HDMI */
 	PIN_MAP_MUX_GROUP_DEFAULT("sh-mobile-hdmi", "pfc-r8a7740",
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw

Hi Morimoto-san,

Thank you for the patch.

Quoted 7 lines · On Sunday 01 September 2013 20:33:49 Kuninori Morimoto wrote:

e5c9b4cd665106d9b5397114ea81a53059410b6a (sh_eth: get R8A7740 support out of #ifdef) exchanged sh-eth driver name to r8a7740-gether, but, eva_pinctrl_map[] didn't follow it. This patch fixes it.

I've taken the patch in my tree and will push it to v3.13.

Quoted 21 lines
---
 arch/arm/mach-shmobile/board-armadillo800eva.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-shmobile/board-armadillo800eva.c index c5be60d..33f219e 100644

arch/arm/mach-shmobile/board-armadillo800eva.c +2 -2
@@ -1069,9 +1069,9 @@ static const struct pinctrl_map eva_pinctrl_map[] = {
 	PIN_MAP_MUX_GROUP_DEFAULT("asoc-simple-card.1", "pfc-r8a7740",
 				  "fsib_mclk_in", "fsib"),
 	/* GETHER */
-	PIN_MAP_MUX_GROUP_DEFAULT("sh-eth", "pfc-r8a7740",
+	PIN_MAP_MUX_GROUP_DEFAULT("r8a7740-gether", "pfc-r8a7740",
 				  "gether_mii", "gether"),
-	PIN_MAP_MUX_GROUP_DEFAULT("sh-eth", "pfc-r8a7740",
+	PIN_MAP_MUX_GROUP_DEFAULT("r8a7740-gether", "pfc-r8a7740",
 				  "gether_int", "gether"),
 	/* HDMI */
 	PIN_MAP_MUX_GROUP_DEFAULT("sh-mobile-hdmi", "pfc-r8a7740",
Signature · 3 lines
Regards,

Laurent Pinchart
#2 lore raw
In reply to Kuninori Morimoto

Hello.

Quoted 11 lines · Laurent Pinchart
Quoted 7 lines

e5c9b4cd665106d9b5397114ea81a53059410b6a (sh_eth: get R8A7740 support out of #ifdef) exchanged sh-eth driver name to r8a7740-gether, but, eva_pinctrl_map[] didn't follow it. This patch fixes it.

I've taken the patch in my tree and will push it to v3.13.

Why to 3.13 if this is a bug fix?

WBR, Sergei

#3 lore raw
In reply to Kuninori Morimoto

Hi Sergei,

Quoted 9 lines · On Monday 02 September 2013 14:59:45 Sergei Shtylyov wrote:

Hello.

Quoted 6 lines · Laurent Pinchart
Quoted 6 lines

e5c9b4cd665106d9b5397114ea81a53059410b6a (sh_eth: get R8A7740 support out of #ifdef) exchanged sh-eth driver name to r8a7740-gether, but, eva_pinctrl_map[] didn't follow it. This patch fixes it.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

I've taken the patch in my tree and will push it to v3.13.

Why to 3.13 if this is a bug fix?

My bad, I meant v3.12. I've added the patch to my fixes branch, which I will ask Simon to pull into v3.12-rc.

Signature · 3 lines
Regards,

Laurent Pinchart
#4 lore raw
In reply to Kuninori Morimoto

Hello.

Quoted 5 lines · Kuninori Morimoto

e5c9b4cd665106d9b5397114ea81a53059410b6a (sh_eth: get R8A7740 support out of #ifdef) exchanged sh-eth driver name to r8a7740-gether, but, eva_pinctrl_map[] didn't follow it. This patch fixes it.

You're too quick to blame my patch. It was just merged in the same
timeframe of 3.11-rc1 with the Armadillo800EVA GEther PFC support but thru the different (net-next.git) tree, so it couldn't have done this change because in that tree the code you're modifying wasn't present; likewise, in the renesas.git, the network patches weren't seen and accounted for (although they could have been in principle). I'd therefore like to see more fair and complete changelog. :-)

Quoted 11 lines
---
  arch/arm/mach-shmobile/board-armadillo800eva.c |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-shmobile/board-armadillo800eva.c +0 -0
index c5be60d..33f219e 100644
@@ -1069,9 +1069,9 @@ static const struct pinctrl_map eva_pinctrl_map[] = {
  	PIN_MAP_MUX_GROUP_DEFAULT("asoc-simple-card.1", "pfc-r8a7740",

arch/arm/mach-shmobile/board-armadillo800eva.c static const struct pinctrl_map eva_pinctrl_map[] = { · line 1077

Quoted 10 lines
arch/arm/mach-shmobile/board-armadillo800eva.c +2 -2
  				  "fsib_mclk_in", "fsib"),
  	/* GETHER */
-	PIN_MAP_MUX_GROUP_DEFAULT("sh-eth", "pfc-r8a7740",
+	PIN_MAP_MUX_GROUP_DEFAULT("r8a7740-gether", "pfc-r8a7740",
  				  "gether_mii", "gether"),
-	PIN_MAP_MUX_GROUP_DEFAULT("sh-eth", "pfc-r8a7740",
+	PIN_MAP_MUX_GROUP_DEFAULT("r8a7740-gether", "pfc-r8a7740",
  				  "gether_int", "gether"),
  	/* HDMI */
  	PIN_MAP_MUX_GROUP_DEFAULT("sh-mobile-hdmi", "pfc-r8a7740",

WBR, Sergei

#5 lore raw
In reply to Kuninori Morimoto
Quoted 7 lines · Sergei Shtylyov
Quoted 5 lines

e5c9b4cd665106d9b5397114ea81a53059410b6a (sh_eth: get R8A7740 support out of #ifdef) exchanged sh-eth driver name to r8a7740-gether, but, eva_pinctrl_map[] didn't follow it. This patch fixes it.

You're too quick to blame my patch. It was just merged in the same

Although, I probably misread your changelog, and you didn't blame my patch
but just didn't mention another patch which modified eva_pinctrl_map[]. Anyway, it would have been good if you mentioned that other commit.

WBR, Sergei

#6 lore raw

PATCH 1/1 ARM: shmobile: armadillo: fixup FSI address size

In reply to Kuninori Morimoto

FSI address size is 0x400, not 0x8400

---
 arch/arm/mach-shmobile/board-armadillo800eva.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/board-armadillo800eva.c +1 -1
index 958e3cb..d9e28c7a 100644
@@ -958,7 +958,7 @@ static struct resource fsi_resources[] = {
 	[0] = {
 		.name	= "FSI",
 		.start	= 0xfe1f0000,
-		.end	= 0xfe1f8400 - 1,
+		.end	= 0xfe1f0400 - 1,
 		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
Signature · 1 line
1.7.9.5
#7 lore raw

Re: [PATCH] ARM: shmobile: armadillo: fixup FSI address size

In reply to Kuninori Morimoto
Quoted 6 lines · Kuninori Morimoto

FSI address size is 0x400, not 0x8400

---
 arch/arm/mach-shmobile/board-armadillo800eva.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, I will queue this up.

Quoted 17 lines
arch/arm/mach-shmobile/board-armadillo800eva.c +1 -1
index 958e3cb..d9e28c7a 100644
@@ -958,7 +958,7 @@ static struct resource fsi_resources[] = {
 	[0] = {
 		.name	= "FSI",
 		.start	= 0xfe1f0000,
-		.end	= 0xfe1f8400 - 1,
+		.end	= 0xfe1f0400 - 1,
 		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
Signature · 1 line
1.7.9.5