All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the arm-soc tree with the iommu tree
@ 2013-02-07  4:44 ` Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2013-02-07  4:44 UTC (permalink / raw)
  To: Olof Johansson, Arnd Bergmann, linux-arm-kernel
  Cc: linux-next, linux-kernel, Hideki EIRAKU, Joerg Roedel,
	Sachin Kamat, Kuninori Morimoto

[-- Attachment #1: Type: text/plain, Size: 4327 bytes --]

Hi all,

Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/mach-shmobile/setup-r8a7740.c between commit f671e0224a7f ("ARM:
mach-shmobile: r8a7740: Add IPMMU device") from the iommu tree and
commits f977ec94f7f2 ("ARM: shmobile: Remove duplicate inclusion of
dma-mapping.h in setup-r8a7740.c") and e67d7afc5674 ("ARM: shmobile:
r8a7740: add TMU timer support") from the arm-soc tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc arch/arm/mach-shmobile/setup-r8a7740.c
index b85bea5,30ac79c..0000000
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@@ -27,8 -27,6 +27,7 @@@
  #include <linux/serial_sci.h>
  #include <linux/sh_dma.h>
  #include <linux/sh_timer.h>
- #include <linux/dma-mapping.h>
 +#include <linux/platform_data/sh_ipmmu.h>
  #include <mach/dma-register.h>
  #include <mach/r8a7740.h>
  #include <mach/pm-rmobile.h>
@@@ -263,37 -287,97 +288,128 @@@ static struct platform_device cmt10_dev
  	.num_resources	= ARRAY_SIZE(cmt10_resources),
  };
  
 +/* IPMMUI (an IPMMU module for ICB/LMB) */
 +static struct resource ipmmu_resources[] = {
 +	[0] = {
 +		.name	= "IPMMUI",
 +		.start	= 0xfe951000,
 +		.end	= 0xfe9510ff,
 +		.flags	= IORESOURCE_MEM,
 +	},
 +};
 +
 +static const char * const ipmmu_dev_names[] = {
 +	"sh_mobile_lcdc_fb.0",
 +	"sh_mobile_lcdc_fb.1",
 +	"sh_mobile_ceu.0",
 +};
 +
 +static struct shmobile_ipmmu_platform_data ipmmu_platform_data = {
 +	.dev_names = ipmmu_dev_names,
 +	.num_dev_names = ARRAY_SIZE(ipmmu_dev_names),
 +};
 +
 +static struct platform_device ipmmu_device = {
 +	.name           = "ipmmu",
 +	.id             = -1,
 +	.dev = {
 +		.platform_data = &ipmmu_platform_data,
 +	},
 +	.resource       = ipmmu_resources,
 +	.num_resources  = ARRAY_SIZE(ipmmu_resources),
 +};
 +
+ /* TMU */
+ static struct sh_timer_config tmu00_platform_data = {
+ 	.name = "TMU00",
+ 	.channel_offset = 0x4,
+ 	.timer_bit = 0,
+ 	.clockevent_rating = 200,
+ };
+ 
+ static struct resource tmu00_resources[] = {
+ 	[0] = {
+ 		.name	= "TMU00",
+ 		.start	= 0xfff80008,
+ 		.end	= 0xfff80014 - 1,
+ 		.flags	= IORESOURCE_MEM,
+ 	},
+ 	[1] = {
+ 		.start	= intcs_evt2irq(0xe80),
+ 		.flags	= IORESOURCE_IRQ,
+ 	},
+ };
+ 
+ static struct platform_device tmu00_device = {
+ 	.name		= "sh_tmu",
+ 	.id		= 0,
+ 	.dev = {
+ 		.platform_data	= &tmu00_platform_data,
+ 	},
+ 	.resource	= tmu00_resources,
+ 	.num_resources	= ARRAY_SIZE(tmu00_resources),
+ };
+ 
+ static struct sh_timer_config tmu01_platform_data = {
+ 	.name = "TMU01",
+ 	.channel_offset = 0x10,
+ 	.timer_bit = 1,
+ 	.clocksource_rating = 200,
+ };
+ 
+ static struct resource tmu01_resources[] = {
+ 	[0] = {
+ 		.name	= "TMU01",
+ 		.start	= 0xfff80014,
+ 		.end	= 0xfff80020 - 1,
+ 		.flags	= IORESOURCE_MEM,
+ 	},
+ 	[1] = {
+ 		.start	= intcs_evt2irq(0xea0),
+ 		.flags	= IORESOURCE_IRQ,
+ 	},
+ };
+ 
+ static struct platform_device tmu01_device = {
+ 	.name		= "sh_tmu",
+ 	.id		= 1,
+ 	.dev = {
+ 		.platform_data	= &tmu01_platform_data,
+ 	},
+ 	.resource	= tmu01_resources,
+ 	.num_resources	= ARRAY_SIZE(tmu01_resources),
+ };
+ 
+ static struct sh_timer_config tmu02_platform_data = {
+ 	.name = "TMU02",
+ 	.channel_offset = 0x1C,
+ 	.timer_bit = 2,
+ 	.clocksource_rating = 200,
+ };
+ 
+ static struct resource tmu02_resources[] = {
+ 	[0] = {
+ 		.name	= "TMU02",
+ 		.start	= 0xfff80020,
+ 		.end	= 0xfff8002C - 1,
+ 		.flags	= IORESOURCE_MEM,
+ 	},
+ 	[1] = {
+ 		.start	= intcs_evt2irq(0xec0),
+ 		.flags	= IORESOURCE_IRQ,
+ 	},
+ };
+ 
+ static struct platform_device tmu02_device = {
+ 	.name		= "sh_tmu",
+ 	.id		= 2,
+ 	.dev = {
+ 		.platform_data	= &tmu02_platform_data,
+ 	},
+ 	.resource	= tmu02_resources,
+ 	.num_resources	= ARRAY_SIZE(tmu02_resources),
+ };
+ 
  static struct platform_device *r8a7740_early_devices[] __initdata = {
  	&scif0_device,
  	&scif1_device,
@@@ -305,7 -389,9 +421,10 @@@
  	&scif7_device,
  	&scifb_device,
  	&cmt10_device,
 +	&ipmmu_device,
+ 	&tmu00_device,
+ 	&tmu01_device,
+ 	&tmu02_device,
  };
  
  /* DMA */

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: manual merge of the arm-soc tree with the iommu tree
@ 2013-02-07  4:48 ` Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2013-02-07  4:48 UTC (permalink / raw)
  To: Olof Johansson, Arnd Bergmann, linux-arm-kernel
  Cc: linux-next, linux-kernel, Hideki EIRAKU, Joerg Roedel, Simon Horman

[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]

Hi all,

Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/mach-shmobile/setup-sh73a0.c between commit 9a27dee73f55 ("ARM:
mach-shmobile: sh73a0: Add IPMMU device") from the iommu tree and commit
486095331af0 ("ARM: mach-shmobile: sh73a0: Minimal setup using DT") from
the arm-soc tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc arch/arm/mach-shmobile/setup-sh73a0.c
index 36c2b2e,2ecd668..0000000
--- a/arch/arm/mach-shmobile/setup-sh73a0.c
+++ b/arch/arm/mach-shmobile/setup-sh73a0.c
@@@ -755,36 -780,7 +781,36 @@@ static struct platform_device pmu_devic
  	.resource	= pmu_resources,
  };
  
 +/* an IPMMU module for ICB */
 +static struct resource ipmmu_resources[] = {
 +	[0] = {
 +		.name	= "IPMMU",
 +		.start	= 0xfe951000,
 +		.end	= 0xfe9510ff,
 +		.flags	= IORESOURCE_MEM,
 +	},
 +};
 +
 +static const char * const ipmmu_dev_names[] = {
 +	"sh_mobile_lcdc_fb.0",
 +};
 +
 +static struct shmobile_ipmmu_platform_data ipmmu_platform_data = {
 +	.dev_names = ipmmu_dev_names,
 +	.num_dev_names = ARRAY_SIZE(ipmmu_dev_names),
 +};
 +
 +static struct platform_device ipmmu_device = {
 +	.name           = "ipmmu",
 +	.id             = -1,
 +	.dev = {
 +		.platform_data = &ipmmu_platform_data,
 +	},
 +	.resource       = ipmmu_resources,
 +	.num_resources  = ARRAY_SIZE(ipmmu_resources),
 +};
 +
- static struct platform_device *sh73a0_early_devices[] __initdata = {
+ static struct platform_device *sh73a0_early_devices_dt[] __initdata = {
  	&scif0_device,
  	&scif1_device,
  	&scif2_device,
@@@ -795,9 -791,11 +821,12 @@@
  	&scif7_device,
  	&scif8_device,
  	&cmt10_device,
+ };
+ 
+ static struct platform_device *sh73a0_early_devices[] __initdata = {
  	&tmu00_device,
  	&tmu01_device,
 +	&ipmmu_device,
  };
  
  static struct platform_device *sh73a0_late_devices[] __initdata = {

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: manual merge of the arm-soc tree with the iommu tree
@ 2012-12-04  4:42 ` Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2012-12-04  4:42 UTC (permalink / raw)
  To: Olof Johansson, Arnd Bergmann, linux-arm-kernel
  Cc: linux-next, linux-kernel, Omar Ramirez Luna, Joerg Roedel,
	Paul Walmsley, Mike Turquette

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

Hi all,

Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/mach-omap2/clock44xx_data.c between commit 298ea44f211d ("ARM:
OMAP4: hwmod data: ipu and dsp to use parent clocks instead of leaf
clocks") from the iommu tree and commit 13a5b6228679 ("ARM: OMAP44xx:
clock: drop obsolete clock data") from the arm-soc tree.

I just deleted the file as the latter did and can carry the fix as
necessary (no action is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2013-02-07  4:48 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07  4:44 linux-next: manual merge of the arm-soc tree with the iommu tree Stephen Rothwell
2013-02-07  4:44 ` Stephen Rothwell
2013-02-07  4:44 ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2013-02-07  4:48 Stephen Rothwell
2013-02-07  4:48 ` Stephen Rothwell
2013-02-07  4:48 ` Stephen Rothwell
2012-12-04  4:42 Stephen Rothwell
2012-12-04  4:42 ` Stephen Rothwell
2012-12-04  4:42 ` Stephen Rothwell
2012-12-04 11:06 ` Joerg Roedel
2012-12-04 11:06   ` Joerg Roedel
2012-12-04 11:10   ` Ohad Ben-Cohen
2012-12-04 11:10     ` Ohad Ben-Cohen
2012-12-06 22:54     ` Omar Ramirez Luna
2012-12-06 22:54       ` Omar Ramirez Luna
2012-12-06 22:54       ` Omar Ramirez Luna
2012-12-07  0:59       ` Paul Walmsley
2012-12-07  0:59         ` Paul Walmsley
2012-12-07  1:39         ` Omar Ramirez Luna
2012-12-07  1:39           ` Omar Ramirez Luna
2012-12-07  1:40           ` Paul Walmsley
2012-12-07  1:40             ` Paul Walmsley

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.