All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
@ 2015-01-09 13:08 ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

	Hi Simon, Magnus,

This patch series (by Magnus) introduces multiplatform support for the
sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
kernel fine, except for working Ethernet (the ZB clock is disabled by
clk_disable_unused()).

This series has been sent before by Magnus as part of the series
"[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
I've updated the kzm9g DTS sync patch for recent changes to the
kzm9g-reference DTS.

Thanks for applying!

Magnus Damm (4):
  ARM: shmobile: sh73a0: Introduce generic setup callback
  ARM: shmobile: sh73a0: Add Multiplatform support
  ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
  ARM: shmobile: kzm9g: Build DTS for Multiplatform

 arch/arm/boot/dts/Makefile            |   3 +-
 arch/arm/boot/dts/sh73a0-kzm9g.dts    | 374 +++++++++++++++++++++++++++++++++-
 arch/arm/mach-shmobile/Kconfig        |   5 +
 arch/arm/mach-shmobile/Makefile       |   4 +-
 arch/arm/mach-shmobile/setup-sh73a0.c |  16 +-
 arch/arm/mach-shmobile/smp-sh73a0.c   |   2 +-
 6 files changed, 396 insertions(+), 8 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
@ 2015-01-09 13:08 ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

	Hi Simon, Magnus,

This patch series (by Magnus) introduces multiplatform support for the
sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
kernel fine, except for working Ethernet (the ZB clock is disabled by
clk_disable_unused()).

This series has been sent before by Magnus as part of the series
"[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
I've updated the kzm9g DTS sync patch for recent changes to the
kzm9g-reference DTS.

Thanks for applying!

Magnus Damm (4):
  ARM: shmobile: sh73a0: Introduce generic setup callback
  ARM: shmobile: sh73a0: Add Multiplatform support
  ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
  ARM: shmobile: kzm9g: Build DTS for Multiplatform

 arch/arm/boot/dts/Makefile            |   3 +-
 arch/arm/boot/dts/sh73a0-kzm9g.dts    | 374 +++++++++++++++++++++++++++++++++-
 arch/arm/mach-shmobile/Kconfig        |   5 +
 arch/arm/mach-shmobile/Makefile       |   4 +-
 arch/arm/mach-shmobile/setup-sh73a0.c |  16 +-
 arch/arm/mach-shmobile/smp-sh73a0.c   |   2 +-
 6 files changed, 396 insertions(+), 8 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 1/4] ARM: shmobile: sh73a0: Introduce generic setup callback
  2015-01-09 13:08 ` Geert Uytterhoeven
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Add a generic sh73a0 machine setup callback for the upcoming
sh73a0 multiplatform case. Cache needs to be configured, and
legacy clocks must be omitted.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/setup-sh73a0.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c
index 613ce65184a6648c..ee86ca0a261c9d54 100644
--- a/arch/arm/mach-shmobile/setup-sh73a0.c
+++ b/arch/arm/mach-shmobile/setup-sh73a0.c
@@ -30,6 +30,7 @@
 #include <linux/platform_data/sh_ipmmu.h>
 #include <linux/platform_data/irq-renesas-intc-irqpin.h>
 
+#include <asm/hardware/cache-l2x0.h>
 #include <asm/mach-types.h>
 #include <asm/mach/map.h>
 #include <asm/mach/arch.h>
@@ -782,8 +783,6 @@ void __init sh73a0_add_early_devices(void)
 	shmobile_setup_console();
 }
 
-#ifdef CONFIG_USE_OF
-
 void __init sh73a0_add_standard_devices_dt(void)
 {
 	/* clocks are setup late during boot in the case of DT */
@@ -800,6 +799,17 @@ static void sh73a0_restart(enum reboot_mode mode, const char *cmd)
 	writel((1 << 31), RESCNT2);
 }
 
+#ifdef CONFIG_USE_OF
+
+static void __init sh73a0_generic_init(void)
+{
+#ifdef CONFIG_CACHE_L2X0
+	/* Shared attribute override enable, 64K*8way */
+	l2x0_init(IOMEM(0xf0100000), 0x00400000, 0xc20f0fff);
+#endif
+	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+}
+
 static const char *sh73a0_boards_compat_dt[] __initdata = {
 	"renesas,sh73a0",
 	NULL,
@@ -809,7 +819,7 @@ DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)")
 	.smp		= smp_ops(sh73a0_smp_ops),
 	.map_io		= sh73a0_map_io,
 	.init_early	= shmobile_init_delay,
-	.init_machine	= sh73a0_add_standard_devices_dt,
+	.init_machine	= sh73a0_generic_init,
 	.init_late	= shmobile_init_late,
 	.restart	= sh73a0_restart,
 	.dt_compat	= sh73a0_boards_compat_dt,
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 1/4] ARM: shmobile: sh73a0: Introduce generic setup callback
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Add a generic sh73a0 machine setup callback for the upcoming
sh73a0 multiplatform case. Cache needs to be configured, and
legacy clocks must be omitted.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/setup-sh73a0.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c
index 613ce65184a6648c..ee86ca0a261c9d54 100644
--- a/arch/arm/mach-shmobile/setup-sh73a0.c
+++ b/arch/arm/mach-shmobile/setup-sh73a0.c
@@ -30,6 +30,7 @@
 #include <linux/platform_data/sh_ipmmu.h>
 #include <linux/platform_data/irq-renesas-intc-irqpin.h>
 
+#include <asm/hardware/cache-l2x0.h>
 #include <asm/mach-types.h>
 #include <asm/mach/map.h>
 #include <asm/mach/arch.h>
@@ -782,8 +783,6 @@ void __init sh73a0_add_early_devices(void)
 	shmobile_setup_console();
 }
 
-#ifdef CONFIG_USE_OF
-
 void __init sh73a0_add_standard_devices_dt(void)
 {
 	/* clocks are setup late during boot in the case of DT */
@@ -800,6 +799,17 @@ static void sh73a0_restart(enum reboot_mode mode, const char *cmd)
 	writel((1 << 31), RESCNT2);
 }
 
+#ifdef CONFIG_USE_OF
+
+static void __init sh73a0_generic_init(void)
+{
+#ifdef CONFIG_CACHE_L2X0
+	/* Shared attribute override enable, 64K*8way */
+	l2x0_init(IOMEM(0xf0100000), 0x00400000, 0xc20f0fff);
+#endif
+	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+}
+
 static const char *sh73a0_boards_compat_dt[] __initdata = {
 	"renesas,sh73a0",
 	NULL,
@@ -809,7 +819,7 @@ DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)")
 	.smp		= smp_ops(sh73a0_smp_ops),
 	.map_io		= sh73a0_map_io,
 	.init_early	= shmobile_init_delay,
-	.init_machine	= sh73a0_add_standard_devices_dt,
+	.init_machine	= sh73a0_generic_init,
 	.init_late	= shmobile_init_late,
 	.restart	= sh73a0_restart,
 	.dt_compat	= sh73a0_boards_compat_dt,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 2/4] ARM: shmobile: sh73a0: Add Multiplatform support
  2015-01-09 13:08 ` Geert Uytterhoeven
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Enable sh73a0 Multiplatform support for the generic sh73a0
machine vector. No board support is enabled, and the board
code for KZM9G DT Reference is left by itself.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/Kconfig      | 5 +++++
 arch/arm/mach-shmobile/Makefile     | 4 ++--
 arch/arm/mach-shmobile/smp-sh73a0.c | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index 2f36c85eec4b201e..8ee2f281f2a3dd6a 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -78,6 +78,11 @@ config ARCH_R8A7794
 	bool "R-Car E2 (R8A77940)"
 	select ARCH_RCAR_GEN2
 
+config ARCH_SH73A0
+	bool "SH-Mobile AG5 (R8A73A00)"
+	select ARCH_RMOBILE
+	select RENESAS_INTC_IRQPIN
+
 comment "Renesas ARM SoCs Board Type"
 
 config MACH_MARZEN
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile
index d53996e6da970d8d..b400f5fe72c269af 100644
--- a/arch/arm/mach-shmobile/Makefile
+++ b/arch/arm/mach-shmobile/Makefile
@@ -7,7 +7,7 @@ obj-y				:= timer.o console.o
 
 # CPU objects
 obj-$(CONFIG_ARCH_SH7372)	+= setup-sh7372.o intc-sh7372.o pm-sh7372.o
-obj-$(CONFIG_ARCH_SH73A0)	+= setup-sh73a0.o intc-sh73a0.o pm-sh73a0.o
+obj-$(CONFIG_ARCH_SH73A0)	+= setup-sh73a0.o pm-sh73a0.o
 obj-$(CONFIG_ARCH_R8A73A4)	+= setup-r8a73a4.o
 obj-$(CONFIG_ARCH_R8A7740)	+= setup-r8a7740.o pm-r8a7740.o
 obj-$(CONFIG_ARCH_R8A7778)	+= setup-r8a7778.o
@@ -65,7 +65,7 @@ obj-$(CONFIG_MACH_BOCKW)	+= board-bockw.o
 obj-$(CONFIG_MACH_BOCKW_REFERENCE)	+= board-bockw-reference.o
 obj-$(CONFIG_MACH_MARZEN)	+= board-marzen.o
 obj-$(CONFIG_MACH_ARMADILLO800EVA)	+= board-armadillo800eva.o
-obj-$(CONFIG_MACH_KZM9G)	+= board-kzm9g.o
+obj-$(CONFIG_MACH_KZM9G)	+= board-kzm9g.o intc-sh73a0.o
 obj-$(CONFIG_MACH_KZM9G_REFERENCE)	+= board-kzm9g-reference.o
 endif
 
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c
index c16dbfe9836c527d..2106d6b76a069392 100644
--- a/arch/arm/mach-shmobile/smp-sh73a0.c
+++ b/arch/arm/mach-shmobile/smp-sh73a0.c
@@ -33,7 +33,7 @@
 
 #define SH73A0_SCU_BASE 0xf0000000
 
-#ifdef CONFIG_HAVE_ARM_TWD
+#if defined(CONFIG_HAVE_ARM_TWD) && !defined(CONFIG_ARCH_MULTIPLATFORM)
 static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, SH73A0_SCU_BASE + 0x600, 29);
 void __init sh73a0_register_twd(void)
 {
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 2/4] ARM: shmobile: sh73a0: Add Multiplatform support
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Enable sh73a0 Multiplatform support for the generic sh73a0
machine vector. No board support is enabled, and the board
code for KZM9G DT Reference is left by itself.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/Kconfig      | 5 +++++
 arch/arm/mach-shmobile/Makefile     | 4 ++--
 arch/arm/mach-shmobile/smp-sh73a0.c | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index 2f36c85eec4b201e..8ee2f281f2a3dd6a 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -78,6 +78,11 @@ config ARCH_R8A7794
 	bool "R-Car E2 (R8A77940)"
 	select ARCH_RCAR_GEN2
 
+config ARCH_SH73A0
+	bool "SH-Mobile AG5 (R8A73A00)"
+	select ARCH_RMOBILE
+	select RENESAS_INTC_IRQPIN
+
 comment "Renesas ARM SoCs Board Type"
 
 config MACH_MARZEN
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile
index d53996e6da970d8d..b400f5fe72c269af 100644
--- a/arch/arm/mach-shmobile/Makefile
+++ b/arch/arm/mach-shmobile/Makefile
@@ -7,7 +7,7 @@ obj-y				:= timer.o console.o
 
 # CPU objects
 obj-$(CONFIG_ARCH_SH7372)	+= setup-sh7372.o intc-sh7372.o pm-sh7372.o
-obj-$(CONFIG_ARCH_SH73A0)	+= setup-sh73a0.o intc-sh73a0.o pm-sh73a0.o
+obj-$(CONFIG_ARCH_SH73A0)	+= setup-sh73a0.o pm-sh73a0.o
 obj-$(CONFIG_ARCH_R8A73A4)	+= setup-r8a73a4.o
 obj-$(CONFIG_ARCH_R8A7740)	+= setup-r8a7740.o pm-r8a7740.o
 obj-$(CONFIG_ARCH_R8A7778)	+= setup-r8a7778.o
@@ -65,7 +65,7 @@ obj-$(CONFIG_MACH_BOCKW)	+= board-bockw.o
 obj-$(CONFIG_MACH_BOCKW_REFERENCE)	+= board-bockw-reference.o
 obj-$(CONFIG_MACH_MARZEN)	+= board-marzen.o
 obj-$(CONFIG_MACH_ARMADILLO800EVA)	+= board-armadillo800eva.o
-obj-$(CONFIG_MACH_KZM9G)	+= board-kzm9g.o
+obj-$(CONFIG_MACH_KZM9G)	+= board-kzm9g.o intc-sh73a0.o
 obj-$(CONFIG_MACH_KZM9G_REFERENCE)	+= board-kzm9g-reference.o
 endif
 
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c
index c16dbfe9836c527d..2106d6b76a069392 100644
--- a/arch/arm/mach-shmobile/smp-sh73a0.c
+++ b/arch/arm/mach-shmobile/smp-sh73a0.c
@@ -33,7 +33,7 @@
 
 #define SH73A0_SCU_BASE 0xf0000000
 
-#ifdef CONFIG_HAVE_ARM_TWD
+#if defined(CONFIG_HAVE_ARM_TWD) && !defined(CONFIG_ARCH_MULTIPLATFORM)
 static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, SH73A0_SCU_BASE + 0x600, 29);
 void __init sh73a0_register_twd(void)
 {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 3/4] ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
  2015-01-09 13:08 ` Geert Uytterhoeven
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Sync the two DTS for the KZM9G board. The target is the file
"sh73a0-kzm9g.dts" and it is made identical to the DT reference
case with the exception of the compatbile string. In the future
the DT reference file will go away.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
[geert: Update for recent changes to sh73a0-kzm9g-reference.dts]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/sh73a0-kzm9g.dts | 374 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 373 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index e7dae01933a575f1..6f00e6b680e8e0fa 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -1,6 +1,9 @@
 /*
  * Device Tree Source for the KZM-A9-GT board
  *
+ * Copyright (C) 2012 Horms Solutions Ltd.
+ *
+ * Based on sh73a0-kzm9g.dts
  * Copyright (C) 2012 Renesas Solutions Corp.
  *
  * This file is licensed under the terms of the GNU General Public License
@@ -10,17 +13,386 @@
 
 /dts-v1/;
 #include "sh73a0.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
 	model = "KZM-A9-GT";
 	compatible = "renesas,kzm9g", "renesas,sh73a0";
 
+	aliases {
+		serial4 = &scifa4;
+	};
+
+	cpus {
+		cpu@0 {
+			cpu0-supply = <&vdd_dvfs>;
+			operating-points = <
+				/* kHz  uV */
+				1196000 1315000
+				 598000 1175000
+				 398667 1065000
+			>;
+			voltage-tolerance = <1>; /* 1% */
+		};
+	};
+
 	chosen {
-		bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200 rw";
+		bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel rw";
+		stdout-path = &scifa4;
 	};
 
 	memory {
 		device_type = "memory";
 		reg = <0x40000000 0x20000000>;
 	};
+
+	reg_1p8v: regulator@0 {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-1.8V";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
+	reg_3p3v: regulator@1 {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-3.3V";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
+	vmmc_sdhi0: regulator@2 {
+		compatible = "regulator-fixed";
+		regulator-name = "SDHI0 Vcc";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+	};
+
+	vmmc_sdhi2: regulator@3 {
+		compatible = "regulator-fixed";
+		regulator-name = "SDHI2 Vcc";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+	};
+
+	lan9220@10000000 {
+		compatible = "smsc,lan9220", "smsc,lan9115";
+		reg = <0x10000000 0x100>;
+		phy-mode = "mii";
+		interrupt-parent = <&irqpin0>;
+		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+		reg-io-width = <4>;
+		smsc,irq-push-pull;
+		smsc,save-mac-address;
+		vddvario-supply = <&reg_1p8v>;
+		vdd33a-supply = <&reg_3p3v>;
+	};
+
+	leds {
+		compatible = "gpio-leds";
+		led1 {
+			gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
+			label = "LED1";
+		};
+		led2 {
+			gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
+			label = "LED2";
+		};
+		led3 {
+			gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
+			label = "LED3";
+		};
+		led4 {
+			gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
+			label = "LED4";
+		};
+	};
+
+	keyboard {
+		compatible = "gpio-keys";
+
+		back-key {
+			gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_BACK>;
+			label = "SW3";
+		};
+
+		right-key {
+			gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_RIGHT>;
+			label = "SW2-R";
+		};
+
+		left-key {
+			gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_LEFT>;
+			label = "SW2-L";
+		};
+
+		enter-key {
+			gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_ENTER>;
+			label = "SW2-P";
+		};
+
+		up-key {
+			gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_UP>;
+			label = "SW2-U";
+		};
+
+		down-key {
+			gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_DOWN>;
+			label = "SW2-D";
+		};
+
+		home-key {
+			gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_HOME>;
+			label = "SW1";
+		};
+	};
+
+	sound {
+		compatible = "simple-audio-card";
+		simple-audio-card,format = "left_j";
+		simple-audio-card,cpu {
+			sound-dai = <&sh_fsi2 0>;
+		};
+		simple-audio-card,codec {
+			sound-dai = <&ak4648>;
+			bitclock-master;
+			frame-master;
+			system-clock-frequency = <11289600>;
+		};
+	};
+};
+
+&cmt1 {
+	status = "okay";
+};
+
+&extal2_clk {
+	clock-frequency = <48000000>;
+};
+
+&i2c0 {
+	status = "okay";
+
+	compass@c {
+		compatible = "asahi-kasei,ak8975";
+		reg = <0x0c>;
+		interrupt-parent = <&irqpin3>;
+		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
+	};
+
+	ak4648: codec@12 {
+		compatible = "asahi-kasei,ak4648";
+		reg = <0x12>;
+		#sound-dai-cells = <0>;
+	};
+
+	accelerometer@1d {
+		compatible = "adi,adxl34x";
+		reg = <0x1d>;
+		interrupt-parent = <&irqpin3>;
+		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
+			     <3 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
+	rtc@32 {
+		compatible = "ricoh,r2025sd";
+		reg = <0x32>;
+	};
+
+	as3711@40 {
+		compatible = "ams,as3711";
+		reg = <0x40>;
+
+		regulators {
+			vdd_dvfs: sd1 {
+				regulator-name = "1.315V CPU";
+				regulator-min-microvolt = <1050000>;
+				regulator-max-microvolt = <1350000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			sd2 {
+				regulator-name = "1.8V";
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			sd4 {
+				regulator-name = "1.215V";
+				regulator-min-microvolt = <1215000>;
+				regulator-max-microvolt = <1235000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo2 {
+				regulator-name = "2.8V CPU";
+				regulator-min-microvolt = <2800000>;
+				regulator-max-microvolt = <2800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo3 {
+				regulator-name = "3.0V CPU";
+				regulator-min-microvolt = <3000000>;
+				regulator-max-microvolt = <3000000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo4 {
+				regulator-name = "2.8V";
+				regulator-min-microvolt = <2800000>;
+				regulator-max-microvolt = <2800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo5 {
+				regulator-name = "2.8V #2";
+				regulator-min-microvolt = <2800000>;
+				regulator-max-microvolt = <2800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo7 {
+				regulator-name = "1.15V CPU";
+				regulator-min-microvolt = <1150000>;
+				regulator-max-microvolt = <1150000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo8 {
+				regulator-name = "1.15V CPU #2";
+				regulator-min-microvolt = <1150000>;
+				regulator-max-microvolt = <1150000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+		};
+	};
+};
+
+&i2c1 {
+	status = "okay";
+
+	touchscreen@55 {
+		compatible = "sitronix,st1232";
+		reg = <0x55>;
+		interrupt-parent = <&irqpin1>;
+		interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+	};
+};
+
+&i2c3 {
+	pinctrl-0 = <&i2c3_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	pcf8575: gpio@20 {
+		compatible = "nxp,pcf8575";
+		reg = <0x20>;
+		interrupt-parent = <&irqpin2>;
+		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+};
+
+&mmcif {
+	pinctrl-0 = <&mmcif_pins>;
+	pinctrl-names = "default";
+
+	bus-width = <8>;
+	vmmc-supply = <&reg_1p8v>;
+	status = "okay";
+};
+
+&pfc {
+	i2c3_pins: i2c3 {
+		renesas,groups = "i2c3_1";
+		renesas,function = "i2c3";
+	};
+
+	mmcif_pins: mmc {
+		mux {
+			renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
+			renesas,function = "mmc0";
+		};
+		cfg {
+			renesas,groups = "mmc0_data8_0";
+			renesas,pins = "PORT279";
+			bias-pull-up;
+		};
+	};
+
+	scifa4_pins: serial4 {
+		renesas,groups = "scifa4_data", "scifa4_ctrl";
+		renesas,function = "scifa4";
+	};
+
+	sdhi0_pins: sd0 {
+		renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
+		renesas,function = "sdhi0";
+	};
+
+	sdhi2_pins: sd2 {
+		renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
+		renesas,function = "sdhi2";
+	};
+
+	fsia_pins: sounda {
+		renesas,groups = "fsia_mclk_in", "fsia_sclk_in",
+				 "fsia_data_in", "fsia_data_out";
+		renesas,function = "fsia";
+	};
+};
+
+&scifa4 {
+	pinctrl-0 = <&scifa4_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&sdhi0 {
+	pinctrl-0 = <&sdhi0_pins>;
+	pinctrl-names = "default";
+
+	vmmc-supply = <&vmmc_sdhi0>;
+	bus-width = <4>;
+	status = "okay";
+};
+
+&sdhi2 {
+	pinctrl-0 = <&sdhi2_pins>;
+	pinctrl-names = "default";
+
+	vmmc-supply = <&vmmc_sdhi2>;
+	bus-width = <4>;
+	broken-cd;
+	status = "okay";
+};
+
+&sh_fsi2 {
+	pinctrl-0 = <&fsia_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
 };
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 3/4] ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Sync the two DTS for the KZM9G board. The target is the file
"sh73a0-kzm9g.dts" and it is made identical to the DT reference
case with the exception of the compatbile string. In the future
the DT reference file will go away.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
[geert: Update for recent changes to sh73a0-kzm9g-reference.dts]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/sh73a0-kzm9g.dts | 374 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 373 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index e7dae01933a575f1..6f00e6b680e8e0fa 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -1,6 +1,9 @@
 /*
  * Device Tree Source for the KZM-A9-GT board
  *
+ * Copyright (C) 2012 Horms Solutions Ltd.
+ *
+ * Based on sh73a0-kzm9g.dts
  * Copyright (C) 2012 Renesas Solutions Corp.
  *
  * This file is licensed under the terms of the GNU General Public License
@@ -10,17 +13,386 @@
 
 /dts-v1/;
 #include "sh73a0.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
 	model = "KZM-A9-GT";
 	compatible = "renesas,kzm9g", "renesas,sh73a0";
 
+	aliases {
+		serial4 = &scifa4;
+	};
+
+	cpus {
+		cpu at 0 {
+			cpu0-supply = <&vdd_dvfs>;
+			operating-points = <
+				/* kHz  uV */
+				1196000 1315000
+				 598000 1175000
+				 398667 1065000
+			>;
+			voltage-tolerance = <1>; /* 1% */
+		};
+	};
+
 	chosen {
-		bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200 rw";
+		bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel rw";
+		stdout-path = &scifa4;
 	};
 
 	memory {
 		device_type = "memory";
 		reg = <0x40000000 0x20000000>;
 	};
+
+	reg_1p8v: regulator at 0 {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-1.8V";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
+	reg_3p3v: regulator at 1 {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-3.3V";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
+	vmmc_sdhi0: regulator at 2 {
+		compatible = "regulator-fixed";
+		regulator-name = "SDHI0 Vcc";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+	};
+
+	vmmc_sdhi2: regulator at 3 {
+		compatible = "regulator-fixed";
+		regulator-name = "SDHI2 Vcc";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+	};
+
+	lan9220 at 10000000 {
+		compatible = "smsc,lan9220", "smsc,lan9115";
+		reg = <0x10000000 0x100>;
+		phy-mode = "mii";
+		interrupt-parent = <&irqpin0>;
+		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+		reg-io-width = <4>;
+		smsc,irq-push-pull;
+		smsc,save-mac-address;
+		vddvario-supply = <&reg_1p8v>;
+		vdd33a-supply = <&reg_3p3v>;
+	};
+
+	leds {
+		compatible = "gpio-leds";
+		led1 {
+			gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
+			label = "LED1";
+		};
+		led2 {
+			gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
+			label = "LED2";
+		};
+		led3 {
+			gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
+			label = "LED3";
+		};
+		led4 {
+			gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
+			label = "LED4";
+		};
+	};
+
+	keyboard {
+		compatible = "gpio-keys";
+
+		back-key {
+			gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_BACK>;
+			label = "SW3";
+		};
+
+		right-key {
+			gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_RIGHT>;
+			label = "SW2-R";
+		};
+
+		left-key {
+			gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_LEFT>;
+			label = "SW2-L";
+		};
+
+		enter-key {
+			gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_ENTER>;
+			label = "SW2-P";
+		};
+
+		up-key {
+			gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_UP>;
+			label = "SW2-U";
+		};
+
+		down-key {
+			gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_DOWN>;
+			label = "SW2-D";
+		};
+
+		home-key {
+			gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_HOME>;
+			label = "SW1";
+		};
+	};
+
+	sound {
+		compatible = "simple-audio-card";
+		simple-audio-card,format = "left_j";
+		simple-audio-card,cpu {
+			sound-dai = <&sh_fsi2 0>;
+		};
+		simple-audio-card,codec {
+			sound-dai = <&ak4648>;
+			bitclock-master;
+			frame-master;
+			system-clock-frequency = <11289600>;
+		};
+	};
+};
+
+&cmt1 {
+	status = "okay";
+};
+
+&extal2_clk {
+	clock-frequency = <48000000>;
+};
+
+&i2c0 {
+	status = "okay";
+
+	compass at c {
+		compatible = "asahi-kasei,ak8975";
+		reg = <0x0c>;
+		interrupt-parent = <&irqpin3>;
+		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
+	};
+
+	ak4648: codec at 12 {
+		compatible = "asahi-kasei,ak4648";
+		reg = <0x12>;
+		#sound-dai-cells = <0>;
+	};
+
+	accelerometer at 1d {
+		compatible = "adi,adxl34x";
+		reg = <0x1d>;
+		interrupt-parent = <&irqpin3>;
+		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
+			     <3 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
+	rtc at 32 {
+		compatible = "ricoh,r2025sd";
+		reg = <0x32>;
+	};
+
+	as3711 at 40 {
+		compatible = "ams,as3711";
+		reg = <0x40>;
+
+		regulators {
+			vdd_dvfs: sd1 {
+				regulator-name = "1.315V CPU";
+				regulator-min-microvolt = <1050000>;
+				regulator-max-microvolt = <1350000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			sd2 {
+				regulator-name = "1.8V";
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			sd4 {
+				regulator-name = "1.215V";
+				regulator-min-microvolt = <1215000>;
+				regulator-max-microvolt = <1235000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo2 {
+				regulator-name = "2.8V CPU";
+				regulator-min-microvolt = <2800000>;
+				regulator-max-microvolt = <2800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo3 {
+				regulator-name = "3.0V CPU";
+				regulator-min-microvolt = <3000000>;
+				regulator-max-microvolt = <3000000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo4 {
+				regulator-name = "2.8V";
+				regulator-min-microvolt = <2800000>;
+				regulator-max-microvolt = <2800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo5 {
+				regulator-name = "2.8V #2";
+				regulator-min-microvolt = <2800000>;
+				regulator-max-microvolt = <2800000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo7 {
+				regulator-name = "1.15V CPU";
+				regulator-min-microvolt = <1150000>;
+				regulator-max-microvolt = <1150000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+			ldo8 {
+				regulator-name = "1.15V CPU #2";
+				regulator-min-microvolt = <1150000>;
+				regulator-max-microvolt = <1150000>;
+				regulator-always-on;
+				regulator-boot-on;
+			};
+		};
+	};
+};
+
+&i2c1 {
+	status = "okay";
+
+	touchscreen at 55 {
+		compatible = "sitronix,st1232";
+		reg = <0x55>;
+		interrupt-parent = <&irqpin1>;
+		interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+	};
+};
+
+&i2c3 {
+	pinctrl-0 = <&i2c3_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	pcf8575: gpio at 20 {
+		compatible = "nxp,pcf8575";
+		reg = <0x20>;
+		interrupt-parent = <&irqpin2>;
+		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+};
+
+&mmcif {
+	pinctrl-0 = <&mmcif_pins>;
+	pinctrl-names = "default";
+
+	bus-width = <8>;
+	vmmc-supply = <&reg_1p8v>;
+	status = "okay";
+};
+
+&pfc {
+	i2c3_pins: i2c3 {
+		renesas,groups = "i2c3_1";
+		renesas,function = "i2c3";
+	};
+
+	mmcif_pins: mmc {
+		mux {
+			renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
+			renesas,function = "mmc0";
+		};
+		cfg {
+			renesas,groups = "mmc0_data8_0";
+			renesas,pins = "PORT279";
+			bias-pull-up;
+		};
+	};
+
+	scifa4_pins: serial4 {
+		renesas,groups = "scifa4_data", "scifa4_ctrl";
+		renesas,function = "scifa4";
+	};
+
+	sdhi0_pins: sd0 {
+		renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
+		renesas,function = "sdhi0";
+	};
+
+	sdhi2_pins: sd2 {
+		renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
+		renesas,function = "sdhi2";
+	};
+
+	fsia_pins: sounda {
+		renesas,groups = "fsia_mclk_in", "fsia_sclk_in",
+				 "fsia_data_in", "fsia_data_out";
+		renesas,function = "fsia";
+	};
+};
+
+&scifa4 {
+	pinctrl-0 = <&scifa4_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&sdhi0 {
+	pinctrl-0 = <&sdhi0_pins>;
+	pinctrl-names = "default";
+
+	vmmc-supply = <&vmmc_sdhi0>;
+	bus-width = <4>;
+	status = "okay";
+};
+
+&sdhi2 {
+	pinctrl-0 = <&sdhi2_pins>;
+	pinctrl-names = "default";
+
+	vmmc-supply = <&vmmc_sdhi2>;
+	bus-width = <4>;
+	broken-cd;
+	status = "okay";
+};
+
+&sh_fsi2 {
+	pinctrl-0 = <&fsia_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 4/4] ARM: shmobile: kzm9g: Build DTS for Multiplatform
  2015-01-09 13:08 ` Geert Uytterhoeven
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Build the sh73a0 KZM9G board DTB in case of Multiplatform.
The DT reference case will be removed in the future and
can be ignored for now.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 59e79e9167af28dd..52844bf64d22cc8c 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -421,7 +421,8 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \
 	r8a7790-lager.dtb \
 	r8a7791-henninger.dtb \
 	r8a7791-koelsch.dtb \
