public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Mauro Carvalho Chehab <mchehab@infradead•org>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	Muralidharan Karicheri <m-karicheri2@ti•com>,
	Chaithrika U S <chaithrika@ti•com>,
	Naresh Medisetty <naresh@ti•com>,
	Kevin Hilman <khilman@deeprootsystems•com>
Subject: linux-next: manual merge of the v4l-dvb tree with the davinci tree
Date: Thu, 23 Jul 2009 10:15:08 +1000	[thread overview]
Message-ID: <20090723101508.39f36ddd.sfr@canb.auug.org.au> (raw)

Hi Mauro,

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

Again, I assume these are orthogonal changes.  I fixed it up (see below)
and can carry the fixes as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au

diff --cc arch/arm/mach-davinci/dm644x.c
index e554aa6,cc8fc78..0000000
--- a/arch/arm/mach-davinci/dm644x.c
+++ b/arch/arm/mach-davinci/dm644x.c
@@@ -554,32 -530,59 +554,85 @@@ static struct platform_device dm644x_ed
  	.resource		= edma_resources,
  };
  
 +/* DM6446 EVM uses ASP0; line-out is a pair of RCA jacks */
 +static struct resource dm644x_asp_resources[] = {
 +	{
 +		.start	= DAVINCI_ASP0_BASE,
 +		.end	= DAVINCI_ASP0_BASE + SZ_8K - 1,
 +		.flags	= IORESOURCE_MEM,
 +	},
 +	{
 +		.start	= DAVINCI_DMA_ASP0_TX,
 +		.end	= DAVINCI_DMA_ASP0_TX,
 +		.flags	= IORESOURCE_DMA,
 +	},
 +	{
 +		.start	= DAVINCI_DMA_ASP0_RX,
 +		.end	= DAVINCI_DMA_ASP0_RX,
 +		.flags	= IORESOURCE_DMA,
 +	},
 +};
 +
 +static struct platform_device dm644x_asp_device = {
 +	.name		= "davinci-asp",
 +	.id		= -1,
 +	.num_resources	= ARRAY_SIZE(dm644x_asp_resources),
 +	.resource	= dm644x_asp_resources,
 +};
 +
+ static struct resource dm644x_vpss_resources[] = {
+ 	{
+ 		/* VPSS Base address */
+ 		.name		= "vpss",
+ 		.start          = 0x01c73400,
+ 		.end            = 0x01c73400 + 0xff,
+ 		.flags          = IORESOURCE_MEM,
+ 	},
+ };
+ 
+ static struct platform_device dm644x_vpss_device = {
+ 	.name			= "vpss",
+ 	.id			= -1,
+ 	.dev.platform_data	= "dm644x_vpss",
+ 	.num_resources		= ARRAY_SIZE(dm644x_vpss_resources),
+ 	.resource		= dm644x_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,
+ 	},
+ 	{
+ 		.start          = 0x01c70400,
+ 		.end            = 0x01c70400 + 0xff,
+ 		.flags          = IORESOURCE_MEM,
+ 	},
+ };
+ 
+ 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 dm644x_set_vpfe_config(struct vpfe_config *cfg)
+ {
+ 	vpfe_capture_dev.dev.platform_data = cfg;
+ }
+ 
  /*----------------------------------------------------------------------*/
  
  static struct map_desc dm644x_io_desc[] = {

             reply	other threads:[~2009-07-23  1:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23  0:15 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-07-23  0:22 linux-next: manual merge of the v4l-dvb tree with the davinci tree Stephen Rothwell
2009-07-23  0:11 Stephen Rothwell
2009-07-23 22:11 ` Kevin Hilman
2009-07-24  0:56   ` Stephen Rothwell
2009-07-23  0:11 Stephen Rothwell
2009-07-23 22:11 ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090723101508.39f36ddd.sfr@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=chaithrika@ti$(echo .)com \
    --cc=khilman@deeprootsystems$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=m-karicheri2@ti$(echo .)com \
    --cc=mchehab@infradead$(echo .)org \
    --cc=naresh@ti$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox