lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090723101113.ed6fc12c.sfr@canb.auug.org.au>
Date:	Thu, 23 Jul 2009 10:11:13 +1000
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Mauro Carvalho Chehab <mchehab@...radead.org>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Muralidharan Karicheri <m-karicheri2@...com>,
	Chaithrika U S <chaithrika@...com>,
	Naresh Medisetty <naresh@...com>,
	Kevin Hilman <khilman@...prootsystems.com>
Subject: linux-next: manual merge of the v4l-dvb tree with the davinci tree

Hi Mauro,

Today's linux-next merge of the v4l-dvb tree got a conflict in
arch/arm/mach-davinci/dm355.c between commit
e94c101ce3ef11bc00f8ea5db4b65c4b01874cf8 ("davinci: ASoC: Add the
platform devices for ASP") from the davinci tree and commit
32a01291c576c302d82a985d91db720dcf8c891b ("V4L/DVB: DM355 platform
changes for vpfe capture driver") from the v4l-dvb tree.

I assume that these are orthogonal changes (though they may not be).  I
fixed it up (see below) and can carry the fixes as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

diff --cc arch/arm/mach-davinci/dm355.c
index 3abeb3e,2696df1..0000000
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@@ -628,31 -612,67 +636,92 @@@ static struct platform_device dm355_edm
  	.resource		= edma_resources,
  };
  
 +static struct resource dm355_asp1_resources[] = {
 +	{
 +		.start	= DAVINCI_ASP1_BASE,
 +		.end	= DAVINCI_ASP1_BASE + SZ_8K - 1,
 +		.flags	= IORESOURCE_MEM,
 +	},
 +	{
 +		.start	= DAVINCI_DMA_ASP1_TX,
 +		.end	= DAVINCI_DMA_ASP1_TX,
 +		.flags	= IORESOURCE_DMA,
 +	},
 +	{
 +		.start	= DAVINCI_DMA_ASP1_RX,
 +		.end	= DAVINCI_DMA_ASP1_RX,
 +		.flags	= IORESOURCE_DMA,
 +	},
 +};
 +
 +static struct platform_device dm355_asp1_device = {
 +	.name		= "davinci-asp",
 +	.id		= 1,
 +	.num_resources	= ARRAY_SIZE(dm355_asp1_resources),
 +	.resource	= dm355_asp1_resources,
 +};
 +
+ static struct resource dm355_vpss_resources[] = {
+ 	{
+ 		/* VPSS BL Base address */
+ 		.name		= "vpss",
+ 		.start          = 0x01c70800,
+ 		.end            = 0x01c70800 + 0xff,
+ 		.flags          = IORESOURCE_MEM,
+ 	},
+ 	{
+ 		/* VPSS CLK Base address */
+ 		.name		= "vpss",
+ 		.start          = 0x01c70000,
+ 		.end            = 0x01c70000 + 0xf,
+ 		.flags          = IORESOURCE_MEM,
+ 	},
+ };
+ 
+ static struct platform_device dm355_vpss_device = {
+ 	.name			= "vpss",
+ 	.id			= -1,
+ 	.dev.platform_data	= "dm355_vpss",
+ 	.num_resources		= ARRAY_SIZE(dm355_vpss_resources),
+ 	.resource		= dm355_vpss_resources,
+ };
+ 
+ static struct resource vpfe_resources[] = {
+ 	{
+ 		.start          = IRQ_VDINT0,
+ 		.end            = IRQ_VDINT0,
+ 		.flags          = IORESOURCE_IRQ,
+ 	},
+ 	{
+ 		.start          = IRQ_VDINT1,
+ 		.end            = IRQ_VDINT1,
+ 		.flags          = IORESOURCE_IRQ,
+ 	},
+ 	/* CCDC Base address */
+ 	{
+ 		.flags          = IORESOURCE_MEM,
+ 		.start          = 0x01c70600,
+ 		.end            = 0x01c70600 + 0x1ff,
+ 	},
+ };
+ 
+ static u64 vpfe_capture_dma_mask = DMA_BIT_MASK(32);
+ static struct platform_device vpfe_capture_dev = {
+ 	.name		= CAPTURE_DRV_NAME,
+ 	.id		= -1,
+ 	.num_resources	= ARRAY_SIZE(vpfe_resources),
+ 	.resource	= vpfe_resources,
+ 	.dev = {
+ 		.dma_mask		= &vpfe_capture_dma_mask,
+ 		.coherent_dma_mask	= DMA_BIT_MASK(32),
+ 	},
+ };
+ 
+ void dm355_set_vpfe_config(struct vpfe_config *cfg)
+ {
+ 	vpfe_capture_dev.dev.platform_data = cfg;
+ }
+ 
  /*----------------------------------------------------------------------*/
  
  static struct map_desc dm355_io_desc[] = {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