linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	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>
Subject: Re: linux-next: manual merge of the v4l-dvb tree with the davinci tree
Date: Thu, 23 Jul 2009 15:11:51 -0700	[thread overview]
Message-ID: <877hxzhwwo.fsf@deeprootsystems.com> (raw)
In-Reply-To: <20090723101113.ed6fc12c.sfr@canb.auug.org.au> (Stephen Rothwell's message of "Thu\, 23 Jul 2009 10\:11\:13 +1000")

Stephen Rothwell <sfr@canb.auug.org.au> writes:

> 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.

I can confirm these are overlapping changes.

Kevin
(davinci platform maintainer)

> Cheers,
> Stephen Rothwell                    sfr@canb.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[] = {

  reply	other threads:[~2009-07-23 22:11 UTC|newest]

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

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=877hxzhwwo.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=chaithrika@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=m-karicheri2@ti.com \
    --cc=mchehab@infradead.org \
    --cc=naresh@ti.com \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).