-	r8a7794-alt.dtb
+	r8a7794-alt.dtb \
+	sh73a0-kzm9g.dtb
 dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
 	socfpga_arria10_socdk.dtb \
 	socfpga_cyclone5_socdk.dtb \
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 4/4] ARM: shmobile: kzm9g: Build DTS for Multiplatform
@ 2015-01-09 13:08   ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm+renesas@opensource.se>

Build the sh73a0 KZM9G board DTB in case of Multiplatform.
The DT reference case will be removed in the future and
can be ignored for now.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 59e79e9167af28dd..52844bf64d22cc8c 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -421,7 +421,8 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \
 	r8a7790-lager.dtb \
 	r8a7791-henninger.dtb \
 	r8a7791-koelsch.dtb \
-	r8a7794-alt.dtb
+	r8a7794-alt.dtb \
+	sh73a0-kzm9g.dtb
 dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
 	socfpga_arria10_socdk.dtb \
 	socfpga_cyclone5_socdk.dtb \
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
@ 2015-01-09 13:24   ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:24 UTC (permalink / raw)
  To: linux-arm-kernel

	Hi Simon, Magnus,

This patch series completes the migration from kzm9g-reference (legacy
DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
common clock framework).

  - The first two patches fix Ethernet on kzm9g, by adding a Bus State
    Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
    Add Simple Power-Managed Bus", and moving the Ethernet node to it,
  - The third path enables kzm9g support in shmobile_defconfig,
  - The fourth patch removes all kzm9g-reference support, now the
    sh73a0 generic multiplatform case has the same feature set
    (better, it provides 16 MiB more RAM!).

Thanks for applying!

Geert Uytterhoeven (4):
  ARM: shmobile: sh73a0 dtsi: Add Bus State Controller node
  ARM: shmobile: kzm9g dts: Move Ethernet node to BSC
  ARM: shmobile: Enable kzm9g board in multiplatform defconfig
  ARM: shmobile: kzm9g-reference: Remove board C code and DT file

 Documentation/devicetree/bindings/arm/shmobile.txt |   2 -
 arch/arm/boot/dts/Makefile                         |   3 +-
 arch/arm/boot/dts/sh73a0-kzm9g-reference.dts       | 398 ---------------------
 arch/arm/boot/dts/sh73a0-kzm9g.dts                 |  28 +-
 arch/arm/boot/dts/sh73a0.dtsi                      |  10 +
 arch/arm/configs/shmobile_defconfig                |  19 +-
 arch/arm/mach-shmobile/Kconfig                     |  14 -
 arch/arm/mach-shmobile/Makefile                    |   1 -
 arch/arm/mach-shmobile/Makefile.boot               |   1 -
 arch/arm/mach-shmobile/board-kzm9g-reference.c     |  62 ----
 arch/arm/mach-shmobile/include/mach/zboot.h        |   2 +-
 11 files changed, 43 insertions(+), 497 deletions(-)
 delete mode 100644 arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
 delete mode 100644 arch/arm/mach-shmobile/board-kzm9g-reference.c

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
@ 2015-01-09 13:24   ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-09 13:24 UTC (permalink / raw)
  To: linux-arm-kernel

	Hi Simon, Magnus,

This patch series completes the migration from kzm9g-reference (legacy
DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
common clock framework).

  - The first two patches fix Ethernet on kzm9g, by adding a Bus State
    Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
    Add Simple Power-Managed Bus", and moving the Ethernet node to it,
  - The third path enables kzm9g support in shmobile_defconfig,
  - The fourth patch removes all kzm9g-reference support, now the
    sh73a0 generic multiplatform case has the same feature set
    (better, it provides 16 MiB more RAM!).

Thanks for applying!

Geert Uytterhoeven (4):
  ARM: shmobile: sh73a0 dtsi: Add Bus State Controller node
  ARM: shmobile: kzm9g dts: Move Ethernet node to BSC
  ARM: shmobile: Enable kzm9g board in multiplatform defconfig
  ARM: shmobile: kzm9g-reference: Remove board C code and DT file

 Documentation/devicetree/bindings/arm/shmobile.txt |   2 -
 arch/arm/boot/dts/Makefile                         |   3 +-
 arch/arm/boot/dts/sh73a0-kzm9g-reference.dts       | 398 ---------------------
 arch/arm/boot/dts/sh73a0-kzm9g.dts                 |  28 +-
 arch/arm/boot/dts/sh73a0.dtsi                      |  10 +
 arch/arm/configs/shmobile_defconfig                |  19 +-
 arch/arm/mach-shmobile/Kconfig                     |  14 -
 arch/arm/mach-shmobile/Makefile                    |   1 -
 arch/arm/mach-shmobile/Makefile.boot               |   1 -
 arch/arm/mach-shmobile/board-kzm9g-reference.c     |  62 ----
 arch/arm/mach-shmobile/include/mach/zboot.h        |   2 +-
 11 files changed, 43 insertions(+), 497 deletions(-)
 delete mode 100644 arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
 delete mode 100644 arch/arm/mach-shmobile/board-kzm9g-reference.c

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
  2015-01-09 13:08 ` Geert Uytterhoeven
@ 2015-01-13  2:08   ` Simon Horman
  -1 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-13  2:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> This patch series (by Magnus) introduces multiplatform support for the
> sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> kernel fine, except for working Ethernet (the ZB clock is disabled by
> clk_disable_unused()).
> 
> This series has been sent before by Magnus as part of the series
> "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> I've updated the kzm9g DTS sync patch for recent changes to the
> kzm9g-reference DTS.
> 
> Thanks for applying!

Thanks, done.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
@ 2015-01-13  2:08   ` Simon Horman
  0 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-13  2:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> This patch series (by Magnus) introduces multiplatform support for the
> sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> kernel fine, except for working Ethernet (the ZB clock is disabled by
> clk_disable_unused()).
> 
> This series has been sent before by Magnus as part of the series
> "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> I've updated the kzm9g DTS sync patch for recent changes to the
> kzm9g-reference DTS.
> 
> Thanks for applying!

Thanks, done.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
  2015-01-09 13:24   ` Geert Uytterhoeven
@ 2015-01-13  2:08     ` Simon Horman
  -1 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-13  2:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> This patch series completes the migration from kzm9g-reference (legacy
> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
> common clock framework).
> 
>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
>   - The third path enables kzm9g support in shmobile_defconfig,
>   - The fourth patch removes all kzm9g-reference support, now the
>     sh73a0 generic multiplatform case has the same feature set
>     (better, it provides 16 MiB more RAM!).
> 
> Thanks for applying!

It seems to me that at the first two patches require the patchset
referenced above in order to work. For that reason I am holding off
on applying this series. I am quite happy to negotiate merging
some or all of this series earlier than later :)

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
@ 2015-01-13  2:08     ` Simon Horman
  0 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-13  2:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> This patch series completes the migration from kzm9g-reference (legacy
> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
> common clock framework).
> 
>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
>   - The third path enables kzm9g support in shmobile_defconfig,
>   - The fourth patch removes all kzm9g-reference support, now the
>     sh73a0 generic multiplatform case has the same feature set
>     (better, it provides 16 MiB more RAM!).
> 
> Thanks for applying!

It seems to me that at the first two patches require the patchset
referenced above in order to work. For that reason I am holding off
on applying this series. I am quite happy to negotiate merging
some or all of this series earlier than later :)

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
  2015-01-13  2:08     ` Simon Horman
@ 2015-01-13 10:08       ` Geert Uytterhoeven
  -1 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-13 10:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon,

On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
> On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
>>       Hi Simon, Magnus,
>>
>> This patch series completes the migration from kzm9g-reference (legacy
>> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
>> common clock framework).
>>
>>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
>>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
>>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
>>   - The third path enables kzm9g support in shmobile_defconfig,
>>   - The fourth patch removes all kzm9g-reference support, now the
>>     sh73a0 generic multiplatform case has the same feature set
>>     (better, it provides 16 MiB more RAM!).
>>
>> Thanks for applying!
>
> It seems to me that at the first two patches require the patchset
> referenced above in order to work. For that reason I am holding off

Yes it does.

> on applying this series. I am quite happy to negotiate merging
> some or all of this series earlier than later :)

Hence please merge both the dependency and this series.

  1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
      depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",
  2. DT PM domain for sh73a0 and r8a73a4 depends on
      sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform,
  3. CONFIG_CPU_IDLE=y hangs on sh73a0 without an early timer.
       - On kzm9g-multiplatform this can be fixed by adding an
         arm,cortex-a9-twd-timer node, but that breaks kzm9g-reference as
         the TWD driver requires CCF when instantiated from DT,
       - Fixing this on kzm9g-reference requires setting
         ".init_time = sh73a0_earlytimer_init", and also instantiating the GIC
         from C board code, as the TWD platform device uses an hardcoded
         interrupt number.
         It seems simpler to let kzm9g-reference die, so this problem goes
         away.

Thanks for your consideration!

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
@ 2015-01-13 10:08       ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-13 10:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon,

On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
> On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
>>       Hi Simon, Magnus,
>>
>> This patch series completes the migration from kzm9g-reference (legacy
>> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
>> common clock framework).
>>
>>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
>>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
>>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
>>   - The third path enables kzm9g support in shmobile_defconfig,
>>   - The fourth patch removes all kzm9g-reference support, now the
>>     sh73a0 generic multiplatform case has the same feature set
>>     (better, it provides 16 MiB more RAM!).
>>
>> Thanks for applying!
>
> It seems to me that at the first two patches require the patchset
> referenced above in order to work. For that reason I am holding off

Yes it does.

> on applying this series. I am quite happy to negotiate merging
> some or all of this series earlier than later :)

Hence please merge both the dependency and this series.

  1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
      depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",
  2. DT PM domain for sh73a0 and r8a73a4 depends on
      sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform,
  3. CONFIG_CPU_IDLE=y hangs on sh73a0 without an early timer.
       - On kzm9g-multiplatform this can be fixed by adding an
         arm,cortex-a9-twd-timer node, but that breaks kzm9g-reference as
         the TWD driver requires CCF when instantiated from DT,
       - Fixing this on kzm9g-reference requires setting
         ".init_time = sh73a0_earlytimer_init", and also instantiating the GIC
         from C board code, as the TWD platform device uses an hardcoded
         interrupt number.
         It seems simpler to let kzm9g-reference die, so this problem goes
         away.

Thanks for your consideration!

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
  2015-01-13 10:08       ` Geert Uytterhoeven
@ 2015-01-14  4:08         ` Simon Horman
  -1 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-14  4:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jan 13, 2015 at 11:08:20AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
> >>       Hi Simon, Magnus,
> >>
> >> This patch series completes the migration from kzm9g-reference (legacy
> >> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
> >> common clock framework).
> >>
> >>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
> >>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
> >>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
> >>   - The third path enables kzm9g support in shmobile_defconfig,
> >>   - The fourth patch removes all kzm9g-reference support, now the
> >>     sh73a0 generic multiplatform case has the same feature set
> >>     (better, it provides 16 MiB more RAM!).
> >>
> >> Thanks for applying!
> >
> > It seems to me that at the first two patches require the patchset
> > referenced above in order to work. For that reason I am holding off
> 
> Yes it does.
> 
> > on applying this series. I am quite happy to negotiate merging
> > some or all of this series earlier than later :)
> 
> Hence please merge both the dependency and this series.
> 
>   1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
>       depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",

For some reason I assumed this would go through a different subsystem tree.
I'm fine with taking it through my tree, if you think that is best.

I am a bit worried about handling conflicts that may arise, especially from
the first two patches in that series which re-arrange things
alphabetically. But I see that the files in question are not updated very
often, so I suppose we should be safe enough.


For now I have tentatively queued up both this patchset and the
dependency listed immediately above. Please take a look
at the sh73a0-multiplatform-for-v3.20 and drivers-for-v3.20 branches
and the renesas-next-20150114-v3.19-rc1 tag to see if I missed something.

>   2. DT PM domain for sh73a0 and r8a73a4 depends on
>       sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform,
>   3. CONFIG_CPU_IDLE=y hangs on sh73a0 without an early timer.
>        - On kzm9g-multiplatform this can be fixed by adding an
>          arm,cortex-a9-twd-timer node, but that breaks kzm9g-reference as
>          the TWD driver requires CCF when instantiated from DT,
>        - Fixing this on kzm9g-reference requires setting
>          ".init_time = sh73a0_earlytimer_init", and also instantiating the GIC
>          from C board code, as the TWD platform device uses an hardcoded
>          interrupt number.
>          It seems simpler to let kzm9g-reference die, so this problem goes
>          away.
> 
> Thanks for your consideration!
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> 

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
@ 2015-01-14  4:08         ` Simon Horman
  0 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-14  4:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jan 13, 2015 at 11:08:20AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
> >>       Hi Simon, Magnus,
> >>
> >> This patch series completes the migration from kzm9g-reference (legacy
> >> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
> >> common clock framework).
> >>
> >>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
> >>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
> >>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
> >>   - The third path enables kzm9g support in shmobile_defconfig,
> >>   - The fourth patch removes all kzm9g-reference support, now the
> >>     sh73a0 generic multiplatform case has the same feature set
> >>     (better, it provides 16 MiB more RAM!).
> >>
> >> Thanks for applying!
> >
> > It seems to me that at the first two patches require the patchset
> > referenced above in order to work. For that reason I am holding off
> 
> Yes it does.
> 
> > on applying this series. I am quite happy to negotiate merging
> > some or all of this series earlier than later :)
> 
> Hence please merge both the dependency and this series.
> 
>   1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
>       depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",

For some reason I assumed this would go through a different subsystem tree.
I'm fine with taking it through my tree, if you think that is best.

I am a bit worried about handling conflicts that may arise, especially from
the first two patches in that series which re-arrange things
alphabetically. But I see that the files in question are not updated very
often, so I suppose we should be safe enough.


For now I have tentatively queued up both this patchset and the
dependency listed immediately above. Please take a look
at the sh73a0-multiplatform-for-v3.20 and drivers-for-v3.20 branches
and the renesas-next-20150114-v3.19-rc1 tag to see if I missed something.

>   2. DT PM domain for sh73a0 and r8a73a4 depends on
>       sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform,
>   3. CONFIG_CPU_IDLE=y hangs on sh73a0 without an early timer.
>        - On kzm9g-multiplatform this can be fixed by adding an
>          arm,cortex-a9-twd-timer node, but that breaks kzm9g-reference as
>          the TWD driver requires CCF when instantiated from DT,
>        - Fixing this on kzm9g-reference requires setting
>          ".init_time = sh73a0_earlytimer_init", and also instantiating the GIC
>          from C board code, as the TWD platform device uses an hardcoded
>          interrupt number.
>          It seems simpler to let kzm9g-reference die, so this problem goes
>          away.
> 
> Thanks for your consideration!
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> 

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
  2015-01-14  4:08         ` Simon Horman
@ 2015-01-14 10:03           ` Geert Uytterhoeven
  -1 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-14 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon,

On Wed, Jan 14, 2015 at 5:08 AM, Simon Horman <horms@verge.net.au> wrote:
> On Tue, Jan 13, 2015 at 11:08:20AM +0100, Geert Uytterhoeven wrote:
>> On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
>> > On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
>> >> This patch series completes the migration from kzm9g-reference (legacy
>> >> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
>> >> common clock framework).
>> >>
>> >>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
>> >>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
>> >>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
>> >>   - The third path enables kzm9g support in shmobile_defconfig,
>> >>   - The fourth patch removes all kzm9g-reference support, now the
>> >>     sh73a0 generic multiplatform case has the same feature set
>> >>     (better, it provides 16 MiB more RAM!).
>> >>
>> >> Thanks for applying!
>> >
>> > It seems to me that at the first two patches require the patchset
>> > referenced above in order to work. For that reason I am holding off
>>
>> Yes it does.
>>
>> > on applying this series. I am quite happy to negotiate merging
>> > some or all of this series earlier than later :)
>>
>> Hence please merge both the dependency and this series.
>>
>>   1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
>>       depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",
>
> For some reason I assumed this would go through a different subsystem tree.
> I'm fine with taking it through my tree, if you think that is best.

There's no maintainer for drivers/bus/, and as kzm9g-multiplatform depends on
it, your tree looks fine to me.

> I am a bit worried about handling conflicts that may arise, especially from
> the first two patches in that series which re-arrange things
> alphabetically. But I see that the files in question are not updated very
> often, so I suppose we should be safe enough.

Indeed.

> For now I have tentatively queued up both this patchset and the
> dependency listed immediately above. Please take a look
> at the sh73a0-multiplatform-for-v3.20 and drivers-for-v3.20 branches
> and the renesas-next-20150114-v3.19-rc1 tag to see if I missed something.

Thanks, looks fine!

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
@ 2015-01-14 10:03           ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-14 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon,

On Wed, Jan 14, 2015 at 5:08 AM, Simon Horman <horms@verge.net.au> wrote:
> On Tue, Jan 13, 2015 at 11:08:20AM +0100, Geert Uytterhoeven wrote:
>> On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
>> > On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
>> >> This patch series completes the migration from kzm9g-reference (legacy
>> >> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
>> >> common clock framework).
>> >>
>> >>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
>> >>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
>> >>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
>> >>   - The third path enables kzm9g support in shmobile_defconfig,
>> >>   - The fourth patch removes all kzm9g-reference support, now the
>> >>     sh73a0 generic multiplatform case has the same feature set
>> >>     (better, it provides 16 MiB more RAM!).
>> >>
>> >> Thanks for applying!
>> >
>> > It seems to me that at the first two patches require the patchset
>> > referenced above in order to work. For that reason I am holding off
>>
>> Yes it does.
>>
>> > on applying this series. I am quite happy to negotiate merging
>> > some or all of this series earlier than later :)
>>
>> Hence please merge both the dependency and this series.
>>
>>   1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
>>       depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",
>
> For some reason I assumed this would go through a different subsystem tree.
> I'm fine with taking it through my tree, if you think that is best.

There's no maintainer for drivers/bus/, and as kzm9g-multiplatform depends on
it, your tree looks fine to me.

> I am a bit worried about handling conflicts that may arise, especially from
> the first two patches in that series which re-arrange things
> alphabetically. But I see that the files in question are not updated very
> often, so I suppose we should be safe enough.

Indeed.

> For now I have tentatively queued up both this patchset and the
> dependency listed immediately above. Please take a look
> at the sh73a0-multiplatform-for-v3.20 and drivers-for-v3.20 branches
> and the renesas-next-20150114-v3.19-rc1 tag to see if I missed something.

Thanks, looks fine!

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
  2015-01-14 10:03           ` Geert Uytterhoeven
@ 2015-01-14 23:34             ` Simon Horman
  -1 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-14 23:34 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jan 14, 2015 at 11:03:42AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Wed, Jan 14, 2015 at 5:08 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Tue, Jan 13, 2015 at 11:08:20AM +0100, Geert Uytterhoeven wrote:
> >> On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
> >> > On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
> >> >> This patch series completes the migration from kzm9g-reference (legacy
> >> >> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
> >> >> common clock framework).
> >> >>
> >> >>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
> >> >>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
> >> >>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
> >> >>   - The third path enables kzm9g support in shmobile_defconfig,
> >> >>   - The fourth patch removes all kzm9g-reference support, now the
> >> >>     sh73a0 generic multiplatform case has the same feature set
> >> >>     (better, it provides 16 MiB more RAM!).
> >> >>
> >> >> Thanks for applying!
> >> >
> >> > It seems to me that at the first two patches require the patchset
> >> > referenced above in order to work. For that reason I am holding off
> >>
> >> Yes it does.
> >>
> >> > on applying this series. I am quite happy to negotiate merging
> >> > some or all of this series earlier than later :)
> >>
> >> Hence please merge both the dependency and this series.
> >>
> >>   1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
> >>       depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",
> >
> > For some reason I assumed this would go through a different subsystem tree.
> > I'm fine with taking it through my tree, if you think that is best.
> 
> There's no maintainer for drivers/bus/, and as kzm9g-multiplatform depends on
> it, your tree looks fine to me.

On closer examination I also see that there is no drivers/bus/ maintainer.
So yes, I agree we should be fine.

> > I am a bit worried about handling conflicts that may arise, especially from
> > the first two patches in that series which re-arrange things
> > alphabetically. But I see that the files in question are not updated very
> > often, so I suppose we should be safe enough.
> 
> Indeed.
> 
> > For now I have tentatively queued up both this patchset and the
> > dependency listed immediately above. Please take a look
> > at the sh73a0-multiplatform-for-v3.20 and drivers-for-v3.20 branches
> > and the renesas-next-20150114-v3.19-rc1 tag to see if I missed something.
> 
> Thanks, looks fine!

Great, thanks for checking.

My plan is to send pull-requests for those branches once they
have sat in next for a little bit. By my calculations that should be early
next week.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support
@ 2015-01-14 23:34             ` Simon Horman
  0 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-14 23:34 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jan 14, 2015 at 11:03:42AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Wed, Jan 14, 2015 at 5:08 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Tue, Jan 13, 2015 at 11:08:20AM +0100, Geert Uytterhoeven wrote:
