* [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12
@ 2013-08-07 4:38 Simon Horman
2013-08-07 4:38 ` [GIT PULL 10/26] ARM: shmobile: Use default ->init_time() on Bockw Simon Horman
` (27 more replies)
0 siblings, 28 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Arnd,
please consider this third round of Renesas ARM based SoC cleanups for
v3.12.
This pull-request is based on a merge of renesas-cleanup2-for-v3.12 and
renesas-dt2-for-v3.12 which I have previously sent pull-requests for.
This pull-request has some minor conflicts:
* There are some conflicts with renesas-multiplatform-for-v3.12,
which I have previously sent a pull request for,
in arch/arm/mach-shmobile/Makefile.
I have provided an example of how to merge these as part of
the renesas-devel-20180807 tag in the renesas tree.
The following changes since commit 4e0f3fcfe2f3716e3fa9c442cee93211bf2ac793:
Merge branch 'dt2' into cleanup3-base (2013-08-06 18:06:53 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-cleanup3-for-v3.12
for you to fetch changes up to 282b583f752f996ee5c33b0cdc18adf3b5094ee0:
ARM: shmobile: sh73a0: Remove global GPIO_NR definition (2013-08-06 18:07:13 +0900)
----------------------------------------------------------------
Third round of Renesas ARM based SoC cleanups for v3.12
* Remove global GPIO_NR definition from sh73a0 SoC
* Remove unnecessary nfsroot settings from bootargs of
kzm9d and armadillo800eva
* Rename irq initialisation functions of r8a7779 SoC
to make them consistent with other SoCs
* Simplify irq initialisation of r8a7740 SoC
* Add missing __initdata annotations to bockw board, and
r8a7790 and r8a7779 SoCs
* Refactor time initialisation and remove shmobile_init_time.
- This affects the following boards: kzm9g, marzen, ape6evm,
armadillo800eva and bockw
- This affects the following SoCs: r8a7790, r8a7779, r7a7740, r7a73a4
* Cleanup device registration code of r8a7778 SoC
----------------------------------------------------------------
Kuninori Morimoto (12):
ARM: shmobile: r8a7778: cleanup registration of mmcif
ARM: shmobile: r8a7778: cleanup registration of usb phy
ARM: shmobile: r8a7778: cleanup registration of sdhi
ARM: shmobile: r8a7778: cleanup registration of i2c
ARM: shmobile: r8a7778: cleanup registration of hspi
ARM: shmobile: r8a7779: add missing __initdata
ARM: shmobile: r8a7790: add missing __initdata
ARM: shmobile: bockw: add missing __initdata
ARM: shmobile: r8a7740: move r8a7740_init_irq_of() to setup
ARM: shmobile: r8a7779: move r8a7779_init_irq_xxx() to setup
ARM: shmobile: armadillo800eva: remove nfsroot settings from bootargs
ARM: shmobile: kzm9d: remove nfsroot settings from bootargs
Laurent Pinchart (1):
ARM: shmobile: sh73a0: Remove global GPIO_NR definition
Magnus Damm (13):
ARM: shmobile: Use default ->init_time() on r8a73a4
ARM: shmobile: Use default ->init_time() on r8a7740
ARM: shmobile: Use default ->init_time() on r8a7778
ARM: shmobile: Use default ->init_time() on r8a7779
ARM: shmobile: Use default ->init_time() on Bockw
ARM: shmobile: Use default ->init_time() on Bockw DT ref
ARM: shmobile: Use default ->init_time() on Armadillo DT ref
ARM: shmobile: Use default ->init_time() on APE6EVM
ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
ARM: shmobile: Use default ->init_time() on Marzen DT ref
ARM: shmobile: Use default ->init_time() on KZM9G DT ref
ARM: shmobile: Use clocksource_of_init() on r8a7790
ARM: shmobile: Remove unused shmobile_init_time()
arch/arm/boot/dts/emev2-kzm9d-reference.dts | 2 +-
arch/arm/boot/dts/emev2-kzm9d.dts | 2 +-
.../boot/dts/r8a7740-armadillo800eva-reference.dts | 2 +-
arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +-
arch/arm/mach-shmobile/Makefile | 4 +-
arch/arm/mach-shmobile/board-ape6evm-reference.c | 1 -
arch/arm/mach-shmobile/board-ape6evm.c | 1 -
.../board-armadillo800eva-reference.c | 1 -
arch/arm/mach-shmobile/board-bockw-reference.c | 1 -
arch/arm/mach-shmobile/board-bockw.c | 49 +++++++--
arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 -
arch/arm/mach-shmobile/board-kzm9g.c | 16 +--
arch/arm/mach-shmobile/board-marzen-reference.c | 1 -
arch/arm/mach-shmobile/include/mach/common.h | 1 -
arch/arm/mach-shmobile/include/mach/r8a7778.h | 8 --
arch/arm/mach-shmobile/include/mach/sh73a0.h | 2 -
arch/arm/mach-shmobile/intc-r8a7740.c | 54 ----------
arch/arm/mach-shmobile/intc-r8a7779.c | 116 ---------------------
arch/arm/mach-shmobile/setup-r8a73a4.c | 1 -
arch/arm/mach-shmobile/setup-r8a7740.c | 33 +++++-
arch/arm/mach-shmobile/setup-r8a7778.c | 64 ++----------
arch/arm/mach-shmobile/setup-r8a7779.c | 83 ++++++++++++++-
arch/arm/mach-shmobile/setup-r8a7790.c | 7 +-
arch/arm/mach-shmobile/timer.c | 4 -
24 files changed, 179 insertions(+), 277 deletions(-)
delete mode 100644 arch/arm/mach-shmobile/intc-r8a7740.c
delete mode 100644 arch/arm/mach-shmobile/intc-r8a7779.c
^ permalink raw reply [flat|nested] 31+ messages in thread
* [GIT PULL 10/26] ARM: shmobile: Use default ->init_time() on Bockw
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 01/26] ARM: shmobile: r8a7778: cleanup registration of mmcif Simon Horman
` (26 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index b6f3d2f..b40885de 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -273,7 +273,6 @@ DT_MACHINE_START(BOCKW_DT, "bockw")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
.init_machine = bockw_init,
- .init_time = shmobile_timer_init,
.dt_compat = bockw_boards_compat_dt,
.init_late = r8a7778_init_late,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 01/26] ARM: shmobile: r8a7778: cleanup registration of mmcif
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
2013-08-07 4:38 ` [GIT PULL 10/26] ARM: shmobile: Use default ->init_time() on Bockw Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 11/26] ARM: shmobile: Use default ->init_time() on Bockw DT ref Simon Horman
` (25 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
sh_mmcif driver which needs platform data at the time of
registration is used from BockW only.
Now, ARM/shmobile aims to support DT,
and the C code base board support will be removed
if DT support is completed.
Current driver registration method which needs platform data
and which is not shared complicates codes.
This means legacy C code cleanup after DT supporting
will be more complicated
This patch registers it on board code as cleanup C code
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw.c | 12 +++++++++++-
arch/arm/mach-shmobile/include/mach/r8a7778.h | 2 --
arch/arm/mach-shmobile/setup-r8a7778.c | 14 --------------
3 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index d555464..58e686d 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -20,6 +20,7 @@
#include <linux/mfd/tmio.h>
#include <linux/mmc/host.h>
+#include <linux/mmc/sh_mmcif.h>
#include <linux/mtd/partitions.h>
#include <linux/pinctrl/machine.h>
#include <linux/platform_device.h>
@@ -135,6 +136,11 @@ static struct spi_board_info spi_board_info[] __initdata = {
};
/* MMC */
+static struct resource mmc_resources[] __initdata = {
+ DEFINE_RES_MEM(0xffe4e000, 0x100),
+ DEFINE_RES_IRQ(gic_iid(0x5d)),
+};
+
static struct sh_mmcif_plat_data sh_mmcif_plat = {
.sup_pclk = 0,
.ocr = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
@@ -185,7 +191,6 @@ static void __init bockw_init(void)
r8a7778_add_ether_device(ðer_platform_data);
r8a7778_add_i2c_device(0);
r8a7778_add_hspi_device(0);
- r8a7778_add_mmc_device(&sh_mmcif_plat);
i2c_register_board_info(0, i2c0_devices,
ARRAY_SIZE(i2c0_devices));
@@ -195,6 +200,11 @@ static void __init bockw_init(void)
ARRAY_SIZE(bockw_pinctrl_map));
r8a7778_pinmux_init();
+ platform_device_register_resndata(
+ &platform_bus, "sh_mmcif", -1,
+ mmc_resources, ARRAY_SIZE(mmc_resources),
+ &sh_mmcif_plat, sizeof(struct sh_mmcif_plat_data));
+
/* for SMSC */
base = ioremap_nocache(FPGA, SZ_1M);
if (base) {
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h
index 8d24f73..2f45607 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
@@ -18,7 +18,6 @@
#ifndef __ASM_R8A7778_H__
#define __ASM_R8A7778_H__
-#include <linux/mmc/sh_mmcif.h>
#include <linux/mmc/sh_mobile_sdhi.h>
#include <linux/sh_eth.h>
#include <linux/platform_data/usb-rcar-phy.h>
@@ -29,7 +28,6 @@ extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata);
extern void r8a7778_add_i2c_device(int id);
extern void r8a7778_add_hspi_device(int id);
-extern void r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info);
extern void r8a7778_add_dt_devices(void);
extern void r8a7778_init_late(void);
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index 9d4b6bf..9600846 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -319,20 +319,6 @@ void __init r8a7778_add_hspi_device(int id)
hspi_resources + (2 * id), 2);
}
-/* MMC */
-static struct resource mmc_resources[] __initdata = {
- DEFINE_RES_MEM(0xffe4e000, 0x100),
- DEFINE_RES_IRQ(gic_iid(0x5d)),
-};
-
-void __init r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info)
-{
- platform_device_register_resndata(
- &platform_bus, "sh_mmcif", -1,
- mmc_resources, ARRAY_SIZE(mmc_resources),
- info, sizeof(*info));
-}
-
void __init r8a7778_add_dt_devices(void)
{
int i;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 11/26] ARM: shmobile: Use default ->init_time() on Bockw DT ref
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
2013-08-07 4:38 ` [GIT PULL 10/26] ARM: shmobile: Use default ->init_time() on Bockw Simon Horman
2013-08-07 4:38 ` [GIT PULL 01/26] ARM: shmobile: r8a7778: cleanup registration of mmcif Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 12/26] ARM: shmobile: Use default ->init_time() on Armadillo " Simon Horman
` (24 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw-reference.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-bockw-reference.c b/arch/arm/mach-shmobile/board-bockw-reference.c
index 24db8de..1a7c893 100644
--- a/arch/arm/mach-shmobile/board-bockw-reference.c
+++ b/arch/arm/mach-shmobile/board-bockw-reference.c
@@ -57,6 +57,5 @@ DT_MACHINE_START(BOCKW_DT, "bockw")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
.init_machine = bockw_init,
- .init_time = shmobile_timer_init,
.dt_compat = bockw_boards_compat_dt,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 12/26] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (2 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 11/26] ARM: shmobile: Use default ->init_time() on Bockw DT ref Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 02/26] ARM: shmobile: r8a7778: cleanup registration of usb phy Simon Horman
` (23 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
index 03b85fe..5c8cc3c 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
@@ -206,7 +206,6 @@ DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva-reference")
.init_early = r8a7740_init_delay,
.init_irq = r8a7740_init_irq_of,
.init_machine = eva_init,
- .init_time = shmobile_timer_init,
.init_late = shmobile_init_late,
.dt_compat = eva_boards_compat_dt,
.restart = eva_restart,
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 02/26] ARM: shmobile: r8a7778: cleanup registration of usb phy
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (3 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 12/26] ARM: shmobile: Use default ->init_time() on Armadillo " Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 13/26] ARM: shmobile: Use default ->init_time() on APE6EVM Simon Horman
` (22 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
usb phy driver which needs platform data at the time of
registration is used from BockW only.
Now, ARM/shmobile aims to support DT,
and the C code base board support will be removed
if DT support is completed.
Current driver registration method which needs platform data
and which is not shared complicates codes.
This means legacy C code cleanup after DT supporting
will be more complicated
This patch registers it on board code as cleanup C code
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw.c | 15 ++++++++++++++-
arch/arm/mach-shmobile/include/mach/r8a7778.h | 2 --
arch/arm/mach-shmobile/setup-r8a7778.c | 14 --------------
3 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index 58e686d..c94622a 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -23,6 +23,7 @@
#include <linux/mmc/sh_mmcif.h>
#include <linux/mtd/partitions.h>
#include <linux/pinctrl/machine.h>
+#include <linux/platform_data/usb-rcar-phy.h>
#include <linux/platform_device.h>
#include <linux/regulator/fixed.h>
#include <linux/regulator/machine.h>
@@ -78,6 +79,11 @@ static struct resource smsc911x_resources[] = {
};
/* USB */
+static struct resource usb_phy_resources[] __initdata = {
+ DEFINE_RES_MEM(0xffe70800, 0x100),
+ DEFINE_RES_MEM(0xffe76000, 0x100),
+};
+
static struct rcar_phy_platform_data usb_phy_platform_data __initdata;
/* SDHI */
@@ -187,7 +193,6 @@ static void __init bockw_init(void)
r8a7778_clock_init();
r8a7778_init_irq_extpin(1);
r8a7778_add_standard_devices();
- r8a7778_add_usb_phy_device(&usb_phy_platform_data);
r8a7778_add_ether_device(ðer_platform_data);
r8a7778_add_i2c_device(0);
r8a7778_add_hspi_device(0);
@@ -205,6 +210,14 @@ static void __init bockw_init(void)
mmc_resources, ARRAY_SIZE(mmc_resources),
&sh_mmcif_plat, sizeof(struct sh_mmcif_plat_data));
+ platform_device_register_resndata(
+ &platform_bus, "rcar_usb_phy", -1,
+ usb_phy_resources,
+ ARRAY_SIZE(usb_phy_resources),
+ &usb_phy_platform_data,
+ sizeof(struct rcar_phy_platform_data));
+
+
/* for SMSC */
base = ioremap_nocache(FPGA, SZ_1M);
if (base) {
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h
index 2f45607..a184a13 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
@@ -20,12 +20,10 @@
#include <linux/mmc/sh_mobile_sdhi.h>
#include <linux/sh_eth.h>
-#include <linux/platform_data/usb-rcar-phy.h>
extern void r8a7778_add_standard_devices(void);
extern void r8a7778_add_standard_devices_dt(void);
extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
-extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata);
extern void r8a7778_add_i2c_device(int id);
extern void r8a7778_add_hspi_device(int id);
extern void r8a7778_add_dt_devices(void);
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index 9600846..8947507 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -95,20 +95,6 @@ static struct sh_timer_config sh_tmu1_platform_data __initdata = {
&sh_tmu##idx##_platform_data, \
sizeof(sh_tmu##idx##_platform_data))
-/* USB PHY */
-static struct resource usb_phy_resources[] __initdata = {
- DEFINE_RES_MEM(0xffe70800, 0x100),
- DEFINE_RES_MEM(0xffe76000, 0x100),
-};
-
-void __init r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata)
-{
- platform_device_register_resndata(&platform_bus, "rcar_usb_phy", -1,
- usb_phy_resources,
- ARRAY_SIZE(usb_phy_resources),
- pdata, sizeof(*pdata));
-}
-
/* USB */
static struct usb_phy *phy;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 13/26] ARM: shmobile: Use default ->init_time() on APE6EVM
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (4 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 02/26] ARM: shmobile: r8a7778: cleanup registration of usb phy Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 03/26] ARM: shmobile: r8a7778: cleanup registration of sdhi Simon Horman
` (21 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-ape6evm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c
index af6dd39..57e66eb 100644
--- a/arch/arm/mach-shmobile/board-ape6evm.c
+++ b/arch/arm/mach-shmobile/board-ape6evm.c
@@ -102,7 +102,6 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 03/26] ARM: shmobile: r8a7778: cleanup registration of sdhi
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (5 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 13/26] ARM: shmobile: Use default ->init_time() on APE6EVM Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 14/26] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref Simon Horman
` (20 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
sdhi driver which needs platform data at the time of
registration is used from BockW only.
Now, ARM/shmobile aims to support DT,
and the C code base board support will be removed
if DT support is completed.
Current driver registration method which needs platform data
and which is not shared complicates codes.
This means legacy C code cleanup after DT supporting
will be more complicated
This patch registers it on board code as cleanup C code
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw.c | 11 ++++++++++-
arch/arm/mach-shmobile/include/mach/r8a7778.h | 2 --
arch/arm/mach-shmobile/setup-r8a7778.c | 24 ------------------------
3 files changed, 10 insertions(+), 27 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index c94622a..1c876ab 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -20,6 +20,7 @@
#include <linux/mfd/tmio.h>
#include <linux/mmc/host.h>
+#include <linux/mmc/sh_mobile_sdhi.h>
#include <linux/mmc/sh_mmcif.h>
#include <linux/mtd/partitions.h>
#include <linux/pinctrl/machine.h>
@@ -93,6 +94,11 @@ static struct sh_mobile_sdhi_info sdhi0_info = {
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
};
+static struct resource sdhi0_resources[] __initdata = {
+ DEFINE_RES_MEM(0xFFE4C000, 0x100),
+ DEFINE_RES_IRQ(gic_iid(0x77)),
+};
+
static struct sh_eth_plat_data ether_platform_data __initdata = {
.phy = 0x01,
.edmac_endian = EDMAC_LITTLE_ENDIAN,
@@ -253,7 +259,10 @@ static void __init bockw_init(void)
iowrite32(ioread32(base + PUPR4) | (3 << 26), base + PUPR4);
iounmap(base);
- r8a7778_sdhi_init(0, &sdhi0_info);
+ platform_device_register_resndata(
+ &platform_bus, "sh_mobile_sdhi", 0,
+ sdhi0_resources, ARRAY_SIZE(sdhi0_resources),
+ &sdhi0_info, sizeof(struct sh_mobile_sdhi_info));
}
}
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h
index a184a13..aaa0544 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
@@ -18,7 +18,6 @@
#ifndef __ASM_R8A7778_H__
#define __ASM_R8A7778_H__
-#include <linux/mmc/sh_mobile_sdhi.h>
#include <linux/sh_eth.h>
extern void r8a7778_add_standard_devices(void);
@@ -34,6 +33,5 @@ extern void r8a7778_init_irq_dt(void);
extern void r8a7778_clock_init(void);
extern void r8a7778_init_irq_extpin(int irlm);
extern void r8a7778_pinmux_init(void);
-extern void r8a7778_sdhi_init(int id, struct sh_mobile_sdhi_info *info);
#endif /* __ASM_R8A7778_H__ */
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index 8947507..c585ee0 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -234,30 +234,6 @@ void __init r8a7778_pinmux_init(void)
r8a7778_register_gpio(4);
};
-/* SDHI */
-static struct resource sdhi_resources[] __initdata = {
- /* SDHI0 */
- DEFINE_RES_MEM(0xFFE4C000, 0x100),
- DEFINE_RES_IRQ(gic_iid(0x77)),
- /* SDHI1 */
- DEFINE_RES_MEM(0xFFE4D000, 0x100),
- DEFINE_RES_IRQ(gic_iid(0x78)),
- /* SDHI2 */
- DEFINE_RES_MEM(0xFFE4F000, 0x100),
- DEFINE_RES_IRQ(gic_iid(0x76)),
-};
-
-void __init r8a7778_sdhi_init(int id,
- struct sh_mobile_sdhi_info *info)
-{
- BUG_ON(id < 0 || id > 2);
-
- platform_device_register_resndata(
- &platform_bus, "sh_mobile_sdhi", id,
- sdhi_resources + (2 * id), 2,
- info, sizeof(*info));
-}
-
/* I2C */
static struct resource i2c_resources[] __initdata = {
/* I2C0 */
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 14/26] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (6 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 03/26] ARM: shmobile: r8a7778: cleanup registration of sdhi Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 04/26] ARM: shmobile: r8a7778: cleanup registration of i2c Simon Horman
` (19 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-ape6evm-reference.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c
index 52cc5fa..a23fa71 100644
--- a/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c
@@ -58,7 +58,6 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 04/26] ARM: shmobile: r8a7778: cleanup registration of i2c
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (7 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 14/26] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 15/26] ARM: shmobile: Use default ->init_time() on Marzen DT ref Simon Horman
` (18 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
i2c-rcar driver which doesn't need platform data at the time of
registration can be registerd on SoC.
And, registering these drivers in the SoC code can avoid
unwanted device numbering issue.
(ex. the i2c3 device number will be i2c.0 if i2c3 only registered)
This patch registers it on SoC code as cleanup C code
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw.c | 1 -
arch/arm/mach-shmobile/include/mach/r8a7778.h | 1 -
arch/arm/mach-shmobile/setup-r8a7778.c | 6 +++++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index 1c876ab..d7d3427 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -200,7 +200,6 @@ static void __init bockw_init(void)
r8a7778_init_irq_extpin(1);
r8a7778_add_standard_devices();
r8a7778_add_ether_device(ðer_platform_data);
- r8a7778_add_i2c_device(0);
r8a7778_add_hspi_device(0);
i2c_register_board_info(0, i2c0_devices,
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h
index aaa0544..9874511 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
@@ -23,7 +23,6 @@
extern void r8a7778_add_standard_devices(void);
extern void r8a7778_add_standard_devices_dt(void);
extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
-extern void r8a7778_add_i2c_device(int id);
extern void r8a7778_add_hspi_device(int id);
extern void r8a7778_add_dt_devices(void);
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index c585ee0..ce3b54d 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -250,7 +250,7 @@ static struct resource i2c_resources[] __initdata = {
DEFINE_RES_IRQ(gic_iid(0x6d)),
};
-void __init r8a7778_add_i2c_device(int id)
+static void __init r8a7778_register_i2c(int id)
{
BUG_ON(id < 0 || id > 3);
@@ -308,6 +308,10 @@ void __init r8a7778_add_dt_devices(void)
void __init r8a7778_add_standard_devices(void)
{
r8a7778_add_dt_devices();
+ r8a7778_register_i2c(0);
+ r8a7778_register_i2c(1);
+ r8a7778_register_i2c(2);
+ r8a7778_register_i2c(3);
}
void __init r8a7778_init_late(void)
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 05/26] ARM: shmobile: r8a7778: cleanup registration of hspi
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (9 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 15/26] ARM: shmobile: Use default ->init_time() on Marzen DT ref Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 06/26] ARM: shmobile: Use default ->init_time() on r8a73a4 Simon Horman
` (16 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
sh-hspi driver which doesn't need platform data at the time of
registration can be registerd on SoC.
And, registering these drivers in the SoC code can avoid
unwanted device numbering issue.
(ex. the hspi2 device number will be spi.0 if hspi2 only registered)
This patch registers it on SoC code as cleanup C code
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw.c | 1 -
arch/arm/mach-shmobile/include/mach/r8a7778.h | 1 -
arch/arm/mach-shmobile/setup-r8a7778.c | 5 ++++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index d7d3427..b6f3d2f 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -200,7 +200,6 @@ static void __init bockw_init(void)
r8a7778_init_irq_extpin(1);
r8a7778_add_standard_devices();
r8a7778_add_ether_device(ðer_platform_data);
- r8a7778_add_hspi_device(0);
i2c_register_board_info(0, i2c0_devices,
ARRAY_SIZE(i2c0_devices));
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h
index 9874511..41fd6da 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
@@ -23,7 +23,6 @@
extern void r8a7778_add_standard_devices(void);
extern void r8a7778_add_standard_devices_dt(void);
extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
-extern void r8a7778_add_hspi_device(int id);
extern void r8a7778_add_dt_devices(void);
extern void r8a7778_init_late(void);
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index ce3b54d..1a154d4 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -272,7 +272,7 @@ static struct resource hspi_resources[] __initdata = {
DEFINE_RES_IRQ(gic_iid(0x75)),
};
-void __init r8a7778_add_hspi_device(int id)
+void __init r8a7778_register_hspi(int id)
{
BUG_ON(id < 0 || id > 2);
@@ -312,6 +312,9 @@ void __init r8a7778_add_standard_devices(void)
r8a7778_register_i2c(1);
r8a7778_register_i2c(2);
r8a7778_register_i2c(3);
+ r8a7778_register_hspi(0);
+ r8a7778_register_hspi(1);
+ r8a7778_register_hspi(2);
}
void __init r8a7778_init_late(void)
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 15/26] ARM: shmobile: Use default ->init_time() on Marzen DT ref
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (8 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 04/26] ARM: shmobile: r8a7778: cleanup registration of i2c Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 05/26] ARM: shmobile: r8a7778: cleanup registration of hspi Simon Horman
` (17 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-marzen-reference.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-marzen-reference.c b/arch/arm/mach-shmobile/board-marzen-reference.c
index 480d882..a20b7ee6 100644
--- a/arch/arm/mach-shmobile/board-marzen-reference.c
+++ b/arch/arm/mach-shmobile/board-marzen-reference.c
@@ -70,6 +70,5 @@ DT_MACHINE_START(MARZEN, "marzen")
.nr_irqs = NR_IRQS_LEGACY,
.init_irq = r8a7779_init_irq_dt,
.init_machine = marzen_init,
- .init_time = shmobile_timer_init,
.dt_compat = marzen_boards_compat_dt,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 16/26] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (11 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 06/26] ARM: shmobile: Use default ->init_time() on r8a73a4 Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 17/26] ARM: shmobile: Use clocksource_of_init() on r8a7790 Simon Horman
` (14 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c
index 41092bb..4cf6bab 100644
--- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
@@ -99,6 +99,5 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-reference")
.init_early = sh73a0_init_delay,
.nr_irqs = NR_IRQS_LEGACY,
.init_machine = kzm_init,
- .init_time = shmobile_timer_init,
.dt_compat = kzm9g_boards_compat_dt,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 06/26] ARM: shmobile: Use default ->init_time() on r8a73a4
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (10 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 05/26] ARM: shmobile: r8a7778: cleanup registration of hspi Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 16/26] ARM: shmobile: Use default ->init_time() on KZM9G DT ref Simon Horman
` (15 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a73a4.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c
index 2ee45d5..8949170 100644
--- a/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ b/arch/arm/mach-shmobile/setup-r8a73a4.c
@@ -223,7 +223,6 @@ static const char *r8a73a4_boards_compat_dt[] __initdata = {
DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.dt_compat = r8a73a4_boards_compat_dt,
MACHINE_END
#endif /* CONFIG_USE_OF */
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 07/26] ARM: shmobile: Use default ->init_time() on r8a7740
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (13 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 17/26] ARM: shmobile: Use clocksource_of_init() on r8a7790 Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 08/26] ARM: shmobile: Use default ->init_time() on r8a7778 Simon Horman
` (12 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7740.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index 84c5bb6..21026b3 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -1035,7 +1035,6 @@ DT_MACHINE_START(R8A7740_DT, "Generic R8A7740 (Flattened Device Tree)")
.init_early = r8a7740_init_delay,
.init_irq = r8a7740_init_irq_of,
.init_machine = r8a7740_generic_init,
- .init_time = shmobile_timer_init,
.dt_compat = r8a7740_boards_compat_dt,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 17/26] ARM: shmobile: Use clocksource_of_init() on r8a7790
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (12 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 16/26] ARM: shmobile: Use default ->init_time() on KZM9G DT ref Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 07/26] ARM: shmobile: Use default ->init_time() on r8a7740 Simon Horman
` (13 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Replace the call to shmobile_timer_init() with
clocksource_of_init(). This will allow us to
get rid of shmobile_timer_init().
Signed-off-by: Magnus Damm <damm@opensource.se>
[horms+renesas@verge.net.au: include linux/clocksource.h]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index 86cf507..6d4aa04 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <linux/clocksource.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of_platform.h>
@@ -263,7 +264,7 @@ void __init r8a7790_timer_init(void)
iounmap(base);
#endif /* CONFIG_ARM_ARCH_TIMER */
- shmobile_timer_init();
+ clocksource_of_init();
}
void __init r8a7790_init_delay(void)
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 18/26] ARM: shmobile: Remove unused shmobile_init_time()
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (15 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 08/26] ARM: shmobile: Use default ->init_time() on r8a7778 Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 19/26] ARM: shmobile: r8a7779: add missing __initdata Simon Horman
` (10 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Remove shmobile_timer_init() since it now is unused.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/include/mach/common.h | 1 -
arch/arm/mach-shmobile/timer.c | 4 ----
2 files changed, 5 deletions(-)
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index e818f02..18a76f9 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -2,7 +2,6 @@
#define __ARCH_MACH_COMMON_H
extern void shmobile_earlytimer_init(void);
-extern void shmobile_timer_init(void);
extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz,
unsigned int mult, unsigned int div);
struct twd_local_timer;
diff --git a/arch/arm/mach-shmobile/timer.c b/arch/arm/mach-shmobile/timer.c
index f321dbe..62d7052 100644
--- a/arch/arm/mach-shmobile/timer.c
+++ b/arch/arm/mach-shmobile/timer.c
@@ -59,7 +59,3 @@ void __init shmobile_earlytimer_init(void)
late_time_init = shmobile_late_time_init;
}
-void __init shmobile_timer_init(void)
-{
- clocksource_of_init();
-}
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 08/26] ARM: shmobile: Use default ->init_time() on r8a7778
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (14 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 07/26] ARM: shmobile: Use default ->init_time() on r8a7740 Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 18/26] ARM: shmobile: Remove unused shmobile_init_time() Simon Horman
` (11 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7778.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index 1a154d4..604cf36 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -406,7 +406,6 @@ static const char *r8a7778_compat_dt[] __initdata = {
DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
- .init_time = shmobile_timer_init,
.dt_compat = r8a7778_compat_dt,
.init_late = r8a7778_init_late,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 19/26] ARM: shmobile: r8a7779: add missing __initdata
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (16 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 18/26] ARM: shmobile: Remove unused shmobile_init_time() Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 09/26] ARM: shmobile: Use default ->init_time() on r8a7779 Simon Horman
` (9 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
This patch adds missing __initdata to driver data/resource
which are used from platform_device_register_xxx()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7779.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c
index 111e953..f0b6c7d 100644
--- a/arch/arm/mach-shmobile/setup-r8a7779.c
+++ b/arch/arm/mach-shmobile/setup-r8a7779.c
@@ -537,7 +537,7 @@ static struct platform_device ohci1_device = {
};
/* Ether */
-static struct resource ether_resources[] = {
+static struct resource ether_resources[] __initdata = {
{
.start = 0xfde00000,
.end = 0xfde003ff,
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 09/26] ARM: shmobile: Use default ->init_time() on r8a7779
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (17 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 19/26] ARM: shmobile: r8a7779: add missing __initdata Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 20/26] ARM: shmobile: r8a7790: add missing __initdata Simon Horman
` (8 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7779.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c
index ddee4aa..111e953 100644
--- a/arch/arm/mach-shmobile/setup-r8a7779.c
+++ b/arch/arm/mach-shmobile/setup-r8a7779.c
@@ -667,7 +667,6 @@ DT_MACHINE_START(R8A7779_DT, "Generic R8A7779 (Flattened Device Tree)")
.nr_irqs = NR_IRQS_LEGACY,
.init_irq = r8a7779_init_irq_dt,
.init_machine = r8a7779_add_standard_devices_dt,
- .init_time = shmobile_timer_init,
.init_late = r8a7779_init_late,
.dt_compat = r8a7779_compat_dt,
MACHINE_END
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 20/26] ARM: shmobile: r8a7790: add missing __initdata
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (18 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 09/26] ARM: shmobile: Use default ->init_time() on r8a7779 Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 21/26] ARM: shmobile: bockw: " Simon Horman
` (7 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
This patch adds missing __initdata to driver data/resource
which are used from platform_device_register_xxx()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index 6d4aa04..d0f5c9f 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -161,13 +161,13 @@ static struct resource thermal_resources[] __initdata = {
thermal_resources, \
ARRAY_SIZE(thermal_resources))
-static struct sh_timer_config cmt00_platform_data = {
+static struct sh_timer_config cmt00_platform_data __initdata = {
.name = "CMT00",
.timer_bit = 0,
.clockevent_rating = 80,
};
-static struct resource cmt00_resources[] = {
+static struct resource cmt00_resources[] __initdata = {
DEFINE_RES_MEM(0xffca0510, 0x0c),
DEFINE_RES_MEM(0xffca0500, 0x04),
DEFINE_RES_IRQ(gic_spi(142)), /* CMT0_0 */
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 21/26] ARM: shmobile: bockw: add missing __initdata
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (19 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 20/26] ARM: shmobile: r8a7790: add missing __initdata Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 22/26] ARM: shmobile: r8a7740: move r8a7740_init_irq_of() to setup Simon Horman
` (6 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
This patch adds missing __initdata to driver data/resource
which are used from platform_device_register_xxx()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-bockw.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index b40885de..0dd2b90 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -67,14 +67,14 @@ static struct regulator_consumer_supply dummy_supplies[] = {
REGULATOR_SUPPLY("vdd33a", "smsc911x"),
};
-static struct smsc911x_platform_config smsc911x_data = {
+static struct smsc911x_platform_config smsc911x_data __initdata = {
.irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW,
.irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL,
.flags = SMSC911X_USE_32BIT,
.phy_interface = PHY_INTERFACE_MODE_MII,
};
-static struct resource smsc911x_resources[] = {
+static struct resource smsc911x_resources[] __initdata = {
DEFINE_RES_MEM(0x18300000, 0x1000),
DEFINE_RES_IRQ(irq_pin(0)), /* IRQ 0 */
};
@@ -88,7 +88,7 @@ static struct resource usb_phy_resources[] __initdata = {
static struct rcar_phy_platform_data usb_phy_platform_data __initdata;
/* SDHI */
-static struct sh_mobile_sdhi_info sdhi0_info = {
+static struct sh_mobile_sdhi_info sdhi0_info __initdata = {
.tmio_caps = MMC_CAP_SD_HIGHSPEED,
.tmio_ocr_mask = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
@@ -153,7 +153,7 @@ static struct resource mmc_resources[] __initdata = {
DEFINE_RES_IRQ(gic_iid(0x5d)),
};
-static struct sh_mmcif_plat_data sh_mmcif_plat = {
+static struct sh_mmcif_plat_data sh_mmcif_plat __initdata = {
.sup_pclk = 0,
.ocr = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
.caps = MMC_CAP_4_BIT_DATA |
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 22/26] ARM: shmobile: r8a7740: move r8a7740_init_irq_of() to setup
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (20 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 21/26] ARM: shmobile: bockw: " Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 23/26] ARM: shmobile: r8a7779: move r8a7779_init_irq_xxx() " Simon Horman
` (5 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
This patch moves r8a7740_init_irq_of() to setup code,
and remove intc-r8a7740
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/Makefile | 2 +-
arch/arm/mach-shmobile/intc-r8a7740.c | 54 ----------------------------------
arch/arm/mach-shmobile/setup-r8a7740.c | 32 ++++++++++++++++++++
3 files changed, 33 insertions(+), 55 deletions(-)
delete mode 100644 arch/arm/mach-shmobile/intc-r8a7740.c
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile
index f6881f9..7418131 100644
--- a/arch/arm/mach-shmobile/Makefile
+++ b/arch/arm/mach-shmobile/Makefile
@@ -9,7 +9,7 @@ obj-y := timer.o console.o clock.o
obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o
obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o
obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o clock-r8a73a4.o
-obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o
+obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o
obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o clock-r8a7778.o
obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o
obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o clock-r8a7790.o
diff --git a/arch/arm/mach-shmobile/intc-r8a7740.c b/arch/arm/mach-shmobile/intc-r8a7740.c
deleted file mode 100644
index 7519353..0000000
--- a/arch/arm/mach-shmobile/intc-r8a7740.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * R8A7740 processor support
- *
- * Copyright (C) 2011 Renesas Solutions Corp.
- * Copyright (C) 2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <linux/init.h>
-#include <linux/io.h>
-#include <linux/irqchip.h>
-#include <linux/irqchip/arm-gic.h>
-
-void __init r8a7740_init_irq_of(void)
-{
- void __iomem *intc_prio_base = ioremap_nocache(0xe6900010, 0x10);
- void __iomem *intc_msk_base = ioremap_nocache(0xe6900040, 0x10);
- void __iomem *pfc_inta_ctrl = ioremap_nocache(0xe605807c, 0x4);
-
- irqchip_init();
-
- /* route signals to GIC */
- iowrite32(0x0, pfc_inta_ctrl);
-
- /*
- * To mask the shared interrupt to SPI 149 we must ensure to set
- * PRIO *and* MASK. Else we run into IRQ floods when registering
- * the intc_irqpin devices
- */
- iowrite32(0x0, intc_prio_base + 0x0);
- iowrite32(0x0, intc_prio_base + 0x4);
- iowrite32(0x0, intc_prio_base + 0x8);
- iowrite32(0x0, intc_prio_base + 0xc);
- iowrite8(0xff, intc_msk_base + 0x0);
- iowrite8(0xff, intc_msk_base + 0x4);
- iowrite8(0xff, intc_msk_base + 0x8);
- iowrite8(0xff, intc_msk_base + 0xc);
-
- iounmap(intc_prio_base);
- iounmap(intc_msk_base);
- iounmap(pfc_inta_ctrl);
-}
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index 21026b3..b7d4b2c 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -22,6 +22,8 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
+#include <linux/irqchip.h>
+#include <linux/irqchip/arm-gic.h>
#include <linux/platform_data/irq-renesas-intc-irqpin.h>
#include <linux/platform_device.h>
#include <linux/of_platform.h>
@@ -1019,6 +1021,36 @@ void __init r8a7740_init_delay(void)
shmobile_setup_delay(800, 1, 3); /* Cortex-A9 @ 800MHz */
};
+void __init r8a7740_init_irq_of(void)
+{
+ void __iomem *intc_prio_base = ioremap_nocache(0xe6900010, 0x10);
+ void __iomem *intc_msk_base = ioremap_nocache(0xe6900040, 0x10);
+ void __iomem *pfc_inta_ctrl = ioremap_nocache(0xe605807c, 0x4);
+
+ irqchip_init();
+
+ /* route signals to GIC */
+ iowrite32(0x0, pfc_inta_ctrl);
+
+ /*
+ * To mask the shared interrupt to SPI 149 we must ensure to set
+ * PRIO *and* MASK. Else we run into IRQ floods when registering
+ * the intc_irqpin devices
+ */
+ iowrite32(0x0, intc_prio_base + 0x0);
+ iowrite32(0x0, intc_prio_base + 0x4);
+ iowrite32(0x0, intc_prio_base + 0x8);
+ iowrite32(0x0, intc_prio_base + 0xc);
+ iowrite8(0xff, intc_msk_base + 0x0);
+ iowrite8(0xff, intc_msk_base + 0x4);
+ iowrite8(0xff, intc_msk_base + 0x8);
+ iowrite8(0xff, intc_msk_base + 0xc);
+
+ iounmap(intc_prio_base);
+ iounmap(intc_msk_base);
+ iounmap(pfc_inta_ctrl);
+}
+
static void __init r8a7740_generic_init(void)
{
r8a7740_clock_init(0);
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 23/26] ARM: shmobile: r8a7779: move r8a7779_init_irq_xxx() to setup
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (21 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 22/26] ARM: shmobile: r8a7740: move r8a7740_init_irq_of() to setup Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 24/26] ARM: shmobile: armadillo800eva: remove nfsroot settings from bootargs Simon Horman
` (4 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
This patch moves r8a7779_init_irq_xxx() to setup code,
and remove intc-r8a7779.
Now, r8a7779_init_irq_extpin() uses
platform_device_register_resndata() instead of
platform_device_register()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/Makefile | 2 +-
arch/arm/mach-shmobile/intc-r8a7779.c | 116 ---------------------------------
arch/arm/mach-shmobile/setup-r8a7779.c | 80 +++++++++++++++++++++++
3 files changed, 81 insertions(+), 117 deletions(-)
delete mode 100644 arch/arm/mach-shmobile/intc-r8a7779.c
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile
index 7418131..969c3a9 100644
--- a/arch/arm/mach-shmobile/Makefile
+++ b/arch/arm/mach-shmobile/Makefile
@@ -11,7 +11,7 @@ obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o
obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o clock-r8a73a4.o
obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o
obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o clock-r8a7778.o
-obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o
+obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o
obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o clock-r8a7790.o
obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o
diff --git a/arch/arm/mach-shmobile/intc-r8a7779.c b/arch/arm/mach-shmobile/intc-r8a7779.c
deleted file mode 100644
index e992a68..0000000
--- a/arch/arm/mach-shmobile/intc-r8a7779.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * r8a7779 processor support - INTC hardware block
- *
- * Copyright (C) 2011 Renesas Solutions Corp.
- * Copyright (C) 2011 Magnus Damm
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/interrupt.h>
-#include <linux/irq.h>
-#include <linux/io.h>
-#include <linux/irqchip/arm-gic.h>
-#include <linux/platform_data/irq-renesas-intc-irqpin.h>
-#include <linux/irqchip.h>
-#include <mach/common.h>
-#include <mach/irqs.h>
-#include <mach/r8a7779.h>
-#include <asm/mach-types.h>
-#include <asm/mach/arch.h>
-
-#define INT2SMSKCR0 IOMEM(0xfe7822a0)
-#define INT2SMSKCR1 IOMEM(0xfe7822a4)
-#define INT2SMSKCR2 IOMEM(0xfe7822a8)
-#define INT2SMSKCR3 IOMEM(0xfe7822ac)
-#define INT2SMSKCR4 IOMEM(0xfe7822b0)
-
-#define INT2NTSR0 IOMEM(0xfe700060)
-#define INT2NTSR1 IOMEM(0xfe700064)
-
-static struct renesas_intc_irqpin_config irqpin0_platform_data = {
- .irq_base = irq_pin(0), /* IRQ0 -> IRQ3 */
- .sense_bitfield_width = 2,
-};
-
-static struct resource irqpin0_resources[] = {
- DEFINE_RES_MEM(0xfe78001c, 4), /* ICR1 */
- DEFINE_RES_MEM(0xfe780010, 4), /* INTPRI */
- DEFINE_RES_MEM(0xfe780024, 4), /* INTREQ */
- DEFINE_RES_MEM(0xfe780044, 4), /* INTMSK0 */
- DEFINE_RES_MEM(0xfe780064, 4), /* INTMSKCLR0 */
- DEFINE_RES_IRQ(gic_spi(27)), /* IRQ0 */
- DEFINE_RES_IRQ(gic_spi(28)), /* IRQ1 */
- DEFINE_RES_IRQ(gic_spi(29)), /* IRQ2 */
- DEFINE_RES_IRQ(gic_spi(30)), /* IRQ3 */
-};
-
-static struct platform_device irqpin0_device = {
- .name = "renesas_intc_irqpin",
- .id = 0,
- .resource = irqpin0_resources,
- .num_resources = ARRAY_SIZE(irqpin0_resources),
- .dev = {
- .platform_data = &irqpin0_platform_data,
- },
-};
-
-void __init r8a7779_init_irq_extpin(int irlm)
-{
- void __iomem *icr0 = ioremap_nocache(0xfe780000, PAGE_SIZE);
- unsigned long tmp;
-
- if (icr0) {
- tmp = ioread32(icr0);
- if (irlm)
- tmp |= 1 << 23; /* IRQ0 -> IRQ3 as individual pins */
- else
- tmp &= ~(1 << 23); /* IRL mode - not supported */
- tmp |= (1 << 21); /* LVLMODE = 1 */
- iowrite32(tmp, icr0);
- iounmap(icr0);
-
- if (irlm)
- platform_device_register(&irqpin0_device);
- } else
- pr_warn("r8a7779: unable to setup external irq pin mode\n");
-}
-
-#ifdef CONFIG_OF
-static int r8a7779_set_wake(struct irq_data *data, unsigned int on)
-{
- return 0; /* always allow wakeup */
-}
-
-void __init r8a7779_init_irq_dt(void)
-{
- gic_arch_extn.irq_set_wake = r8a7779_set_wake;
-
- irqchip_init();
-
- /* route all interrupts to ARM */
- __raw_writel(0xffffffff, INT2NTSR0);
- __raw_writel(0x3fffffff, INT2NTSR1);
-
- /* unmask all known interrupts in INTCS2 */
- __raw_writel(0xfffffff0, INT2SMSKCR0);
- __raw_writel(0xfff7ffff, INT2SMSKCR1);
- __raw_writel(0xfffbffdf, INT2SMSKCR2);
- __raw_writel(0xbffffffc, INT2SMSKCR3);
- __raw_writel(0x003fee3f, INT2SMSKCR4);
-
-}
-#endif
diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c
index f0b6c7d..6a99333 100644
--- a/arch/arm/mach-shmobile/setup-r8a7779.c
+++ b/arch/arm/mach-shmobile/setup-r8a7779.c
@@ -22,8 +22,11 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
+#include <linux/irqchip.h>
+#include <linux/irqchip/arm-gic.h>
#include <linux/of_platform.h>
#include <linux/platform_data/gpio-rcar.h>
+#include <linux/platform_data/irq-renesas-intc-irqpin.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/input.h>
@@ -67,6 +70,60 @@ void __init r8a7779_map_io(void)
iotable_init(r8a7779_io_desc, ARRAY_SIZE(r8a7779_io_desc));
}
+/* IRQ */
+#define INT2SMSKCR0 IOMEM(0xfe7822a0)
+#define INT2SMSKCR1 IOMEM(0xfe7822a4)
+#define INT2SMSKCR2 IOMEM(0xfe7822a8)
+#define INT2SMSKCR3 IOMEM(0xfe7822ac)
+#define INT2SMSKCR4 IOMEM(0xfe7822b0)
+
+#define INT2NTSR0 IOMEM(0xfe700060)
+#define INT2NTSR1 IOMEM(0xfe700064)
+
+static struct renesas_intc_irqpin_config irqpin0_platform_data __initdata = {
+ .irq_base = irq_pin(0), /* IRQ0 -> IRQ3 */
+ .sense_bitfield_width = 2,
+};
+
+static struct resource irqpin0_resources[] __initdata = {
+ DEFINE_RES_MEM(0xfe78001c, 4), /* ICR1 */
+ DEFINE_RES_MEM(0xfe780010, 4), /* INTPRI */
+ DEFINE_RES_MEM(0xfe780024, 4), /* INTREQ */
+ DEFINE_RES_MEM(0xfe780044, 4), /* INTMSK0 */
+ DEFINE_RES_MEM(0xfe780064, 4), /* INTMSKCLR0 */
+ DEFINE_RES_IRQ(gic_spi(27)), /* IRQ0 */
+ DEFINE_RES_IRQ(gic_spi(28)), /* IRQ1 */
+ DEFINE_RES_IRQ(gic_spi(29)), /* IRQ2 */
+ DEFINE_RES_IRQ(gic_spi(30)), /* IRQ3 */
+};
+
+void __init r8a7779_init_irq_extpin(int irlm)
+{
+ void __iomem *icr0 = ioremap_nocache(0xfe780000, PAGE_SIZE);
+ u32 tmp;
+
+ if (!icr0) {
+ pr_warn("r8a7779: unable to setup external irq pin mode\n");
+ return;
+ }
+
+ tmp = ioread32(icr0);
+ if (irlm)
+ tmp |= 1 << 23; /* IRQ0 -> IRQ3 as individual pins */
+ else
+ tmp &= ~(1 << 23); /* IRL mode - not supported */
+ tmp |= (1 << 21); /* LVLMODE = 1 */
+ iowrite32(tmp, icr0);
+ iounmap(icr0);
+
+ if (irlm)
+ platform_device_register_resndata(
+ &platform_bus, "renesas_intc_irqpin", -1,
+ irqpin0_resources, ARRAY_SIZE(irqpin0_resources),
+ &irqpin0_platform_data, sizeof(irqpin0_platform_data));
+}
+
+/* PFC/GPIO */
static struct resource r8a7779_pfc_resources[] = {
DEFINE_RES_MEM(0xfffc0000, 0x023c),
};
@@ -641,6 +698,29 @@ void __init r8a7779_init_late(void)
}
#ifdef CONFIG_USE_OF
+static int r8a7779_set_wake(struct irq_data *data, unsigned int on)
+{
+ return 0; /* always allow wakeup */
+}
+
+void __init r8a7779_init_irq_dt(void)
+{
+ gic_arch_extn.irq_set_wake = r8a7779_set_wake;
+
+ irqchip_init();
+
+ /* route all interrupts to ARM */
+ __raw_writel(0xffffffff, INT2NTSR0);
+ __raw_writel(0x3fffffff, INT2NTSR1);
+
+ /* unmask all known interrupts in INTCS2 */
+ __raw_writel(0xfffffff0, INT2SMSKCR0);
+ __raw_writel(0xfff7ffff, INT2SMSKCR1);
+ __raw_writel(0xfffbffdf, INT2SMSKCR2);
+ __raw_writel(0xbffffffc, INT2SMSKCR3);
+ __raw_writel(0x003fee3f, INT2SMSKCR4);
+}
+
void __init r8a7779_init_delay(void)
{
shmobile_setup_delay(1000, 2, 4); /* Cortex-A9 @ 1000MHz */
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 24/26] ARM: shmobile: armadillo800eva: remove nfsroot settings from bootargs
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (22 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 23/26] ARM: shmobile: r8a7779: move r8a7779_init_irq_xxx() " Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 25/26] ARM: shmobile: kzm9d: " Simon Horman
` (3 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
NFS detail settings like "nfsroot=,rsize@96,wsize@96" are no longer needed
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 2 +-
arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
index 09ea22c..43abf3a 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
@@ -16,7 +16,7 @@
compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740";
chosen {
- bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize@96,wsize@96 rw";
+ bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
};
memory {
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
index 93da655..426cd9c 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -16,7 +16,7 @@
compatible = "renesas,armadillo800eva";
chosen {
- bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize@96,wsize@96 rw";
+ bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
};
memory {
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 25/26] ARM: shmobile: kzm9d: remove nfsroot settings from bootargs
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (23 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 24/26] ARM: shmobile: armadillo800eva: remove nfsroot settings from bootargs Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 4:38 ` [GIT PULL 26/26] ARM: shmobile: sh73a0: Remove global GPIO_NR definition Simon Horman
` (2 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
NFS detail settings like "nfsroot=,rsize@96,wsize@96" are no longer needed
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/emev2-kzm9d-reference.dts | 2 +-
arch/arm/boot/dts/emev2-kzm9d.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/emev2-kzm9d-reference.dts b/arch/arm/boot/dts/emev2-kzm9d-reference.dts
index bed676b..cceefda 100644
--- a/arch/arm/boot/dts/emev2-kzm9d-reference.dts
+++ b/arch/arm/boot/dts/emev2-kzm9d-reference.dts
@@ -21,7 +21,7 @@
};
chosen {
- bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize@96,wsize@96";
+ bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp";
};
reg_1p8v: regulator@0 {
diff --git a/arch/arm/boot/dts/emev2-kzm9d.dts b/arch/arm/boot/dts/emev2-kzm9d.dts
index dda13bc..f92e812 100644
--- a/arch/arm/boot/dts/emev2-kzm9d.dts
+++ b/arch/arm/boot/dts/emev2-kzm9d.dts
@@ -21,6 +21,6 @@
};
chosen {
- bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize@96,wsize@96";
+ bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp";
};
};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* [GIT PULL 26/26] ARM: shmobile: sh73a0: Remove global GPIO_NR definition
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (24 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 25/26] ARM: shmobile: kzm9d: " Simon Horman
@ 2013-08-07 4:38 ` Simon Horman
2013-08-07 13:27 ` [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Santosh Shilimkar
2013-08-28 17:02 ` Olof Johansson
27 siblings, 0 replies; 31+ messages in thread
From: Simon Horman @ 2013-08-07 4:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
The total number of SoC GPIOs is only used to compute the base GPIO
number of th PCF8575 GPIO extender on the KZM9G board. As GPIO
allocation became fully dynamic with DT, no other SH73A0 board will use
the GPIO_NR macro. Move it to the KZM9G board file.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/board-kzm9g.c | 16 ++++++++--------
arch/arm/mach-shmobile/include/mach/sh73a0.h | 2 --
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c
index 1068120..f199496 100644
--- a/arch/arm/mach-shmobile/board-kzm9g.c
+++ b/arch/arm/mach-shmobile/board-kzm9g.c
@@ -54,14 +54,14 @@
/*
* external GPIO
*/
-#define GPIO_PCF8575_BASE (GPIO_NR)
-#define GPIO_PCF8575_PORT10 (GPIO_NR + 8)
-#define GPIO_PCF8575_PORT11 (GPIO_NR + 9)
-#define GPIO_PCF8575_PORT12 (GPIO_NR + 10)
-#define GPIO_PCF8575_PORT13 (GPIO_NR + 11)
-#define GPIO_PCF8575_PORT14 (GPIO_NR + 12)
-#define GPIO_PCF8575_PORT15 (GPIO_NR + 13)
-#define GPIO_PCF8575_PORT16 (GPIO_NR + 14)
+#define GPIO_PCF8575_BASE (310)
+#define GPIO_PCF8575_PORT10 (GPIO_PCF8575_BASE + 8)
+#define GPIO_PCF8575_PORT11 (GPIO_PCF8575_BASE + 9)
+#define GPIO_PCF8575_PORT12 (GPIO_PCF8575_BASE + 10)
+#define GPIO_PCF8575_PORT13 (GPIO_PCF8575_BASE + 11)
+#define GPIO_PCF8575_PORT14 (GPIO_PCF8575_BASE + 12)
+#define GPIO_PCF8575_PORT15 (GPIO_PCF8575_BASE + 13)
+#define GPIO_PCF8575_PORT16 (GPIO_PCF8575_BASE + 14)
/* Dummy supplies, where voltage doesn't matter */
static struct regulator_consumer_supply dummy_supplies[] = {
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h
index 680dc5f..359b582 100644
--- a/arch/arm/mach-shmobile/include/mach/sh73a0.h
+++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h
@@ -1,8 +1,6 @@
#ifndef __ASM_SH73A0_H__
#define __ASM_SH73A0_H__
-#define GPIO_NR 310
-
/* DMA slave IDs */
enum {
SHDMA_SLAVE_INVALID,
--
1.8.3.2
^ permalink raw reply related [flat|nested] 31+ messages in thread
* Re: [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (25 preceding siblings ...)
2013-08-07 4:38 ` [GIT PULL 26/26] ARM: shmobile: sh73a0: Remove global GPIO_NR definition Simon Horman
@ 2013-08-07 13:27 ` Santosh Shilimkar
2013-08-07 22:09 ` Simon Horman
2013-08-28 17:02 ` Olof Johansson
27 siblings, 1 reply; 31+ messages in thread
From: Santosh Shilimkar @ 2013-08-07 13:27 UTC (permalink / raw)
To: linux-arm-kernel
Simon,
On Wednesday 07 August 2013 12:38 AM, Simon Horman wrote:
> Hi Olof, Hi Arnd,
>
> please consider this third round of Renesas ARM based SoC cleanups for
> v3.12.
>
> This pull-request is based on a merge of renesas-cleanup2-for-v3.12 and
> renesas-dt2-for-v3.12 which I have previously sent pull-requests for.
>
> This pull-request has some minor conflicts:
>
> * There are some conflicts with renesas-multiplatform-for-v3.12,
> which I have previously sent a pull request for,
> in arch/arm/mach-shmobile/Makefile.
>
> I have provided an example of how to merge these as part of
> the renesas-devel-20180807 tag in the renesas tree.
>
>
> The following changes since commit 4e0f3fcfe2f3716e3fa9c442cee93211bf2ac793:
>
> Merge branch 'dt2' into cleanup3-base (2013-08-06 18:06:53 +0900)
>
> are available in the git repository at:
>
>
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-cleanup3-for-v3.12
>
> for you to fetch changes up to 282b583f752f996ee5c33b0cdc18adf3b5094ee0:
>
> ARM: shmobile: sh73a0: Remove global GPIO_NR definition (2013-08-06 18:07:13 +0900)
>
Just out of curiosity, looks like you have "GIT PULL" starting subject line on
every patches as well as the cover-letter which seems to be the pull request.
It apears like you have sent 26 pull request;-).
Regards,
Santosh
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12
2013-08-07 13:27 ` [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Santosh Shilimkar
@ 2013-08-07 22:09 ` Simon Horman
2013-08-07 22:12 ` Santosh Shilimkar
0 siblings, 1 reply; 31+ messages in thread
From: Simon Horman @ 2013-08-07 22:09 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Aug 07, 2013 at 09:27:50AM -0400, Santosh Shilimkar wrote:
> Simon,
>
> On Wednesday 07 August 2013 12:38 AM, Simon Horman wrote:
> > Hi Olof, Hi Arnd,
> >
> > please consider this third round of Renesas ARM based SoC cleanups for
> > v3.12.
> >
> > This pull-request is based on a merge of renesas-cleanup2-for-v3.12 and
> > renesas-dt2-for-v3.12 which I have previously sent pull-requests for.
> >
> > This pull-request has some minor conflicts:
> >
> > * There are some conflicts with renesas-multiplatform-for-v3.12,
> > which I have previously sent a pull request for,
> > in arch/arm/mach-shmobile/Makefile.
> >
> > I have provided an example of how to merge these as part of
> > the renesas-devel-20180807 tag in the renesas tree.
> >
> >
> > The following changes since commit 4e0f3fcfe2f3716e3fa9c442cee93211bf2ac793:
> >
> > Merge branch 'dt2' into cleanup3-base (2013-08-06 18:06:53 +0900)
> >
> > are available in the git repository at:
> >
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-cleanup3-for-v3.12
> >
> > for you to fetch changes up to 282b583f752f996ee5c33b0cdc18adf3b5094ee0:
> >
> > ARM: shmobile: sh73a0: Remove global GPIO_NR definition (2013-08-06 18:07:13 +0900)
> >
> Just out of curiosity, looks like you have "GIT PULL" starting subject line on
> every patches as well as the cover-letter which seems to be the pull request.
>
> It apears like you have sent 26 pull request;-).
I can go back to using "PATCH" as the prefix on the patches itself
if that is preferred. I made this change to help me not to forget
to set the subject prefix on the first message to "GIT PULL".
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12
2013-08-07 22:09 ` Simon Horman
@ 2013-08-07 22:12 ` Santosh Shilimkar
0 siblings, 0 replies; 31+ messages in thread
From: Santosh Shilimkar @ 2013-08-07 22:12 UTC (permalink / raw)
To: linux-arm-kernel
On Wednesday 07 August 2013 06:09 PM, Simon Horman wrote:
> On Wed, Aug 07, 2013 at 09:27:50AM -0400, Santosh Shilimkar wrote:
>> Simon,
>>
>> On Wednesday 07 August 2013 12:38 AM, Simon Horman wrote:
>>> Hi Olof, Hi Arnd,
>>>
>>> please consider this third round of Renesas ARM based SoC cleanups for
>>> v3.12.
>>>
>>> This pull-request is based on a merge of renesas-cleanup2-for-v3.12 and
>>> renesas-dt2-for-v3.12 which I have previously sent pull-requests for.
>>>
>>> This pull-request has some minor conflicts:
>>>
>>> * There are some conflicts with renesas-multiplatform-for-v3.12,
>>> which I have previously sent a pull request for,
>>> in arch/arm/mach-shmobile/Makefile.
>>>
>>> I have provided an example of how to merge these as part of
>>> the renesas-devel-20180807 tag in the renesas tree.
>>>
>>>
>>> The following changes since commit 4e0f3fcfe2f3716e3fa9c442cee93211bf2ac793:
>>>
>>> Merge branch 'dt2' into cleanup3-base (2013-08-06 18:06:53 +0900)
>>>
>>> are available in the git repository at:
>>>
>>>
>>> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-cleanup3-for-v3.12
>>>
>>> for you to fetch changes up to 282b583f752f996ee5c33b0cdc18adf3b5094ee0:
>>>
>>> ARM: shmobile: sh73a0: Remove global GPIO_NR definition (2013-08-06 18:07:13 +0900)
>>>
>> Just out of curiosity, looks like you have "GIT PULL" starting subject line on
>> every patches as well as the cover-letter which seems to be the pull request.
>>
>> It apears like you have sent 26 pull request;-).
>
> I can go back to using "PATCH" as the prefix on the patches itself
> if that is preferred. I made this change to help me not to forget
> to set the subject prefix on the first message to "GIT PULL".
>
You can avoid that by sending patch series followed by a pull request
email(separate). Thats what at least what I see everyone doing.
Regards,
Santosh
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
` (26 preceding siblings ...)
2013-08-07 13:27 ` [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Santosh Shilimkar
@ 2013-08-28 17:02 ` Olof Johansson
27 siblings, 0 replies; 31+ messages in thread
From: Olof Johansson @ 2013-08-28 17:02 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Aug 07, 2013 at 01:38:19PM +0900, Simon Horman wrote:
> Hi Olof, Hi Arnd,
>
> please consider this third round of Renesas ARM based SoC cleanups for
> v3.12.
>
> This pull-request is based on a merge of renesas-cleanup2-for-v3.12 and
> renesas-dt2-for-v3.12 which I have previously sent pull-requests for.
>
> This pull-request has some minor conflicts:
>
> * There are some conflicts with renesas-multiplatform-for-v3.12,
> which I have previously sent a pull request for,
> in arch/arm/mach-shmobile/Makefile.
>
> I have provided an example of how to merge these as part of
> the renesas-devel-20180807 tag in the renesas tree.
>
>
> The following changes since commit 4e0f3fcfe2f3716e3fa9c442cee93211bf2ac793:
>
> Merge branch 'dt2' into cleanup3-base (2013-08-06 18:06:53 +0900)
>
> are available in the git repository at:
>
>
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-cleanup3-for-v3.12
Pulled.
-Olof
^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~2013-08-28 17:02 UTC | newest]
Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07 4:38 [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Simon Horman
2013-08-07 4:38 ` [GIT PULL 10/26] ARM: shmobile: Use default ->init_time() on Bockw Simon Horman
2013-08-07 4:38 ` [GIT PULL 01/26] ARM: shmobile: r8a7778: cleanup registration of mmcif Simon Horman
2013-08-07 4:38 ` [GIT PULL 11/26] ARM: shmobile: Use default ->init_time() on Bockw DT ref Simon Horman
2013-08-07 4:38 ` [GIT PULL 12/26] ARM: shmobile: Use default ->init_time() on Armadillo " Simon Horman
2013-08-07 4:38 ` [GIT PULL 02/26] ARM: shmobile: r8a7778: cleanup registration of usb phy Simon Horman
2013-08-07 4:38 ` [GIT PULL 13/26] ARM: shmobile: Use default ->init_time() on APE6EVM Simon Horman
2013-08-07 4:38 ` [GIT PULL 03/26] ARM: shmobile: r8a7778: cleanup registration of sdhi Simon Horman
2013-08-07 4:38 ` [GIT PULL 14/26] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref Simon Horman
2013-08-07 4:38 ` [GIT PULL 04/26] ARM: shmobile: r8a7778: cleanup registration of i2c Simon Horman
2013-08-07 4:38 ` [GIT PULL 15/26] ARM: shmobile: Use default ->init_time() on Marzen DT ref Simon Horman
2013-08-07 4:38 ` [GIT PULL 05/26] ARM: shmobile: r8a7778: cleanup registration of hspi Simon Horman
2013-08-07 4:38 ` [GIT PULL 06/26] ARM: shmobile: Use default ->init_time() on r8a73a4 Simon Horman
2013-08-07 4:38 ` [GIT PULL 16/26] ARM: shmobile: Use default ->init_time() on KZM9G DT ref Simon Horman
2013-08-07 4:38 ` [GIT PULL 17/26] ARM: shmobile: Use clocksource_of_init() on r8a7790 Simon Horman
2013-08-07 4:38 ` [GIT PULL 07/26] ARM: shmobile: Use default ->init_time() on r8a7740 Simon Horman
2013-08-07 4:38 ` [GIT PULL 08/26] ARM: shmobile: Use default ->init_time() on r8a7778 Simon Horman
2013-08-07 4:38 ` [GIT PULL 18/26] ARM: shmobile: Remove unused shmobile_init_time() Simon Horman
2013-08-07 4:38 ` [GIT PULL 19/26] ARM: shmobile: r8a7779: add missing __initdata Simon Horman
2013-08-07 4:38 ` [GIT PULL 09/26] ARM: shmobile: Use default ->init_time() on r8a7779 Simon Horman
2013-08-07 4:38 ` [GIT PULL 20/26] ARM: shmobile: r8a7790: add missing __initdata Simon Horman
2013-08-07 4:38 ` [GIT PULL 21/26] ARM: shmobile: bockw: " Simon Horman
2013-08-07 4:38 ` [GIT PULL 22/26] ARM: shmobile: r8a7740: move r8a7740_init_irq_of() to setup Simon Horman
2013-08-07 4:38 ` [GIT PULL 23/26] ARM: shmobile: r8a7779: move r8a7779_init_irq_xxx() " Simon Horman
2013-08-07 4:38 ` [GIT PULL 24/26] ARM: shmobile: armadillo800eva: remove nfsroot settings from bootargs Simon Horman
2013-08-07 4:38 ` [GIT PULL 25/26] ARM: shmobile: kzm9d: " Simon Horman
2013-08-07 4:38 ` [GIT PULL 26/26] ARM: shmobile: sh73a0: Remove global GPIO_NR definition Simon Horman
2013-08-07 13:27 ` [GIT PULL 00/26] Third round of Renesas ARM based SoC cleanups for v3.12 Santosh Shilimkar
2013-08-07 22:09 ` Simon Horman
2013-08-07 22:12 ` Santosh Shilimkar
2013-08-28 17:02 ` Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).