> >> On Tue, Jan 13, 2015 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
> >> > On Fri, Jan 09, 2015 at 02:24:26PM +0100, Geert Uytterhoeven wrote:
> >> >> This patch series completes the migration from kzm9g-reference (legacy
> >> >> DT based) to kzm9g-multiplatform (ARM multiplatform DT based with
> >> >> common clock framework).
> >> >>
> >> >>   - The first two patches fix Ethernet on kzm9g, by adding a Bus State
> >> >>     Controller node, as introduced in "[PATCH v3 0/4] drivers: bus:
> >> >>     Add Simple Power-Managed Bus", and moving the Ethernet node to it,
> >> >>   - The third path enables kzm9g support in shmobile_defconfig,
> >> >>   - The fourth patch removes all kzm9g-reference support, now the
> >> >>     sh73a0 generic multiplatform case has the same feature set
> >> >>     (better, it provides 16 MiB more RAM!).
> >> >>
> >> >> Thanks for applying!
> >> >
> >> > It seems to me that at the first two patches require the patchset
> >> > referenced above in order to work. For that reason I am holding off
> >>
> >> Yes it does.
> >>
> >> > on applying this series. I am quite happy to negotiate merging
> >> > some or all of this series earlier than later :)
> >>
> >> Hence please merge both the dependency and this series.
> >>
> >>   1. Both sh73a0/kzm9g-multiplatform and r8a73a4/ape6evm-multiplatform
> >>       depend on "[PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus",
> >
> > For some reason I assumed this would go through a different subsystem tree.
> > I'm fine with taking it through my tree, if you think that is best.
> 
> There's no maintainer for drivers/bus/, and as kzm9g-multiplatform depends on
> it, your tree looks fine to me.

On closer examination I also see that there is no drivers/bus/ maintainer.
So yes, I agree we should be fine.

> > I am a bit worried about handling conflicts that may arise, especially from
> > the first two patches in that series which re-arrange things
> > alphabetically. But I see that the files in question are not updated very
> > often, so I suppose we should be safe enough.
> 
> Indeed.
> 
> > For now I have tentatively queued up both this patchset and the
> > dependency listed immediately above. Please take a look
> > at the sh73a0-multiplatform-for-v3.20 and drivers-for-v3.20 branches
> > and the renesas-next-20150114-v3.19-rc1 tag to see if I missed something.
> 
> Thanks, looks fine!

Great, thanks for checking.

My plan is to send pull-requests for those branches once they
have sat in next for a little bit. By my calculations that should be early
next week.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
  2015-01-13  2:08   ` Simon Horman
@ 2015-01-22  2:48     ` Simon Horman
  -1 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-22  2:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
> On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> > 	Hi Simon, Magnus,
> > 
> > This patch series (by Magnus) introduces multiplatform support for the
> > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> > kernel fine, except for working Ethernet (the ZB clock is disabled by
> > clk_disable_unused()).
> > 
> > This series has been sent before by Magnus as part of the series
> > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> > I've updated the kzm9g DTS sync patch for recent changes to the
> > kzm9g-reference DTS.
> > 
> > Thanks for applying!
> 
> Thanks, done.

For the record: Olof has asked for review comments for the BSC driver
and binding patches. Accordingly I have dropped them, and these patches
which depend on them, from next.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
@ 2015-01-22  2:48     ` Simon Horman
  0 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-22  2:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
> On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> > 	Hi Simon, Magnus,
> > 
> > This patch series (by Magnus) introduces multiplatform support for the
> > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> > kernel fine, except for working Ethernet (the ZB clock is disabled by
> > clk_disable_unused()).
> > 
> > This series has been sent before by Magnus as part of the series
> > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> > I've updated the kzm9g DTS sync patch for recent changes to the
> > kzm9g-reference DTS.
> > 
> > Thanks for applying!
> 
> Thanks, done.

For the record: Olof has asked for review comments for the BSC driver
and binding patches. Accordingly I have dropped them, and these patches
which depend on them, from next.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
  2015-01-22  2:48     ` Simon Horman
@ 2015-01-22  2:50       ` Simon Horman
  -1 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-22  2:50 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 22, 2015 at 11:48:05AM +0900, Simon Horman wrote:
> On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
> > On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> > > 	Hi Simon, Magnus,
> > > 
> > > This patch series (by Magnus) introduces multiplatform support for the
> > > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> > > kernel fine, except for working Ethernet (the ZB clock is disabled by
> > > clk_disable_unused()).
> > > 
> > > This series has been sent before by Magnus as part of the series
> > > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> > > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> > > I've updated the kzm9g DTS sync patch for recent changes to the
> > > kzm9g-reference DTS.
> > > 
> > > Thanks for applying!
> > 
> > Thanks, done.
> 
> For the record: Olof has asked for review comments for the BSC driver
> and binding patches. Accordingly I have dropped them, and these patches
> which depend on them, from next.

To clarify, this dependency may be due to the way the branches are arranged,
rather than actual dependencies of the code. But regardless I am dropping
all effected branches for now.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
@ 2015-01-22  2:50       ` Simon Horman
  0 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-22  2:50 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 22, 2015 at 11:48:05AM +0900, Simon Horman wrote:
> On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
> > On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> > > 	Hi Simon, Magnus,
> > > 
> > > This patch series (by Magnus) introduces multiplatform support for the
> > > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> > > kernel fine, except for working Ethernet (the ZB clock is disabled by
> > > clk_disable_unused()).
> > > 
> > > This series has been sent before by Magnus as part of the series
> > > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> > > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> > > I've updated the kzm9g DTS sync patch for recent changes to the
> > > kzm9g-reference DTS.
> > > 
> > > Thanks for applying!
> > 
> > Thanks, done.
> 
> For the record: Olof has asked for review comments for the BSC driver
> and binding patches. Accordingly I have dropped them, and these patches
> which depend on them, from next.

To clarify, this dependency may be due to the way the branches are arranged,
rather than actual dependencies of the code. But regardless I am dropping
all effected branches for now.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
  2015-01-22  2:50       ` Simon Horman
@ 2015-01-23  4:22         ` Simon Horman
  -1 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-23  4:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 22, 2015 at 11:50:03AM +0900, Simon Horman wrote:
> On Thu, Jan 22, 2015 at 11:48:05AM +0900, Simon Horman wrote:
> > On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
> > > On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> > > > 	Hi Simon, Magnus,
> > > > 
> > > > This patch series (by Magnus) introduces multiplatform support for the
> > > > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> > > > kernel fine, except for working Ethernet (the ZB clock is disabled by
> > > > clk_disable_unused()).
> > > > 
> > > > This series has been sent before by Magnus as part of the series
> > > > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> > > > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> > > > I've updated the kzm9g DTS sync patch for recent changes to the
> > > > kzm9g-reference DTS.
> > > > 
> > > > Thanks for applying!
> > > 
> > > Thanks, done.
> > 
> > For the record: Olof has asked for review comments for the BSC driver
> > and binding patches. Accordingly I have dropped them, and these patches
> > which depend on them, from next.
> 
> To clarify, this dependency may be due to the way the branches are arranged,
> rather than actual dependencies of the code. But regardless I am dropping
> all effected branches for now.

I have now had a chance to re-examine these patches and it seems to me that
they do not depend on the BSC driver (or anything else other than for
context). With that in mind I have queued them up in the
sh73a0-multiplatform-for-v3.21 which is based on the dt-for-v3.21 branch
(for context) as part of and pushed this as part of
renesas-devel-20150123-v3.19-rc5.

Please take a moment to see if what I have done makes sense to you.

For reference this covers the following patches which comprised this series:

Magnus Damm (4):
  ARM: shmobile: sh73a0: Introduce generic setup callback
  ARM: shmobile: sh73a0: Add Multiplatform support
  ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
  ARM: shmobile: kzm9g: Build DTS for Multiplatform

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
@ 2015-01-23  4:22         ` Simon Horman
  0 siblings, 0 replies; 32+ messages in thread
From: Simon Horman @ 2015-01-23  4:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 22, 2015 at 11:50:03AM +0900, Simon Horman wrote:
> On Thu, Jan 22, 2015 at 11:48:05AM +0900, Simon Horman wrote:
> > On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
> > > On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
> > > > 	Hi Simon, Magnus,
> > > > 
> > > > This patch series (by Magnus) introduces multiplatform support for the
> > > > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
> > > > kernel fine, except for working Ethernet (the ZB clock is disabled by
> > > > clk_disable_unused()).
> > > > 
> > > > This series has been sent before by Magnus as part of the series
> > > > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
> > > > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
> > > > I've updated the kzm9g DTS sync patch for recent changes to the
> > > > kzm9g-reference DTS.
> > > > 
> > > > Thanks for applying!
> > > 
> > > Thanks, done.
> > 
> > For the record: Olof has asked for review comments for the BSC driver
> > and binding patches. Accordingly I have dropped them, and these patches
> > which depend on them, from next.
> 
> To clarify, this dependency may be due to the way the branches are arranged,
> rather than actual dependencies of the code. But regardless I am dropping
> all effected branches for now.

I have now had a chance to re-examine these patches and it seems to me that
they do not depend on the BSC driver (or anything else other than for
context). With that in mind I have queued them up in the
sh73a0-multiplatform-for-v3.21 which is based on the dt-for-v3.21 branch
(for context) as part of and pushed this as part of
renesas-devel-20150123-v3.19-rc5.

Please take a moment to see if what I have done makes sense to you.

For reference this covers the following patches which comprised this series:

Magnus Damm (4):
  ARM: shmobile: sh73a0: Introduce generic setup callback
  ARM: shmobile: sh73a0: Add Multiplatform support
  ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
  ARM: shmobile: kzm9g: Build DTS for Multiplatform

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
  2015-01-23  4:22         ` Simon Horman
@ 2015-01-23  9:56           ` Geert Uytterhoeven
  -1 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-23  9:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon,

On Fri, Jan 23, 2015 at 5:22 AM, Simon Horman <horms@verge.net.au> wrote:
> On Thu, Jan 22, 2015 at 11:50:03AM +0900, Simon Horman wrote:
>> On Thu, Jan 22, 2015 at 11:48:05AM +0900, Simon Horman wrote:
>> > On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
>> > > On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
>> > > >         Hi Simon, Magnus,
>> > > >
>> > > > This patch series (by Magnus) introduces multiplatform support for the
>> > > > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
>> > > > kernel fine, except for working Ethernet (the ZB clock is disabled by
>> > > > clk_disable_unused()).
>> > > >
>> > > > This series has been sent before by Magnus as part of the series
>> > > > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
>> > > > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
>> > > > I've updated the kzm9g DTS sync patch for recent changes to the
>> > > > kzm9g-reference DTS.
>> > > >
>> > > > Thanks for applying!
>> > >
>> > > Thanks, done.
>> >
>> > For the record: Olof has asked for review comments for the BSC driver
>> > and binding patches. Accordingly I have dropped them, and these patches
>> > which depend on them, from next.
>>
>> To clarify, this dependency may be due to the way the branches are arranged,
>> rather than actual dependencies of the code. But regardless I am dropping
>> all effected branches for now.
>
> I have now had a chance to re-examine these patches and it seems to me that
> they do not depend on the BSC driver (or anything else other than for
> context). With that in mind I have queued them up in the
> sh73a0-multiplatform-for-v3.21 which is based on the dt-for-v3.21 branch
> (for context) as part of and pushed this as part of
> renesas-devel-20150123-v3.19-rc5.
>
> Please take a moment to see if what I have done makes sense to you.

OK, Thanks!

> For reference this covers the following patches which comprised this series:
>
> Magnus Damm (4):
>   ARM: shmobile: sh73a0: Introduce generic setup callback
>   ARM: shmobile: sh73a0: Add Multiplatform support
>   ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
>   ARM: shmobile: kzm9g: Build DTS for Multiplatform

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

* [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support
@ 2015-01-23  9:56           ` Geert Uytterhoeven
  0 siblings, 0 replies; 32+ messages in thread
From: Geert Uytterhoeven @ 2015-01-23  9:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon,

On Fri, Jan 23, 2015 at 5:22 AM, Simon Horman <horms@verge.net.au> wrote:
> On Thu, Jan 22, 2015 at 11:50:03AM +0900, Simon Horman wrote:
>> On Thu, Jan 22, 2015 at 11:48:05AM +0900, Simon Horman wrote:
>> > On Tue, Jan 13, 2015 at 11:08:14AM +0900, Simon Horman wrote:
>> > > On Fri, Jan 09, 2015 at 02:08:48PM +0100, Geert Uytterhoeven wrote:
>> > > >         Hi Simon, Magnus,
>> > > >
>> > > > This patch series (by Magnus) introduces multiplatform support for the
>> > > > sh73a0 platform. After this kzm9g can boot a sh73a0 multiplatform
>> > > > kernel fine, except for working Ethernet (the ZB clock is disabled by
>> > > > clk_disable_unused()).
>> > > >
>> > > > This series has been sent before by Magnus as part of the series
>> > > > "[PATCH v2 00/05] ARM: shmobile: sh73a0 and kzm9g Multiplatform
>> > > > revisit" (http://www.spinics.net/lists/linux-sh/msg38384.html).
>> > > > I've updated the kzm9g DTS sync patch for recent changes to the
>> > > > kzm9g-reference DTS.
>> > > >
>> > > > Thanks for applying!
>> > >
>> > > Thanks, done.
>> >
>> > For the record: Olof has asked for review comments for the BSC driver
>> > and binding patches. Accordingly I have dropped them, and these patches
>> > which depend on them, from next.
>>
>> To clarify, this dependency may be due to the way the branches are arranged,
>> rather than actual dependencies of the code. But regardless I am dropping
>> all effected branches for now.
>
> I have now had a chance to re-examine these patches and it seems to me that
> they do not depend on the BSC driver (or anything else other than for
> context). With that in mind I have queued them up in the
> sh73a0-multiplatform-for-v3.21 which is based on the dt-for-v3.21 branch
> (for context) as part of and pushed this as part of
> renesas-devel-20150123-v3.19-rc5.
>
> Please take a moment to see if what I have done makes sense to you.

OK, Thanks!

> For reference this covers the following patches which comprised this series:
>
> Magnus Damm (4):
>   ARM: shmobile: sh73a0: Introduce generic setup callback
>   ARM: shmobile: sh73a0: Add Multiplatform support
>   ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts
>   ARM: shmobile: kzm9g: Build DTS for Multiplatform

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2015-01-23  9:56 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-09 13:08 [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce multiplatform support Geert Uytterhoeven
2015-01-09 13:08 ` Geert Uytterhoeven
2015-01-09 13:08 ` [PATCH 1/4] ARM: shmobile: sh73a0: Introduce generic setup callback Geert Uytterhoeven
2015-01-09 13:08   ` Geert Uytterhoeven
2015-01-09 13:08 ` [PATCH 2/4] ARM: shmobile: sh73a0: Add Multiplatform support Geert Uytterhoeven
2015-01-09 13:08   ` Geert Uytterhoeven
2015-01-09 13:08 ` [PATCH 3/4] ARM: shmobile: kzm9g dts: Sync with kzm9g-reference dts Geert Uytterhoeven
2015-01-09 13:08   ` Geert Uytterhoeven
2015-01-09 13:08 ` [PATCH 4/4] ARM: shmobile: kzm9g: Build DTS for Multiplatform Geert Uytterhoeven
2015-01-09 13:08   ` Geert Uytterhoeven
2015-01-09 13:24 ` [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Complete multiplatform support Geert Uytterhoeven
2015-01-09 13:24   ` Geert Uytterhoeven
2015-01-13  2:08   ` Simon Horman
2015-01-13  2:08     ` Simon Horman
2015-01-13 10:08     ` Geert Uytterhoeven
2015-01-13 10:08       ` Geert Uytterhoeven
2015-01-14  4:08       ` Simon Horman
2015-01-14  4:08         ` Simon Horman
2015-01-14 10:03         ` Geert Uytterhoeven
2015-01-14 10:03           ` Geert Uytterhoeven
2015-01-14 23:34           ` Simon Horman
2015-01-14 23:34             ` Simon Horman
2015-01-13  2:08 ` [PATCH 0/4] ARM: shmobile: sh73a0/kzm9g: Introduce " Simon Horman
2015-01-13  2:08   ` Simon Horman
2015-01-22  2:48   ` Simon Horman
2015-01-22  2:48     ` Simon Horman
2015-01-22  2:50     ` Simon Horman
2015-01-22  2:50       ` Simon Horman
2015-01-23  4:22       ` Simon Horman
2015-01-23  4:22         ` Simon Horman
2015-01-23  9:56         ` Geert Uytterhoeven
2015-01-23  9:56           ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.